Thank you for a very helpful article. I have a question. Could you tell me how I can display my data by passing pure data in a buffer of AudioWords instead of the .wav file path?
I have always 8 bits per sample.
Thank you in advance.
Sendind WAV files to parallel port to control lights in sync with music
Posted by andersonfobr
on 03/30/2009 07:05pm
Hi I was just wondering if I could use this with a specially formatted wav file: L channel with music and R channel with commands for my parallel-port controlled light effects machine.
I use this light effects machine in parties (I have sixty-four 500W light cannons).
I would edit wav files with a special editor, then I would send L channel to audio output and R channel to parallel port, with the light effetct machine connected to it.
This way, I would be able to control lights with total synchronism with music. And I would add a GUI to the editor to facilitate creation of the light effects.
WOuld this be possible with this class?
How can i increase the speed of a WAVE file when it is getting played
Posted by srikanth_nadipelli
on 11/18/2006 07:33am
Sir, it has helped me a lot to get infoormation about wave files as how they are stored and how they can be read.But i am in urgent need of the answer for the above mentioned question. Kindly help me solve this problem.
Hi ! First, congratulation for your class. Nice ;) I'm doing one (I've just discovered your article) which is about similar to yours, and I have a problem with some WAVs : in some case, in the "fmt " chunk, the size is equal to 18, because two "additionnal bytes" are added at the end of the chunk. This is, in fact, the WAVE specification for non-PCM audio only, but some programs (like Goldwave for example) add those bytes :/ So, the "data" chunk is shifted by two bytes. Therefore, you should add to your class the case where the WAV files have a bad header.
See you ++