Re: [Audacity-nyquist] modified osc-tri
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: David R. S. <dav...@sh...> - 2009-07-31 18:48:42
|
Hi Paul, Check the Design Waveform plug in a zip file on my site http://www.shellworld.net/~davidsky/design.zip It creates and generates a waveform using straight lines, and based on the general way to design your own waveform in Nyquist using straight lines and pwl. If you want to create a waveform that changes shape over time without using filters or an eq function for attenuating/boosting harmonics, I dunno at this time - probably simple to work out. David -- David R. Sky http://www.shellworld.net/~davidsky/ On Fri, 31 Jul 2009, paul beach wrote: > Can the slope of a triangle wave be modified, so that is, part triangle > part sawtooth. A string plucked in the middle is triangular, but more > sawtoothed toward the bridge. > > MP3 for triangle guitar sound > > http://www.climatehoax.ca/audio/bass_55.mp3 > > Nyquist guitar patch where damping is proprtional to variable frequency > and constant air resistance. > > ; guitar > (setf f 55.0 ) > (lp > > (sim > (osc-tri (* f 1) ) > (osc-tri ( * f 2)) > (scale .25 (osc-tri (* f 3))) > ;(scale 1 (osc-tri (* f 4))) > > ) > (mult (pwl ( / 1 f ) 1 0.25 (/ 2 (sqrt f ) ) 1 ) (/ f 2) ) > ) > |