Welcome to %s forums

BrainModular Users Forum

Login Register

looking for a killer script guru

I need help on a Patch
Post Reply
joffo78
Member
Posts: 1033
Contact:

Unread post by joffo78 » 04 Jan 2014, 00:12

hello.
I work on a very interesting project in witch i will use usine 5 as an app to drive a light system.
this project has been created by François Maurin for his new show "the organ king":
http://www.theorganking.com/
the goal is to make a lighting control of led put on each note on each instruments. There instruments are mechanicals and
control by midi.
usine grab the midi note on the artist computer and convert there on dmx protocol.
we can make different treatments on there datas.
For example i can apply time on the values to create fade in or fade out.
we can also set a minimum value for each instrument ans set the color of the light on RGB (each color is controled by a midi channel).
it work quite well but it's begin to be very heavy.
in particulary the fade time function (because i must apply time in each note individualy and i have more than 300 dimmers !).
so i would like to know if someone could help me to make script that coul replace part of my patch.
For example, if i could have a script that receive midi code and make an array with time in/time out fading it would be great !
i need to to make a lot of mapping value because i have for example a xylophone and leds have chronologic adress system that no follows the chromatic scale .
thank you to paid me attention despite my very poor english.

ceasless
Member
Posts: 330
Contact:

Unread post by ceasless » 04 Jan 2014, 18:23

Hi joffo,

It sounds to me like you need a module which takes a MIDI note and then according to that MIDI note it outputs an array of 300 fade values. Do I understand that correctly? How many different arrays do you need?

ceasless
Member
Posts: 330
Contact:

Unread post by ceasless » 04 Jan 2014, 18:27

Re-reading your description it also sounds like you would like to be able have a time delay between the MIDI note trigger and the output of the new array? Is that what you mean by "time in/time out fading" ?

joffo78
Member
Posts: 1033
Contact:

Unread post by joffo78 » 04 Jan 2014, 20:18

Thank you for your interest
What i want is a midi input but as i need to map midi note i d prefer
Code 1 & code 2 input (note and velocity).a min and Max note (because each instrument have
A reduced tessiture). And a time IN time out input to set
The attack and the release of the notes (the same time for all
The notes but attack and release différents). On the output i have
An array with the size of the tessiture. Each index is a note in order
Of The scale.

joffo78
Member
Posts: 1033
Contact:

Unread post by joffo78 » 04 Jan 2014, 20:22

When it receive a note on the index tale the velocity progessively
With the attack time. When it receive a note of the index go back
To 0 following the release time.

ceasless
Member
Posts: 330
Contact:

Unread post by ceasless » 05 Jan 2014, 20:02

hi joffo,

I don't want to give the wrong impression, because I'm not sure that I will have time to be help :/

It sounds like a really interesting project though. Perhaps if you posted a patch which shows how you are doing it currently then it would be easier for others to see what you are looking for?

joffo78
Member
Posts: 1033
Contact:

Unread post by joffo78 » 05 Jan 2014, 23:23

here is a basic example : http://www.sensomusic.org/forums/upload ... xample.pat
& and hollyhock version that doesn't seem to work http://www.sensomusic.org/forums/upload ... ayhhex.pat
it's a part of my global instruments control you can receive midi notes with channel 1 for the organ and 2 3 & 4 for the rgb marimba light.
It convert midi note in a array. when you click on the marimba array panel, it open a mapping array where you can map input midi note to another order. for the marimba when you play on the channel 2 it play the red led the 3 the green and the 4 the blue.

Post Reply

Who is online

Users browsing this forum: No registered users and 62 guests