Author |
Message |
settle
Joined: Sep 22, 2004 Posts: 35
G2 patch files: 2
|
Posted: Thu Oct 21, 2004 10:56 am Post subject:
audio in trigger? |
 |
|
is there a way to use audio-in to trigger an envelope opening?
tanx |
|
Back to top
|
|
 |
jksuperstar

Joined: Aug 20, 2004 Posts: 2503 Location: Denver
Audio files: 1
G2 patch files: 18
|
Posted: Thu Oct 21, 2004 2:04 pm Post subject:
|
 |
|
Not at home right now, but the simplest way is to send audioIn->env. detector ->comparator (2nd input is a constant threshold). output of the comparator would be your trigger.
You can also get fancy and add filters in front of the envelope detector, which would help you detect (for example) a bass drum hit but not snare hits, etc. |
|
Back to top
|
|
 |
ian-s

Joined: Apr 01, 2004 Posts: 2672 Location: Auckland, New Zealand
Audio files: 42
G2 patch files: 626
|
Posted: Thu Oct 21, 2004 2:31 pm Post subject:
|
 |
|
Probably not very efficient, but the pitch tracker module (note group) has a gate output. |
|
Back to top
|
|
 |
modular

Joined: Jul 26, 2004 Posts: 185 Location: Rome, Italy
Audio files: 5
G2 patch files: 72
|
Posted: Thu Oct 21, 2004 3:00 pm Post subject:
|
 |
|
g2ian wrote: | Probably not very efficient, but the pitch tracker module (note group) has a gate output. |
Hi Ian!
Probably yes indeed! Is the solution I was going to hint.
Take the Audio in and connect it to the input of the Pitch tracker module then the gate output to ADSR modulable inputs. That's it!
 |
|
Back to top
|
|
 |
jksuperstar

Joined: Aug 20, 2004 Posts: 2503 Location: Denver
Audio files: 1
G2 patch files: 18
|
Posted: Thu Oct 21, 2004 3:12 pm Post subject:
|
 |
|
Another reason I am still stuck in Nord Modular thought land and not yet efficient at this new G2. back to drawing boards... |
|
Back to top
|
|
 |
Roland Kuit
Joined: Sep 29, 2003 Posts: 1090 Location: The Netherlands/Sweden
Audio files: 8
G2 patch files: 127
|
Posted: Fri Oct 22, 2004 1:26 am Post subject:
audio in trigger |
 |
|
Something like this? After the Env Follower the Compaire to level reacts as a threshold. Note, audio in is set to Bus. If you want to use external audio, change it to 1&2 or 3&4. |
|
Back to top
|
|
 |
settle
Joined: Sep 22, 2004 Posts: 35
G2 patch files: 2
|
Posted: Fri Oct 22, 2004 5:29 am Post subject:
|
 |
|
thank u very much/
x |
|
Back to top
|
|
 |
Roland Kuit
Joined: Sep 29, 2003 Posts: 1090 Location: The Netherlands/Sweden
Audio files: 8
G2 patch files: 127
|
Posted: Fri Oct 22, 2004 5:38 am Post subject:
audio in trgger |
 |
|
You're welcome.You should have a look at the audio in patches at this forum. Other people and i did some stuff overthere. Is it for external audio(like recordz or instuments) or G2 other slot stuff? |
|
Back to top
|
|
 |
settle
Joined: Sep 22, 2004 Posts: 35
G2 patch files: 2
|
Posted: Fri Oct 22, 2004 10:29 am Post subject:
|
 |
|
id like to run a drummachine through it. |
|
Back to top
|
|
 |
Roland Kuit
Joined: Sep 29, 2003 Posts: 1090 Location: The Netherlands/Sweden
Audio files: 8
G2 patch files: 127
|
Posted: Fri Oct 22, 2004 11:00 am Post subject:
audio in trigger |
 |
|
aha, try sherman, techno merge etc. Put instead Bus in, the Audio 1&2 in. |
|
Back to top
|
|
 |
duracell

Joined: Sep 06, 2004 Posts: 28 Location: lyon, france
G2 patch files: 2
|
Posted: Fri Oct 22, 2004 11:19 am Post subject:
|
 |
|
to trigger stuff I wouldn't bother with the envelope follower, I don't find it very reliable, just plug your audio in into a compare to c module and plug that into a pulse. then increase the pulse length (mask time) so that your trigger is not double triggering, but no too much otherwise your trigger won't be reactive enough. I find that values between 15-50ms work on drums. It's also nice to be able to set the volume of your trigger source before it goes into the moduars audio ins, because sometimes you're gently practicing at 4am and othertimes rocking hard in the afternoon, and you want the trigger to be detected at different dynamics.
I read that for dynamics, the best way is to calculate how steep the first up waveform is, and use that value on velocity. who knows how to measure the steepness? is this where integration is used? anyone? |
|
Back to top
|
|
 |
jksuperstar

Joined: Aug 20, 2004 Posts: 2503 Location: Denver
Audio files: 1
G2 patch files: 18
|
|
Back to top
|
|
 |
blue hell
Site Admin

Joined: Apr 03, 2004 Posts: 24416 Location: The Netherlands, Enschede
Audio files: 297
G2 patch files: 320
|
Posted: Fri Oct 22, 2004 11:38 am Post subject:
|
 |
|
duracell wrote: | I read that for dynamics, the best way is to calculate how steep the first up waveform is, and use that value on velocity. who knows how to measure the steepness? is this where integration is used? anyone? |
Differentiation measures the steepness, as it takes the difference of a signal and that same signal a bit later.
This could maybe be combined with the pulse trick you described - sample the signal on the rising edge and in another S&H on the falling edge (using an invertor), subtract those and use that for velocity. Altough when the pulse duration really has to be 50 ms that probably would be too long and two pulse forming modules would be needed.
Jan. |
|
Back to top
|
|
 |
|