Wii remote programming - Ableton live

josephperkins

2007-04-30 15:17:56

I'm using a simple glovepie script to covert my wii remote into a wireless midi controller.

The script ouputs midi data equivelant to a fader. This works fine in ableton live, although the midi input isn't quite stable. (Not a smooth action) but usable.

I want to send this midi signal to MT, using four presets so that the one fader becomes four.

Everthing seems to be working but the ouput from MT is unusable, extremely jumpy.

This must be because the input isn't stable.

Can anyone help

florian

2007-05-07 15:06:18

so are you certain that using MT increases the "jumpyness"? Can you include one of your presets here so that we can see what you're doing? Which version of MT are you using? Have you tried the Pro version?

Thanks,
Florian

josephperkins

2007-05-10 19:28:11

Hi Florian

I'm currently using MT pro, purchased it for the ableton live looping setup previously post on the site.

As in my prevous message i'm using a program called gloviepie which outputs midi through midi Yoke

I'm then routing Midi yoke into MT pro

my glovie program outputs midi data equivalent to a fader


I'm using MT to capture the midi input / and reassigning this with a different CC number following with PP, is this correct?

If i route midi Yoke straight into Ableton it works fine, i can simply assign the wii remote to control faders etc.

Note that the input is quite jumpy, the movement is not smooth, kind of jumps up and down, but does allow me to move a fader up and down.

After routing Midi yoke through MT pro and then into ableton the jumpyness seems to get worse. Unusable

Jumpyness (is that the technical term)

florian

2007-05-14 11:59:44

hmm, maybe MIDI Thru is activated? Have you tested of creating a setup in Midi Translator where you do not alter the controllers? Will it still cause jumpyness?

Regards,
Florian

josephperkins

2007-05-14 12:02:45

Can you explain how i can create a setup without changing the controllers

florian

2007-05-14 12:05:43

the simplest is to remove all Translator entries (i.e. entry list in MT) and then select Options|MIDI Thru. That should just pass thru all MIDI data from MIDI IN to MIDI OUT.

The next step would to disable MIDI thru and create a Translator Entry which just routes through all controllers:

Incoming Action: MIDI, B0 pp qq
Outgoing Action: MIDI, B0 pp qq
Options: deactivate "output incoming MIDI message"

Regards,
Florian

josephperkins

2007-05-17 13:34:17

Hey florian,

just a quick note to say i've got it working,

Thanks for your last post it was very helpful. It actually turned out to be a problem in the gloviepie script. conflicting midi messages.

Just one problem tho -

I'm now using the Wii remote to play notes as you would on a keyboard - also presure sensative. I'm try to replace say C3 with C4 but the note remains pressed.

What are the Note on / Note off rules?

florian

2007-05-18 10:14:44

Hi Joseph,

I'm happy to hear it works!

Note on: 90 nn vv
-> nn is the note number 00..7F hex
-> vv is the velocity, 01..7F hex

Note Off style 1: 90 nn 00
Note Off style 2: 80 nn vv
-> vv is "note off velocity" which is rarely useful

So for transposing, you need to transpose the 80 messages, too -- if your setup actually generates 80 messages for Note Off. I'd usually recommend to use Note Off style 1 though - it makes many things easier.

Regards,
Florian

josephperkins

2007-05-18 13:15:34

Am i right in thinking that note on / note off should go in the midi output box?

Could you please give me an example? Say C3 is the input

What determines the length of the note? Can i set it so it just reads the note length on input?

thanks

josephperkins

2007-05-18 14:39:40

i'm guessing i need to input a set of rules

Translator 1: Key X down to Note C
Options: stop=true
Incoming: Key down: X
Outgoing: MIDI 90 30 7F

Translator 2: Key X up to Note C
Options: stop=true
Incoming: Key up: X
Outgoing: MIDI 90 30 00

josephperkins

2007-05-18 14:41:26

Sorry

I should have siad the Wii remote note velocity is fixed

josephperkins

2007-05-18 14:53:37

Thought i'd explain in detail what i'm trying to achieve.

I've programed my wii remote to ouput C1-C3 notes

My gloviepie script only outputs note on messages

I need a way to turn the note off if the input is no longer being pressed.

I'm trying to control Arkaos VJ through ableton, which allows to to map video clips to a midi key board.

florian

2007-05-18 21:17:50

Hi Joseph,

you can use MT Pro's timer feature to stop the note after a pre-programmed duration. Would that solve it?

Florian

josephperkins

2007-05-19 13:31:26

Yes that would work ok? Can you explain how i can implement that?

Thinking about it...

i need to be able to hold the note,

Is there not a set of rules i could use like

If C3 input = note on

if C3 false then note off

admin

2007-05-20 18:12:00

yes, you can do all that.

for example, the following will hold the note as long as you press it at least once every second. Otherwise it'll send a note off after 1 second.

Translator 1: note 1: pass through
Options: stop=false
Incoming: MIDI 90 30 pp
Rules:
if pp==0 then exit rules, skip Outgoing Action
Outgoing: One-shot timer "note 1 timer": 1000 ms delay

Translator 2: note 1: (re)start timer
Options: stop=true
Incoming: MIDI 90 30 pp
Rules:
if pp==0 then exit rules, skip Outgoing Action
if ga!=0 then exit rules, skip Outgoing Action
ga=1
Outgoing: MIDI 90 30 pp

Translator 3: note 1: send Note Off
Options: stop=true
Incoming: On timer "note 1 timer"
Rules:
ga=0
Outgoing: MIDI 90 30 00

Regards,
Florian

josephperkins

2007-05-21 22:20:10

Cheers florian

Thanks for your feedback.

But can this be done so that note off is only triggered when a diffrent note is pressed.

I'm planning on using the wii remote to operate arkoas VJ, pressing the button every second will become a little annoying.

josephperkins

2007-05-21 23:12:14

I know its a stupid question but how can i input the example in your previous post?

I'm sure this maybe useful for other users.

at first i thought i could just cut and paste the code into the rules box but this is not the case.

Can you please give a quick description next to each line?

Sorry, i've had a long day at work, and my brain has stopped working

josephperkins

2007-05-21 23:44:06

OK, worked out how to input your script. But i'm not getting a midi output

florian

2007-05-22 12:54:19

The following preset will
- start playing a note upon Note On
- stop playing that note until a new Note On comes in
- if you play the same note again, it will stop
- if you play a different note, it will sound

Code: Select all

Translator 1: Stop Note on repeat
Options: stop=true
Incoming: MIDI 90 pp qq 
Rules: 
  if qq==0 then exit rules, skip Outgoing Action
  if gn!=pp then exit rules, skip Outgoing Action
  gn=0
Outgoing: MIDI 90 pp 00 

Translator 2: Swallow Note Off 1
Options: stop=true
Incoming: MIDI 90 pp 00 
Outgoing: (none)

Translator 3: Swallow Note Off 2
Options: stop=true
Incoming: MIDI 80 pp qq 
Outgoing: (none)

Translator 4: Send Note Off on New Note
Options: stop=false
Incoming: MIDI 90 pp qq 
Rules: 
  if gn==0 then exit rules, skip Outgoing Action
  rr=gn
Outgoing: MIDI 90 rr 00 

Translator 5: Send Note On on New Note
Options: stop=true
Incoming: MIDI 90 pp qq 
Rules: 
  gn=pp
Outgoing: MIDI 90 pp qq 
You can disable the first translator entry if you do not want to stop notes when you replay a note.

You can download this preset for Midi Translator Pro (and the other mentioned in my other post) here:
http://www.bome.com/midi/translator/sol ... epeat.bmtp
select the preset "Mono mode"

Florian

josephperkins

2007-05-22 23:03:43

Perfect, just the job

I've just turned my Wii My remote into a midi keyboard

thanks Florian

florian

2007-05-23 09:57:17

great to hear that it works!
Florian