Search found 5 matches

by LukasRothMusic
Sun Oct 20, 2024 10:20 am
Forum: Third-Party MIDI Controllers
Topic: String from M4L Device to Custom Control Script
Replies: 7
Views: 39009

Re: String from M4L Device to Custom Control Script


An alternative approach...

As you are using M4L as well you could make use of OSC to send the data a bit more flexibly around your system. I certainly recommend installing the CNMAT external for Max so that you get full OSC capabilities. Without that it's very limited.

I send information to and ...
by LukasRothMusic
Sun Oct 20, 2024 10:19 am
Forum: Third-Party MIDI Controllers
Topic: String from M4L Device to Custom Control Script
Replies: 7
Views: 39009

Re: String from M4L Device to Custom Control Script


Again, i didn't test with m4l but it works for me between two remote scripts instances.

Just create your own function in the remote script:

def receive_string(self, string):
self.log_message("receive_string: " + string)


And call the function from the other script:

for index, c_s in enumerate ...
by LukasRothMusic
Sat Oct 19, 2024 12:39 pm
Forum: Third-Party MIDI Controllers
Topic: String from M4L Device to Custom Control Script
Replies: 7
Views: 39009

Re: String from M4L Device to Custom Control Script


I don't know m4l at all but you can try to look at the Application.control_surfaces property of the api.
It lists all the connected controllers references so if you can access it from m4l then you should be able to send messages to remote scripts.


Thanks for the suggestion. Had the same thought ...
by LukasRothMusic
Wed Oct 16, 2024 6:42 pm
Forum: Third-Party MIDI Controllers
Topic: Midi from Ableton (MIDI feedback)
Replies: 3
Views: 22554

Re: Midi from Ableton (MIDI feedback)

Hi,
if I understand you correctly, you created a custom MIDI Mapping in Ableton for the encoders (Ctrl/Cmd + M)?
The idea of the Novation control script is, that it automatically displays and maps the first 8 parameters of the selected device (i.e. your instrument rack), then it also automatically ...
by LukasRothMusic
Wed Oct 16, 2024 6:31 pm
Forum: Third-Party MIDI Controllers
Topic: String from M4L Device to Custom Control Script
Replies: 7
Views: 39009

String from M4L Device to Custom Control Script

Hi everybody,

I'm currently in the middle of developing my own MIDI Remote Control Script in Python and ran into the following problem:

I want to send a basic string from a self-made M4L device to my Control Script or at least expose the string, so it can be read by the script.
The LOM ...