On 09/22/2011 07:05 PM, Artem Vakhitov wrote:
I'm not sure you can do that with any tool 'out of the box' especially
the "control their volume" part, as triggers usually have a 'binary'
(on/off threshold). Of course (but that is probably obvious) being human
voice monophonic you will have to do "a piece at a time"
I'll give it a try (although I never used the LADSPA plugin version): A
trigger is usually quite simple. It "monitors" an input signal, when the
signal's amplitude goes above the threshold (which you set) it will play
(trigger) the chosen sample. The hold parameter (usually measured in
milliseconds) is important because it sets how long the Trigger remains
inactive (holds) after it triggered this avoids re-triggering the sample
too quickly especially if the input signal remains above the threshold
for too long.
Here is an very simple example of what you're probably thinking of:
Hard panned left is the audio input (in this case it's not my voice but
me tapping on my crap laptop mic) hard right the triggered sample. You
can noticed some taps are "missed" this is because they were below
threshold (too quiet). The hold was at 80 ms (excuse the horrible
quality of the audio input quickly made on my laptop and it's night here..)
Well I made a very simple trigger for PD  a while ago (to be used
mainly with ardour - used for the above example).
Linux-audio-user mailing list