Welcome to %s forums

BrainModular Users Forum

Login Register

Can hollyhock do this

Tell us what you'd like Usine to do
Post Reply
bvorberger
New member
Posts: 6
Contact:

Unread post by bvorberger » 22 Mar 2019, 08:42

I am in need of a specific software solution.
I was wondering if you have a solution that would analyze live audio input (Line in or Mic),
and then user selects (isolates) specific width and/or peak of an audio spectrum.
When selected audio situation happens,software generates (also live) specified MIDI note.
Is there a patch in hollyhock that can manage this specific task.
It should be user friendly tool which isolates part of a spectrum and also user friendly tool to select a MIDI note.
I'm currently using a bunch of subprograms for Ableton live to do this but I'm looking for a new solution (I use it to MIDI trigger lighting console)

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

Unread post by x.iso » 22 Mar 2019, 10:33

I'm pretty sure you can, unless you need to employ some complex algorithm for audio analysis. But there are tools for audio analysis out of the box and even Audio to MIDI patches as well. You can generate whatever MIDI message you want from whatever you consider to be a trigger.
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE

bvorberger
New member
Posts: 6
Contact:

Unread post by bvorberger » 22 Mar 2019, 10:47

(Message to all good people who try to help: I'm a lightman, could you be more specific how it can be done. My knowlege of sound systems and audio tools is limited.)

joffo78
Member
Posts: 1033
Contact:

Unread post by joffo78 » 22 Mar 2019, 11:45

Hello bvorberger. I m a light/sound/video man. Peharps i can help you but my english level is a little bit poor. May can we discuss in french and somewhere in private. ..

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

Unread post by x.iso » 22 Mar 2019, 11:55

well, this kind of question originally belongs to general discussion section.
here's example with one of Audio to MIDI patches out of the box:
Image
it works, but it may not be as accurate as you need out of the box, so you'll need to dive in the patcher and fine tune settings of the modules for your task, or modify the patch if needed. Since you didn't describe exactly what kind of input you will use and what exact output is expected, I can't say if this will work for you out of the box without the need to understand how to edit the patch yourself.
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE

bvorberger
New member
Posts: 6
Contact:

Unread post by bvorberger » 22 Mar 2019, 22:25

joffo78 wrote:Hello bvorberger. I m a light/sound/video man. Peharps i can help you but my english level is a little bit poor. May can we discuss in french and somewhere in private. ..

joffo78
Member
Posts: 1033
Contact:

Unread post by joffo78 » 23 Mar 2019, 00:21

It doesn't matter. Let's continue here

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

Unread post by oli_lab » 23 Mar 2019, 08:59

try FFT then isolate frequencies by multiplying array resulting from FFT with a masquing array
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

bvorberger
New member
Posts: 6
Contact:

Unread post by bvorberger » 23 Mar 2019, 09:16

x.iso wrote:well, this kind of question originally belongs to general discussion section.
here's example with one of Audio to MIDI patches out of the box:
http://www.sensomusic.org/forums/upload ... -03-22.png
it works, but it may not be as accurate as you need out of the box, so you'll need to dive in the patcher and fine tune settings of the modules for your task, or modify the patch if needed. Since you didn't describe exactly what kind of input you will use and what exact output is expected, I can't say if this will work for you out of the box without the need to understand how to edit the patch yourself.
It's not a specific music situation. The point is that when you hear at a show rehersal a tone,instrument,beat etc. that you want to have a light que (flash,strobe,color change...) which you want to have in live show. So at a rehersal you hear something - you see it in audio analysis and then you say: Ok when this happens play a midi tone which will trigger lighting console. That's what I'm trying to achieve.
Thnx

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 23 Mar 2019, 09:35

detecting a pitch of a musical instrument is not so easy because of the the "transients" of the sound and, in live, the potential pollution of other instruments.
So more precision means more latency.
Moreover you have to think in terms of "probability of good detection" which is never 100%

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

Unread post by x.iso » 23 Mar 2019, 21:13

If instruments have their own audio inputs (mics), then the task is much easier.
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE

bvorberger
New member
Posts: 6
Contact:

Unread post by bvorberger » 24 Mar 2019, 09:21

I'll have to buy a beer for the sound man but it is possible.

joffo78
Member
Posts: 1033
Contact:

Unread post by joffo78 » 24 Mar 2019, 13:45

HERE is a basic example that quite work for me

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 24 Mar 2019, 15:39

also depends on source material, if mostly hi freqs i would use FFT based solutions if low freq more use a zero crossing counting based one as fft will quickly lack of precision

(edit) nice one by the way joffo! wonder if amplitudes shouldn't be remapped log to compensate the fact lower notes usually makes higher amplitude, but working nice already

joffo78
Member
Posts: 1033
Contact:

Unread post by joffo78 » 24 Mar 2019, 22:47

If you have an idea to improve it you're welcome !

SylvainT
Site Admin
Posts: 494
Contact:

Unread post by SylvainT » 24 Apr 2019, 13:29

Well done Joffo
Used it this morning with great results

Post Reply

Who is online

Users browsing this forum: No registered users and 60 guests