Welcome to %s forums

BrainModular Users Forum

Login Register

Add an effect on a specific note

I need help on a Patch
Post Reply
User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 21 Jan 2019, 18:33

I try to isolate a specific note from a piano, a guitar or another acoustic instrument. (Not a midi one.)
I’d like for example, add a delay, or something else only on this note.

Example:

I play a piano melody. Each time I play C6, there is a delay on this C6 and only on it. The delay didn’t affect the other notes.
In a perfect world, this melody could be polyphonic. (The resonances of the other notes should not necessarily stop.)

I tried with a band pass filter. I use the partial tracker module to know the note frequency. I setup the band pass filter around this note, with a high Q level. I connect the delay to the output pin of the BandPass Filter.
It works. But it is not very precise, and the high Q level produce some resonance...

Is there a better way to do this?

Thank you.

joffo78
Member
Posts: 1033
Contact:

Unread post by joffo78 » 21 Jan 2019, 18:38

Hi. The only quite good solution i know is to use this plugin : https://www.jamorigin.com/

Unfortunatly it's not free :rolleyes: but very efficient.

User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 21 Jan 2019, 19:00

Thank you.
But it works for Guitar. What happens if i want to use it with a saxophon or a trumpet ?

I have already heard this kind of treatment in live music. It seemed patch with Max/MSP ...

User avatar
rlgsbt
Member
Posts: 187
Location: Marseille
Contact:

Unread post by rlgsbt » 21 Jan 2019, 19:34

i2M musicport from sonuus is quite good too. It's hardware and it works with a lot's of timbre.
http://www.sonuus.com/products_i2m_mp.html
then, you can send your fx from a midi note

User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 21 Jan 2019, 20:34

thank you very much.

It seems interesting. But the idea is not to convert an acoustic note in midi note. I’d to apply an effect to the real instrument, but only on a specific note.

If I play C, D, E on the piano, I'd like to add a delay on D and no delay on C and E.
If I play C, D, E on the saxophone, I’d like to add a reverse on E and not on C and D.

I want to play something in this kind of mood…

Transform the acoustic note in midi note and add effects and treatments on a synthesis sound is another kind of mood.

All these audio to midi transformer software and hardware are very interesting and useful. But i'm looking for something else.

User avatar
x.iso
Member
Posts: 565
Location: RU, Saint-Petersburg
Contact:

Unread post by x.iso » 21 Jan 2019, 21:53

The only realistic way of doing it, is to sample the instrument and go with midi trigger for effects. Other way I'm thinking of, is also sampling your instrument, but for a purpose of isolating said notes. But I can't quite understand how to use samples as filters (perhaps using phase cancellation or something similar) to isolate notes. even then, it would most likely sound weird after all the processing and mixing back together..
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE

Lib
Member
Posts: 24
Contact:

Unread post by Lib » 21 Jan 2019, 23:02

Hi, once you have found a quick and reliable way to track the pitch of the source material, a possible way to achieve what you want is to trigger the desired effect on the original sound using a MIDI event as a trigger. So you use MIDI only as a tool to control the effect on the original sound, as other people have suggested. If I understood you correctly, your pitch tracking system mostly works. In that case you could simply create a parallel audio path with compression, eq and partial tracking simply to trigger the effect, leaving the original path unaffected. In any case I'd download the demo of Midi Guitar 2 to see if it works better as a pitch tracker and how it performs with different sources.

In Max (and maybe in Pure Data? In that case you could use a PD patch as a VST using Camomile https://github.com/pierreguillot/Camomile) you can try using an object called Sigmund, a pitch tracker. Another pitch tracker for Pure Data is called Fiddle, but I've understood Sigmund works better.

Another alternative to try if you are under Windows, is to use Reaper's Reaplugs VSTs, as there's a gate effect called ReaGate https://www.reaper.fm/reaplugs/ where you can use the incoming signal frequency to trigger the gate using the highpass and lowpass filter. You would be then limited to one note per instrument (most likely a range of notes I guess). However, if it works you can then send the source signal to different buses, each one containing one instance of the gate effect.

About filtering though, I just read that some pitch trackers might use higher partials to track the pitch, so experimenting with different settings is important.

All the above is untested, or tested some years ago.
If the context allows it, you can always use a MIDI pedal to trigger the effect manually on the desired pitch, of course, avoiding the pitch tracking altogether.

User avatar
x.iso
Member
Posts: 565
Location: RU, Saint-Petersburg
Contact:

Unread post by x.iso » 22 Jan 2019, 00:36

Well, if desired effect is supposed to be isolated for exact note while for instance a chord is played, or in any case other notes are involved at the same time, then it becomes quite a complicated problem. especially for real-time processing. I can't come up with solution for that beside what I mentioned, but I've been interested in similar thing for a while. Only with digital instruments it's much easier to do, although might be resource intensive.
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 22 Jan 2019, 07:22

have you try FFT ?
then get the frequency of the loudest partials
then filter the result with a statistical and/or kalmanFilter of some sort ? that is the difficult part that will determine the quality of the note detection.
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 22 Jan 2019, 11:19

Thank you all.

I understand now, how to use audio to midi transform.
i know this process is not easy. I am on Mac OSX, so i can't try the Reaplug. :(

I will try and work on it. I will tell you.

Thank you very much. :cool:

User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 22 Jan 2019, 12:38

I try something with midi triggering. I use a 'midi note on' to trigger a Pass Module. This pass Module let the 'Audio In' go to in the effects or not.

It works. Incoming audio goes in the effects modules only when i play the specific note. But when pass Module is triggered off, there is no Incoming Audio in the effects modules, but there is a strange Frequency like a 1000 Hz sin wave in the Audio out ...

This is my test patch :

Image


Thank you.

SylvainT
Site Admin
Posts: 494
Contact:

Unread post by SylvainT » 22 Jan 2019, 12:46

You can't use a pass flow on an audio signal.
The best solution for you will be an ADSR, you can have some small fade in/out to avoid clics, or a volume with the mute switch or a simple math *.
Sylvain

User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 22 Jan 2019, 14:05

Oh yes !! Thank you.

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 22 Jan 2019, 16:23

you could try to do a FFT filter that let pass through only the note you want by first record its spectral shape, then send the filter output into you delay.

File uploaded: http://www.sensomusic.org/forums/upload ... 0delay.wkp
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

Post Reply

Who is online

Users browsing this forum: No registered users and 36 guests