i want to convert bits of data to sound, for example 1010 to beep-nobeep-beep-nobeep.how can i compress more bits in it
A:
You can encode a lot of information into sound by using a Fourier transform.
Pascal Cuoq
2009-12-08 12:53:07
I think that using Fourier transforms you need the whole range of frequencies, and not just beep (single tone...)
Dani
2009-12-08 12:54:43
@Dani You are right, but if the OP is limited to "beep" and "no beep" of equal lengths, he already has an optimal encoding. My answer is slightly tongue-in-cheek, but since the question is a little fuzzy, why not assume the best conditions?
Pascal Cuoq
2009-12-08 12:59:11
A:
you can use pattern, assume longbeep means the beginning of a pattern ID and than beep the pattern id, end it with another longbeep. (If I understood your question...)
or - you can compress the data using a compression library and beep the results... and then uncompress...
Dani
2009-12-08 12:53:42