![]() Ofd = psf_sndCreate(argv,&props,0,0,PSF_CREATE_RDWR) ĪngleIncrement = twopi * frequency/sampleRate I've attempted to try some of the c programming out but I'm not naturally a C programming so this is what I've done so far: #include I want my program to generate a WAV file up to the last breakpoint where all the sine waves will be generated at the given frequencies, scaled to the % contribution as listed, and added together to make the final sound ![]() There can be an arbitary number of breakpoints 1 // sentinal value to indicate end of frequency list The input file will be something of this nature F0 P0 // a list of up to 100 floats indicating frequencies andį1 P1 // % contribution of this frequency to the sound I'm attempting to write a general additive synthesis c program that will generate a complex sinusoid created from a sequence of pure sine waves of arbitrary frequency following a single envelope.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |