Using variable for outgoing note

davidkhuffman

2016-11-07 06:25:39

I'm sure I'm missing something very simple here.

I'm just trying to convert a Program Change into a Note for use in MIDI mapping in Live.

If I just specify the note, e.g., 62 - D4, it sends out the note and Live maps it fine. E.g.,

2738415 - OUT 0.0 Note On on ch. 5 with note:62 (0x3E) and velocity:127 (0x7F)

But, if I use a local variable pp in the Outgoing Note On note field (which I'm getting by adding 60 the CC value of 2 in the Rules), I get this:

2827556 - OUT 0.0 Note On on ch. 5 with note:pp=62 and velocity:127 (0x7F)

The note "pp=62" doesn't map anything in Live.

Any thoughts on how to fix this?

Thanks!!!
Dave

sjcaldwell

2016-11-07 14:23:26

Should work, can you show us you bmtp file? Are you specifying the right output device?

davidkhuffman

2016-11-07 17:57:40

Here's the bmtp file.

There are two presets:

1. "FC-200 - Raw" works. I figured out how to use raw hex info to send the note.

It sends: "OUT 0.0 Note On on ch. 1 with note:pp=3 and velocity:127 (0x7F)"

2. "FC-200 - Note On" doesn't work.

It sends "OUT 0.0 Note On on ch. 1 with note:pp=2 and velocity:127 (0x7F)"

I just duplicated the preset, so they have the same input and output ports and all other values.
2016-11-07 Note On vs Raw.bmtp
(2.8 KiB) Downloaded 92 times
Any idea why the second one doesn't work?

Thanks!!
Dave

sjcaldwell

2016-11-07 18:04:04

You are not sending to the same channel with note on. Your raw output is going to midi channel 6. Your note output is going to midi channel 1.

If you enable the log window to show midi out you should see this.

davidkhuffman

2016-11-10 22:28:28

I got it working!!

Thanks,
dh