Version imprimable du sujet

Cliquez ici pour voir ce sujet dans son format original

440 Forums _ Max/MSP, Bidule, SuperCollider, Pure Data... _ Kontakt Script Langage

Écrit par : whiteshark mer. 6 févr. 2008, 12:07

hello, I have got a little problem

I play accordion, and my left keyboard is pluged in kontakt.

I have got on my keyboard three ranges of buttons:

- maj chords range
- min chords range
- 7° chords range

So I have 36 buttons (12 + 12 + 12), and each chords are using C2(48) to B2(59) notes (one octave)

For exemple, when I push to the C Maj button keyboard send C2,E2,G2--> 48,52,55
When I push G min, keyboard send D2, G2, Bb2 --> 50,55,58

But I would like to play only one sample when I push these buttons...
( a sample of a real guitar playing C maj or G min chord,)


how can I do, to make understand to the script editor that :

if midi in = C2, E2, G2 , then note to play is C4, where I put my guitar sample
if midi in = C2, F2, A2, then note to play is F4
if midi in = C2,F2,Ab2, then note to play is F5
etc...

On this exemple, I put major chords samples on C4-B4 octave, minor chords on C5-B5 octave, & 7° chords on C6-B6 octave.

I only need one exemple, then I should be able to transpose... I hope !

I hope you understood what I meant !!

Propulsé par Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)