Hi there,
Could anyone suggest/point me in the right direction on how to create a modular patch that:
1) takes Audio (mono or stereo) in
2) detects the fundamental frequency, velocity (based on amplitude), and gate
3) converts the frequency to a pitch
4) Outputs a MIDI note ON/OFF from the modular.
I really need help with (3) and (4). I'm using Adern's frequency detection for (2) and an envelope follower for (2), and I've been trying Wolf's Audio2Note for (4), but what's coming out is not right.
The Adern module outputs 'Frequency'
The Audio2Note Wolf module wants a 'Pitch', 'Velocity', and 'Gate'.
I almost got it working, but it seems gate needed to be inverted or something. I'm not sure how to scale frequency to pitch in the modular either. Right now, things are not predictable at all when outputting Midi. I do get very good results with the Adern audio2frequency module using oscillators, but I'm really stuck with outputting Midi!
Audio Pitch 2 Midi in Modular
- doktorfuture
- Posts: 50
- Joined: Mon Dec 28, 2009 7:13 pm
Audio Pitch 2 Midi in Modular
Last edited by doktorfuture on Sat Mar 20, 2010 12:17 pm, edited 1 time in total.
- roy thinnes
- Posts: 651
- Joined: Thu Jan 09, 2003 4:00 pm
- Location: Graz
- Contact:
Re: Audio Pitch 2 Midi in Modular
two suggestions:
- adern's freq2note module (Flexor3) =>Wolf's Audio2Note
- gateOr => Wolf's Audio2Note
- adern's freq2note module (Flexor3) =>Wolf's Audio2Note
- gateOr => Wolf's Audio2Note
- doktorfuture
- Posts: 50
- Joined: Mon Dec 28, 2009 7:13 pm
Re: Audio Pitch 2 Midi in Modular
I'm trying to get all you write below to work. The freq2note from Flexor seems to be good, but it outputs 'frequency', and the Wolf Audio2Note wants a pitch. Also the 'gate' output fro the freq2note isn't a pitch, and isn't what the Audio2note wants.
I am using the gateOr between the Flexor and the Wolf module.
Also for Wolf's modules I need those sync 2 async modules.
I am using the gateOr between the Flexor and the Wolf module.
Also for Wolf's modules I need those sync 2 async modules.
roy thinnes wrote:two suggestions:
- adern's freq2note module (Flexor3) =>Wolf's Audio2Note
- gateOr => Wolf's Audio2Note
- roy thinnes
- Posts: 651
- Joined: Thu Jan 09, 2003 4:00 pm
- Location: Graz
- Contact:
Re: Audio Pitch 2 Midi in Modular
hm, freq2note outputs note values, believe me.
there is no gate output, just "noteOut".the 'gate' output fro the freq2note isn't a pitch(...)
Re: Audio Pitch 2 Midi in Modular
It should work like this:
With flexor comes a pitch recognition module. Connect this via sync2async converter to the value input of the val2note module of my toolbox.
Use audio2val of the ToolBox to extract velocity from the audio signal to feed the velocity input of val2note with it.
Now you just need another signal for the gate. Use something which does output a gate signal, when reaching / leaving a treshold of i.e. -18dB.
Isn't this part of my module examples, btw ?
Don't know exactly
best,
Wolfgang
With flexor comes a pitch recognition module. Connect this via sync2async converter to the value input of the val2note module of my toolbox.
Use audio2val of the ToolBox to extract velocity from the audio signal to feed the velocity input of val2note with it.
Now you just need another signal for the gate. Use something which does output a gate signal, when reaching / leaving a treshold of i.e. -18dB.
Isn't this part of my module examples, btw ?
Don't know exactly
best,
Wolfgang