Search found 15 matches

by pedrodx
Mon Jan 12, 2009 11:03 pm
Forum: General Audio Programming
Topic: Help with iteration functions in Nyquist
Replies: 15
Views: 4489

Help with iteration functions in Nyquist

Hi all! Considering I want to do an effect plugin, that makes a function that applies the following to the sound (hypothetical): 1- if the absolute value of a particular sample x is equal or less 0.5, then it is divided by 2; 2- else, the sample value is keeped as it is... The questions: 1- I imagin...
by pedrodx
Wed Dec 10, 2008 10:14 pm
Forum: Audio Processing
Topic: Plugin I coded gaves me the error "Nyquist returned 44100"
Replies: 6
Views: 858

Re: Plugin I coded gaves me the error "Nyquist returned 4410

Thanks, stevethefiddle!
Your information was very useful...
If I code any plugin that make some effect interesting, I'd like the community to enjoy it as well... :)
by pedrodx
Wed Dec 10, 2008 3:02 am
Forum: Audio Processing
Topic: Plugin I coded gaves me the error "Nyquist returned 44100"
Replies: 6
Views: 858

Re: Plugin I coded gaves me the error "Nyquist returned 4410

Hi, stevethefiddler! I probably discovered what I'm doing wrong. When I'm adding a few harmonics to my-s, I should NOT like "incrementing" this sound, (e.g., (setf my-s (sim my-s (note (...))))). I should try to create a new sound, and set like this (setf new-s (sim my-s (note (...)))). Wherever, I ...
by pedrodx
Wed Dec 10, 2008 1:59 am
Forum: Audio Processing
Topic: Plugin I coded gaves me the error "Nyquist returned 44100"
Replies: 6
Views: 858

Re: Plugin I coded gaves me the error "Nyquist returned 4410

Thanks, stevethefiddle! (do ((n 1 (+ n 1)) (v (snd-fetch s) (setf v (snd-fetch s))) (my-s (snd-copy s) (sim (cue my-s) (note (/ n my-srate) v 0.1)))) ((not v) my-s) ) The idea (the one I want to) is to return a SOUND to Audacity. So, the loop initializes and sets 3 (three) variables, throughout the ...
by pedrodx
Tue Dec 09, 2008 3:30 am
Forum: Audio Processing
Topic: Plugin I coded gaves me the error "Nyquist returned 44100"
Replies: 6
Views: 858

Plugin I coded gaves me the error "Nyquist returned 44100"

Hi, people! I'm coding a plugin in Nyquist. The idea is very simple, but actually I'm newbie in the LISP language and Nyquist at all... The idea is to add some harmonics to the audio, on each time sample. Based on the current pitch of the sample. Have anyone ever coded it yet and released? I'm stuck...