ideoforms / AbletonOSC

Control Ableton Live 11 via Open Sound Control (OSC)
MIT License
426 stars 70 forks source link

Newbie question about listeners #85

Closed betov75 closed 1 year ago

betov75 commented 1 year ago

Hi, thank you for the script.

I'm a blind, french speaking Python coder specialized in accessibility for visually impaired musicians. I want AbletonOSC to listen to track or scene change and send back the track/scene id so I can trigget a get command.

Is there a listener I can enable that fits that purpose? Something that sends the scene and track index of the highlighted clip_slot?

Right now, I can only do it by using a loop with timeout but I don't feel it's a good (and CPU efficient) approach. I would prefer Live to send that trigger.

Thank you very much for your help.

ideoforms commented 1 year ago

Hi betov75,

Apologies for the delay, I am away at the moment without much internet access. This should be possible and I would love to help; I will be back in 10 days and will reply properly then, and perhaps we could have a zoom call to chat further. Thank you for your patience!

best wishes, Daniel

On Mon, 8 May 2023 at 10:45, betov75 @.***> wrote:

Hi, thank you for the script.

I'm a blind, french speaking Python coder specialized in accessibility for visually impaired musicians. I want AbletonOSC to listen to track or scene change and send back the track/scene id so I can trigget a get command.

Is there a listener I can enable that fits that purpose? It'll help me send text to speech output with Track and scene info each time a scene/track change occurs.

Right now, I can only do it by using a loop with timeout but I don't feel it's a good (and CPU efficient) approach. I would prefer Live to send that trigger.

Is there, also, a way to listen to play/stop states?

Thank you very much for your help.

— Reply to this email directly, view it on GitHub https://github.com/ideoforms/AbletonOSC/issues/85, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACJZ3QDQHZ2EQKQO6ELDMDXFEPLNANCNFSM6AAAAAAX2FZSFU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Daniel Jones

web: www.erase.net mastodon: @.*** twitter: @ideoforms https://twitter.com/ideoforms (+44) 07855 449 735

betov75 commented 1 year ago

Dear Daniel,

Thank you sincerely for your response. I wanted to assure you that there was absolutely no issue regarding the time it took for you to reply. In fact, I closed the matter because I came across a fork created by a contributor named Mark Marijnissen, which allows for listeners to be implemented for selected tracks and scenes. This fork provided me with exactly what I needed.

Over the past month, your script has proven to be nothing short of a dream come true. I have successfully made the entire 8x8 grid of my push accessible, complete with lights and text-to-speech functionality for track names, clips, quantization information, inputs, and more. The experience has been nothing short of fantastic. While I have managed to make many control surfaces accessible to the blind through Reaper (which is fully accessible itself), Live has always been my primary tool of inspiration. Unfortunately, due to my diminishing eyesight caused by retinitis pigmentosa, I had been unable to use Live for the past five years.

I don't wish to burden the issue and request section with my personal endeavors, so I have taken it upon myself to learn your script. The Live Object Model has been a revelation for me. I have even added the 'current_dialog_message' method to application.py, allowing me to retrieve popup messages and read them using text-to-speech. I intend to add support for popup buttons and more. It's truly empowering to have this capability.

I'm uncertain if it's possible to implement listeners for the application part of the Live Object Model. If such a feature exists, it would enable me to make Live fully accessible. I did attempt to replicate the read-write and read-only sections of the song model in the application model, but as of my last attempt, two hours ago, I was unable to make it work.

When you have some free time, I would greatly appreciate the opportunity to have a conversation with you. It would mean a lot to me, as well as to many other blind composers, including twelve of my friends, who are currently using a heavily simplified version of Live, featuring only the 8x8 matrix and a few essential plugins. Remarkably, some of them have even composed soundtracks for documentaries using just these limited resources. They are truly amazing musicians.

Once again, I extend my heartfelt gratitude for the work you have put into the script. It is an incredibly exciting development for me at this stage. Moreover, it has helped me gain a deeper understanding of how to code a control surface script effectively. The presentation and comments provided in the script are exceptional.

Wishing you a wonderful day, and I hope that we can have a conversation in the near future.

Best regards,

Patrick

Le mar. 6 juin 2023 à 10:25, Daniel Jones @.***> a écrit :

Hi betov75,

Apologies for the delay, I am away at the moment without much internet access. This should be possible and I would love to help; I will be back in 10 days and will reply properly then, and perhaps we could have a zoom call to chat further. Thank you for your patience!

best wishes, Daniel

On Mon, 8 May 2023 at 10:45, betov75 @.***> wrote:

Hi, thank you for the script.

I'm a blind, french speaking Python coder specialized in accessibility for visually impaired musicians. I want AbletonOSC to listen to track or scene change and send back the track/scene id so I can trigget a get command.

Is there a listener I can enable that fits that purpose? It'll help me send text to speech output with Track and scene info each time a scene/track change occurs.

Right now, I can only do it by using a loop with timeout but I don't feel it's a good (and CPU efficient) approach. I would prefer Live to send that trigger.

Is there, also, a way to listen to play/stop states?

Thank you very much for your help.

— Reply to this email directly, view it on GitHub https://github.com/ideoforms/AbletonOSC/issues/85, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AACJZ3QDQHZ2EQKQO6ELDMDXFEPLNANCNFSM6AAAAAAX2FZSFU

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Daniel Jones

web: www.erase.net mastodon: @.*** twitter: @ideoforms https://twitter.com/ideoforms (+44) 07855 449 735

— Reply to this email directly, view it on GitHub https://github.com/ideoforms/AbletonOSC/issues/85#issuecomment-1578868555, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACZ7PJ5NULWJXKTTZXDIPJLXJ44W7ANCNFSM6AAAAAAX2FZSFU . You are receiving this because you modified the open/close state.Message ID: @.***>

ideoforms commented 1 year ago

@betov75 Back from travels now — mind dropping me a note on my email address so we can set up a call? cheers!