Re: vibrato depth increasing in PCM synthesis through python

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > http://pastebin.com/pJKA10Ub
> > You can compile: gcc ex.c -lm then run ./a.out | aplay -r 44100 -f FLOAT_LE

> What exactly does this program output?
> I can save the output of this
> program to a file, but then, what
> would I do with this file?

just 4s of audio, as float 32bits, endianness of your computer
(probably little endian; almost everyone is little endian today).
You can "aplay" the file, or convert to whatever audio format
that has a header (and if you want compression, lossless or not)
using whatever tool you like (sox, ffmpeg, ...)
Use the python code to directly have a wav file.
I think you don't really need the file though.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux