My question concerns the wavetables other than sine-table, saw-table and tri-table*.In the case of a creation of a wavetable by the user, the principle is it the following one:
- Take in a sample (a sound of trumpet for exemple) a quite small fragment (a period of the sound wave).
(setf a-snd (s-read "demo-snd.aiff" :srate 22050.0)) (setf "trumpet-table" (list (extract 0.110204 0.13932 (cue a-snd)) 24.84822 T))
In this example the file “demo-snd.aiff” is a recording of a trumpet.
- Apply it to the second sample (a sound of clarinet for exemple):
(abs-env ("clsound" dur *trumpet-table* bias))
Is it exact?
Thank you for your help.