if you try *$cat yes > /dev/audio* you should hear what sounds like a sine wave, but probably isn't a true sine. The reason why this happens (and more tricks) are described here:
http://everything2.com/e2node/catting%2520weird%2520things%2520to%2520%252Fdev%252Faudio What I would like to do is send intended streams of sound data from a C script to /dev/audio and hear them. So I am looking for a solution where a simple wave can be generated. Anyone? You'd need to know how exactly /dev/audio interprets data as amplitude. That's the key. Anyways, if you can produce a sine, you can produce (theoretically) any sound in the universe using a bit of additive fourier theory. -- ------- -.- 1/f ))) --. ------- ... http://www.algomantra.com
-- ubuntu-in mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
