Welcome to %s forums

BrainModular Users Forum

Login Register

Listen audio and trigger a message

I need help on a Patch
Post Reply
Ariajazz
Member
Posts: 353
Contact:

Unread post by Ariajazz » 03 Dec 2014, 06:09

Is there any module or patch that listens to audio (guitar strum) and triggers a message that clicks a PLAY button on piano roll?l. In the other hand is there any way to trigger consecutive different midi files cor consecutive guitar strums?

sephult
Member
Posts: 1144
Contact:

Unread post by sephult » 03 Dec 2014, 12:08

In the analysis folder there are some modules where in turn you can detect audio thresholds or peaks.
This could be used to trigger the inputs of your modules.

I would start by playing around with a few and understanding how they respond.

I built a Trigger/Arming module patch it wont be released for some time however....
Until then I could help if you have some questions and help you build up a patch that you need.

As far as consecutive midi files, in my works I utilize multiple presets within the piano roll and trigger these preset numbers.
You could also do a multi-piano roll and do a selector with your trigger to determine which piano roll to play next.
All sorts of methods.

-S
"Every act of creation is first an act of destruction." -Picasso

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 03 Dec 2014, 21:38

yup, i would to analysis, enveloppe folower > thrshold -> from 0 to1 trigger play > counter > preset number or file number.

Ariajazz
Member
Posts: 353
Contact:

Unread post by Ariajazz » 03 Dec 2014, 22:52

Thanks you guys for replying. 23fx23 could you be more self explanatory?, I really dont get the idea. Sephult, piano roll with a selector is what I have in mind, but now I wanna be more complex, I want to trigger the consecutive midi files every othe guitar strum,

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 04 Dec 2014, 04:17

yup sry

Image

the input goes to enveloppe follower (this is to prevent unwanted short peaks that would trigger to much events, kind of smooth )
you should probably set attack quite low to react fast, but adjust release by testing.
it will generate a ramp, the threshold is equivalent to 'if envelope is superior to this value, ie 0.8 it will trigg)
from 0 to 1 will only generate a small tic of one bloc and then revert to 0 immediately.
so this will trig the pianoroll play, and this is also linked to a counter, so that it will increment each time and control the file number to swich to, so you should set it's max value to the number of files you loaded to increment them each time and loop back on end.

Ariajazz
Member
Posts: 353
Contact:

Unread post by Ariajazz » 16 Dec 2014, 01:35

Thanks a lot 23fx23. I've been pretty busy lately touring. I'll check out the patch soon and let you know about results. Cheers

Post Reply

Who is online

Users browsing this forum: No registered users and 61 guests