Vibrato

Share your Audacity/Nyquist plug-ins here, or test drive the latest plug-ins submitted by Audacity users.

After testing a plug-in from this forum, please post feedback for the plug-in author.

Vibrato

Permanent link to this post Posted by steve » Fri Apr 15, 2011 11:15 am

Applies a variable vibrato to the selected audio.

Limitations:
Maximum length is 99,999 samples (per audio channel).
This limitation is hard coded into Audacity as the maximum size for *table* is 100000 samples.

Thanks to Edgar-rtf for the suggestion of using (fmosc), which in spite of the length limitation provides an elegant solution.
To overcome the length limitation, the function (snd-compose) could be used - this function uses a sound as a look-up table rather than using *table*.

Updated version: vibrato.ny
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Senior Forum Staff
 
Posts: 33000
Joined: Sat Dec 01, 2007 11:43 am

Re: Vibrato

Permanent link to this post Posted by Irish » Tue Apr 19, 2011 4:01 pm

Interesting effect, Steve.

I just took a quick look at it, and tried to get a slow vibrato (approx 1 to 2 Hz), but entering 1.0 for Initial and Final speeds gave a result that sounded like about 10Hz, and entering anything less than 1.0 didn't seem to make any difference. :?

Sorry I can't be more constructive, but I haven't yet got my head around pwlv and fmosc. Maybe later ...

POL
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * Tips * * * * Tutorials * * * * 1.3 Quick Start Guide * * * * Audacity 1.3 Manual * * * * Audacity wiki * * * *
Irish
Forum Crew
 
Posts: 548
Joined: Sat Sep 05, 2009 9:25 pm
Location: Dublin, Ireland

Re: Vibrato

Permanent link to this post Posted by steve » Tue Apr 19, 2011 4:54 pm

Irish wrote:I just took a quick look at it, and tried to get a slow vibrato (approx 1 to 2 Hz), but entering 1.0 for Initial and Final speeds gave a result that sounded like about 10Hz, and entering anything less than 1.0 didn't seem to make any difference

Thanks for checking it out, and you're correct, the vibrato speed is too fast.
This update should fix it.

vibrato.ny
(1.7 KiB) Downloaded 357 times


Re. (pwlv), have a play with this code in the Nyquist Prompt:
Code: Select all
(setq L1 0.5)
(setq L2 1.0)
(setq L3 0.0)
(setq L4  0.5)

(setq T2 0.33)
(setq T3 0.67)
(setq T4 1.0)

(control-srate-abs *sound-srate*
   (pwlv L1 T2 L2 T3 L3 T4 L4)
)

The function (control-srate-abs) srate beh) forces beh to be calculated at a sample rate of srate.
In this case, the sample rate is set to *sound-srate*, which is the sample rate of the selected audio.
The reason for having that function here is that envelopes are normally calculated at the control rate, which is normally much lower than the sample rate of the track and so the output of pwlv would be shrunk down to a tiny length when it is returned to the audio track. By forcing pwlv to be calculated at the sound sample rate, the output from pwlv will be such that a time value of 1.0 is equal to the length of the selection. (the time values are relative time values).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Senior Forum Staff
 
Posts: 33000
Joined: Sat Dec 01, 2007 11:43 am


Return to New Plug-Ins



Who is online

Users browsing this forum: No registered users and 3 guests