How to create a correct MIDI message from live.dial?

Adam Makosa's icon

I am working on a basic wireless MIDI controller based on ESP32 and 4 potentiometers. I am sending OSC messages with UDP protocol to my computer and have managed to make some live.dial objects to move. Unfortunately I'm not able to make these things work like an average MIDI controller because I can't understand the midi objects. I want it to work in MIDI mapping mode, so I could map the potentiometers to any parameter like I would with a normal controller. Can you explain what should I add to my max midi effect device for it to work?

WirelessOSC.amxd
amxd
Source Audio's icon

I no nothing about live & mapping, but this is a mistake :

if you use dial 0 - 127, then scale input before.

why not send 0 - 127 from arduino in first place ?

or then

Adam Makosa's icon

It's a part of an engineer thesis in which using OSC protocol for communication is the key - that's why I was trying to avoid using MIDI all along. The scale object was just an experiment and of course it didn't work. I just want to know what objects should I use after the live.dial and how to use them.

Source Audio's icon

then send 0 - 127 in first place.

If you can't for whatever reason . then insert zmap like this

zmap clips output if input range gets exceeded, scale does not.

about midi mapping ... as you are not receiving midi,

you can't map your input to live parameters.

but of course you can send midi out of your device to assigned track destination.

live can't use more than one channel, so you don't need to set midi channel at output

example to send CC# 1-4 for your 4 OSC inputs

Adam Makosa's icon

I tried to do it exactly like you do this but it still doesn't work. Ableton acts like it doesn't receive any MIDI messages. Any other ideas? Do you know what else could be the problem?

Source Audio's icon

Live should receive OSC messages, not midi.

If Dials move, sends assigned controllers out to selected destination.