Search found 33 matches

by dr_kant
Tue Mar 11, 2025 6:36 pm
Forum: Third-Party MIDI Controllers
Topic: How to find the version of python used?
Replies: 7
Views: 40860

Re: How to find the version of python used?


Awesome, joined! What is this discord about?


It's my artist server and also for updates about my TouchOSC app.
I've added an ableton-remote-scripts channel for anyone interested in discussing remote scripts.
I put the script there, it's a really basic "Hello World" example, might be usefull ...
by dr_kant
Tue Mar 11, 2025 10:00 am
Forum: Third-Party MIDI Controllers
Topic: How to find the version of python used?
Replies: 7
Views: 40860

Re: How to find the version of python used?

You can join the discord server here and i'll put a basic working script in "ableton-remote-scripts" channel if you want.
https://discord.com/invite/KjqX9aY6jK
by dr_kant
Tue Mar 11, 2025 9:06 am
Forum: Third-Party MIDI Controllers
Topic: How to find the version of python used?
Replies: 7
Views: 40860

Re: How to find the version of python used?

If you put .py files in the remote scripts folder, Live should compile them on its own.
by dr_kant
Sun Oct 20, 2024 10:52 am
Forum: Third-Party MIDI Controllers
Topic: String from M4L Device to Custom Control Script
Replies: 7
Views: 38967

Re: String from M4L Device to Custom Control Script

LukasRothMusic wrote:
Sun Oct 20, 2024 10:19 am
I see. Didn't know it was possible to call functions custom functions on Application.control_surfaces elements but that works flawlessly and solves my problem very well. Thank you very much!
Yes it's handy, no need to bother with sysex messages locally.
by dr_kant
Sat Oct 19, 2024 1:13 pm
Forum: Third-Party MIDI Controllers
Topic: String from M4L Device to Custom Control Script
Replies: 7
Views: 38967

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 dr_kant
Sat Oct 19, 2024 8:00 am
Forum: Third-Party MIDI Controllers
Topic: String from M4L Device to Custom Control Script
Replies: 7
Views: 38967

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.
by dr_kant
Mon Apr 29, 2024 10:37 am
Forum: Max For Live
Topic: project filename in the LOM
Replies: 7
Views: 4180

Re: project filename in the LOM

yes OK..

works only in live 12, been testing L11.

strange they didn't add this basic function until now.
by dr_kant
Mon Apr 29, 2024 10:21 am
Forum: Max For Live
Topic: project filename in the LOM
Replies: 7
Views: 4180

Re: project filename in the LOM

Trying for the first time, i copied the data in a new M4L Audio fx and ran it.

The output is:

2024-04-29T12:19:01.720128: info: Python: ERROR:_MxDCore.MxDCore:720 - Error: 'Song' object has no attribute 'name'
2024-04-29T12:19:01.720249: error: Message from Max: live.object: 'Song' object has no ...
by dr_kant
Mon Apr 29, 2024 10:05 am
Forum: Max For Live
Topic: project filename in the LOM
Replies: 7
Views: 4180

Re: project filename in the LOM

chapelier fou wrote:
Mon Apr 29, 2024 9:51 am
Well you basically have the answer on Rivanni's post.
Yes i guess. but i've never used max for live for now so i don't really know what that means.
Do you have the equivalent in python ?
by dr_kant
Mon Apr 29, 2024 7:55 am
Forum: Max For Live
Topic: project filename in the LOM
Replies: 7
Views: 4180

Re: project filename in the LOM

I have the same question but for the Ableton Api..
Can't figure out how to get the opened document name.
by dr_kant
Wed Jan 31, 2024 10:51 am
Forum: Third-Party MIDI Controllers
Topic: Sampler API parameters list changing based on parameters enabled
Replies: 6
Views: 3379

Re: Sampler API parameters list changing based on parameters enabled

S4racen wrote:
Wed Jan 31, 2024 10:47 am
Thats a cool app, one of my ClyphX Pro users sent me a link a while ago!

Cheers
D
Thanks!
Yes i saw an isotonikstudios download pass by :)
by dr_kant
Wed Jan 31, 2024 10:28 am
Forum: Third-Party MIDI Controllers
Topic: Sampler API parameters list changing based on parameters enabled
Replies: 6
Views: 3379

Re: Sampler API parameters list changing based on parameters enabled

I can confirm the ids change because my app list automatically every parameters when a new device is selected.
New sections are being added in predefined orders in the parameters list it seems. So when you add one it "pushes" all the previous parameters further down the list.
I don't think it's a ...
by dr_kant
Wed Jan 31, 2024 7:33 am
Forum: Third-Party MIDI Controllers
Topic: Sampler API parameters list changing based on parameters enabled
Replies: 6
Views: 3379

Re: Sampler API parameters list changing based on parameters enabled

chapelier fou wrote:
Mon Jan 29, 2024 8:27 pm
Bookmarking for investigation.
Not sure i will get any answer about this..
stumbled upon the same problem ?
by dr_kant
Mon Jan 29, 2024 5:45 pm
Forum: Third-Party MIDI Controllers
Topic: Sampler API parameters list changing based on parameters enabled
Replies: 6
Views: 3379

Sampler API parameters list changing based on parameters enabled

Hello!

I was trying to map the sampler parameters within a remote script for a touchOSC control surface and i found out that the parameters list that can be used with the sampler device is changing anytime you select a enable a new parameter "group" in the device. Like enabling the filter, OSC, P ...
by dr_kant
Sun Jan 08, 2023 8:11 am
Forum: Max For Live
Topic: Visible macros property name
Replies: 2
Views: 1394

Re: Visible macros property name

Thanks!