Re: How do I describe this waveform?
Posted: Thu Jul 29, 2010 6:14 pm
Sawtooth: http://en.wikipedia.org/wiki/Sawtooth_wave
I think "half wave" is a pretty good description.
or perhaps a "negative going sawtooth".
Just as a matter of interest, you can generate a pretty good approximation to that "half wave" with the following Nyquist code:
It's so much easier to give a relevant response when the question has context.dondiego929 wrote:I'm working on an "unofficial TS404 BETA user guide", to try to get more people making their own samples. I want to include some verbiage as well as pictures to try to make the whole process of synthesization less complex. My thought is, sure, just moving stuff around is okay and you CAN eventually get some sounds, but maybe knowing what is happening would be a better start. Anyways, I guess I'll go with "half wave".
I think "half wave" is a pretty good description.
or perhaps a "negative going sawtooth".
Just as a matter of interest, you can generate a pretty good approximation to that "half wave" with the following Nyquist code:
Code: Select all
;type generate
(setq !TEMPO 180) ; beats per min
(setq piano-key A1) ; note in standard MIDI notation
(setq i (/ 60.0 !TEMPO)) ; note length
(defun env (s-in) ; apply envelope
(setq t (get-duration (* i 0.7)))
(mult s-in (pwl 0 1 t 0.5 t 0 1)))
(defun note (pitch dur) ; create waveform
(env (sum -0.25 (mult 0.25 (osc pitch dur *saw-table*)))))
(note piano-key i) ; generate the note