Jason Brower
2009-Jan-18 06:42 UTC
[Vorbis] How would you recommend I create a new layer of data...
Two parts are marked below... *If anyone remembers, I have been working on a new feature for vorbis. I am creating another piece of data showing non audio interpretation of music to help visual, beat and other aspects of audio that can't be interpreted by a computer but only entered with the human touch. Currently I have a stream of data, nanosecond measurements of key presses on a keyboard, but I want to encode it within the ogg file itself if that is possible. I want this to be something special for ogg to help support the open codec. If there is some technical document that can show me how I would add this data that would be very helpful. In the mean time, I am going to work on making the data more compressed and make it a new file format that is basically an ogg file and a text file compressed with gz. (I just don't know how to do it any other way.) If there is a better way than this, I want to open a discussion about it here. *On another note, I have a growing list of ways to use this data. I wanted to share this here to give you an idea of the potential. If you have ideas, please tell me as I want to do this as a final project for my schooling. I have to persuade them that this is a business idea, and not just a game. Use Cases: -DJ wants to run his strobe and other lights to the beat of all his music. He sets highs to one light, lows to another, and had encoded his own costume streams for other songs. -Music sellers want to promote there music and how it works with dances and clubs, so they encode their music with the technology built in. -Man running with Nike shoes that detects his running/walking pace that is reported to his ogg player and the ogg player chooses music or changes the pace of music to match his running. -Me at home wants to have a visual representation of my music as additional entertainment. -Broadcasters want to represent the person that is speaking, commercial breaks or signal a slide in a slide-show that goes with the show/podcast. -Car audio players want to play music speed/bpm depending on the speed of the car. This might be a stretch. :) Regards, Jason Brower
Steve Fosdick
2009-Jan-18 15:06 UTC
[Vorbis] How would you recommend I create a new layer of data...
On Sun, 2009-01-18 at 08:42 +0200, Jason Brower wrote:> Two parts are marked below... > *If anyone remembers, I have been working on a new feature for vorbis. > I am creating another piece of data showing non audio interpretation of > music to help visual, beat and other aspects of audio that can't be > interpreted by a computer but only entered with the human touch. > Currently I have a stream of data, nanosecond measurements of key > presses on a keyboard, but I want to encode it within the ogg file > itself if that is possible. I want this to be something special for ogg > to help support the open codec. > If there is some technical document that can show me how I would add > this data that would be very helpful.To summarise you have another stream of data that needs to be multiplexed with the vorbis coded audio. Vorbis's normal stream format, ogg, supports multiplexing and the documentation is available from: http://www.xiph.org/ogg/ On the other hand you may find issues with some audio players which fail to understand an ogg stream that has more than just vorbis in. Regards, Steve.
Ralph Giles
2009-Jan-22 00:57 UTC
[Vorbis] How would you recommend I create a new layer of data...
On Sun, Jan 18, 2009 at 7:06 AM, Steve Fosdick <lists at pelvoux.nildram.co.uk> wrote:> On the other hand you may find issues with some audio players which fail > to understand an ogg stream that has more than just vorbis in.Yes, some audio players will refuse such files. Video players should have no problem though. You can use the .oga extension to distinguish your files if you want. Let us know how it goes! -r