Welcome to %s forums

BrainModular Users Forum

Login Register

Always newbie's question

I need help on a Patch
Post Reply
waolelaid
Member
Posts: 339
Location: Ecouen 95
Contact:

Unread post by waolelaid » 02 Jun 2012, 05:38

hi i've a keyboarb which has not mod wheel
how can i make one controled by a fader
i don't understand how to do with a "create midi message"
module i don't understand how it works even when i read the
modules reference
thanx for your answer
Avant l'effet on croit à d'autres causes qu'après
Friedrich Nietzsche

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 02 Jun 2012, 09:19

Here the patch:
Image

_Here the midi channel is set to channel 1

_We want to create a Midi message which is a Control Change type

_The code 1 inlet is the control change number, in the midi chart, the mod wheel is the control change 1

_The code 2 inlet is the value of this controller, in midi world, value are 0 to 127, so we add a fader with this min/max values

_The create inlet is in the button family, so we had a has changed module, this way, each time you use the fader , the has changed module send an 1 impulse and create the midi message

;)

waolelaid
Member
Posts: 339
Location: Ecouen 95
Contact:

Unread post by waolelaid » 02 Jun 2012, 19:53

hello Nay , thanx for the picture and the explanation
before asked i've tried but made 2 mistakes
first forgot the "has change" and the second was
the code i put 33 in code 1 i always confuse between lsb and msb
so if i understand i must use msb
another thing when it is for note on /note off i must use 2 "create midi message"
to do like in a midi editor but without the position of ticks and their durations
tell me if i'm wrong !
i'm reading a lot to understand
thanx again
wish you a good week end ;)
Avant l'effet on croit à d'autres causes qu'après
Friedrich Nietzsche

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 02 Jun 2012, 21:07

yes, you'll need a second one for note off, here an example :
Image

waolelaid
Member
Posts: 339
Location: Ecouen 95
Contact:

Unread post by waolelaid » 03 Jun 2012, 06:37

good morning and thanx again for this picture Nay
i print it right now to have it under my hand
i've a bird brain
have a good day ;)
Avant l'effet on croit à d'autres causes qu'après
Friedrich Nietzsche

waolelaid
Member
Posts: 339
Location: Ecouen 95
Contact:

Unread post by waolelaid » 03 Jul 2012, 19:43

hi , excuse me to dig up this post , but i try to make
a pitch bend or a pitch wheel with a fader but
i don't understand how to do i don't find which
code i must use in fact i understand nothing
if somebody can make me a little picture
thanks in advance :D
Avant l'effet on croit à d'autres causes qu'après
Friedrich Nietzsche

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 03 Jul 2012, 22:30

here a screenshot,
2 versions , second one use a range fader to let you set the range action of your main fader :
Image

waolelaid
Member
Posts: 339
Location: Ecouen 95
Contact:

Unread post by waolelaid » 04 Jul 2012, 05:57

thanx but two questions why send to midi bus ?
and in the "Appendix II :midi implementation" i found
PITCH BEND code number 224 data 1value (low part) data 2 value (hi part)
and it is not in the picture you post so what does feature this code number
if it's not necessary i tried with this code and can't do anything
another one in the picture the fader is on code one and enters in code 2
and in the create midi code one is empty and is at 0 how can i guess this
thanx again for the screenshot
have a good day :D
Avant l'effet on croit à d'autres causes qu'après
Friedrich Nietzsche

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 04 Jul 2012, 08:42

I use a midi bus here only for example, you can ,of course, use direct link to a VSTi inlet or midi out module, as you need.

The code 224 in the create midi module is translated in Usine by his name "pitch bend" , you can see this code 224 in a midi in module if you use an hardware midi keyboard with a pitchbend wheel .

I've made a quick test with some VSTi and all accept the code 2 message as a full range 0 to 127, code 1 also send pitch bend but not recognized here , maybe depends of the VSTi used or hardware synthesizer .

about the name of the fader, you're right but it's only because i first create it from the code 1 inlet, so it take his name...;-)
but the name of a fader don't influence his capabilities

waolelaid
Member
Posts: 339
Location: Ecouen 95
Contact:

Unread post by waolelaid » 04 Jul 2012, 21:45

Hello Nay , thanx for the explanations
i didn't think that the name of the fader influence its capabilities
but just wonder why code 2 i know now
and i understand for code 224 i didn't do the parallel with
the implamentation index like for aftertouch
thanx for all
good evening ;)
Avant l'effet on croit à d'autres causes qu'après
Friedrich Nietzsche

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 11 guests