stufisher / liveosc2 Goto Github PK
View Code? Open in Web Editor NEWNew version of LiveOSC for Live 9
New version of LiveOSC for Live 9
Hi
I'd like to change what parameters are being sent when Live is launched, or when a new Set is opened.
Currently it sends some of the mixer values for each track (devices/mute/solo/arm/crossfader).
I'd like possibly to remove that, but more importantly, that it sends tempo and selected scene values.
Which part of the code is that? How to alter it?
Many thanks
This script doesn't seem to work with ableton 11 yet
Did anyone manage to let this work with 11?
I spent 30 min in order to trigger a scene with live OSC.
Here it is : /live/scene/play scene_id
/live/track/device/param query doesn't work anymore once having changed the order of the devices in a track.
Steps to reproduce:
-> All EQ8 param do get output, as excepted.
-> New device order do get reflected by LiveOSC2 (ie. /live/track/devices 0 0 Auto Pan 1 EQ Eight is output)
-send again "/live/track/device/param 0 0"
Expected result:
-> Auto-Pan params are output
Actual result:
-> both Auto Pan & EQ Eight params do get output
Is it possible to create a MIDI clip with notes inside using the standard functions already implemented through LiveOSC2 ?
i can see set_notes on the doc
set_notes
Parameter:
list_of_notes [pitch, time, duration, velocity, is_muted]
Will apply the given notes to the clip, overwriting existing notes.
An example sequence of calls looks like this:
call set_notes
call notes 2
call note 60 0.0 0.5 100 0
call note 62 0.5 0.5 64 0
call done
For MIDI clips only.
but i fail to find a way of creating a midi clip using LiveOSC2 ?
Thank you
Proposal :
/live/loop
/live/loopstart
/live/loopend
Would it be possible to add a OSC message when the selected parameter changes (e.g. filter or send). Any hints how I can add it to the python scripts.
Thanks.
Using Windows 10 and Ableton 10. LiveOSC2 is not working in Ableton 10. The 'OSC Monitor' device does pick up the commands sent from my qOSC Android app, however they are not being caught by LiveOSC2.
The weird part though, is that LiveOSC (not this version) does work in Ableton 10. Any reason why this might be?
So,
I got this working with Ableton 11 by updating it to Python3 (Ableton updated their scripting to Python3)
BUT, now I got a new issue when I pick the LiveOSC2 script in Ableton I get an error that port 9001 already is in use.
So I was like ok then let's change the port, but now I get the same error in Ableton with the new port.
anyone that got a solution to this?
I would like to be able to jump to a specific cuepoint in the arrangement view and get the name of that cuepoint, but don't know how to achieve it. In the LiveAPI documentation I found "Live.Song.CuePoint.jump()" and "Live.Song.CuePoint.name", which looks like what I want to do. Can you add those commands or how can I add them?
http://julienbayle.net/PythonLiveAPI_documentation/Live9.6.xml
Thanks!
Hi all - maybe someone here can help. I am creating an ableton touchscreen controller using Open Stage Control and LiveOSC2 (alongside Clyphx free edition).
I have got faders to work with track volume and panning but can't get them to work with sends. The issue I think is that while volume and panning only require track number (and value as float), sends require 2 integers - track number and send id... so while using /live/track/volume as address and 0 in PreArgs in OSC works fine i cant get the sends to work - i tried [0,0] in preArgs and tryed to set the type to integers for these 2... anyone has any idea on how to fix this?
Hi!
Thanks for that great tool.
When I open a live set from scratch, with default tracks, everything works fine so far with these tracks.
If a delete one and insert another after, it's 'name' attribute is not available anymore and an error message of that type appears:
/live/error', "AttributeError: 'NoneType' object has no attribute 'name'
With the same code, it doesn't happend on tracks that aren't inserted after loading the set.
Am I missing something? Everything else works on that track except 'name'. And it has a name and the name have also been changed. When changed, the /track/name appears correctly. But querying the name on an inserted track fails.
Thank you for your help!
Was this removed because it was a redundant call? I cannot use this library with pylive so I'm assuming there is no expectation of compatibility with the original LiveOSC.
Is there a fork in here that let this work with Ableton 11?
Is there any way to select multiple tracks and then change the volume of those selected tracks all at the same time? I can use /live/track/select to select a single track and /live/track/volume to change volume of a specified track, but I want to change volume of 50 tracks all at the same time. I have been able to just duplicate the /live/track/volume command a bunch of times and send them all at the same time, but I wonder if there is a more efficient way to do that.
Placing the script inside /Applications/Ableton Live 9 Suite.app/Contents/App-Resources/MIDI\ Remote\ Scripts
on Live version 9.7.5 build 2017_10_02_f6342e73ec 64bit allows the script to be compiled but when the script is loaded an error occurs as follows. Any ideas? I'm slightly confused by the path refs to /Users/versonator/Jenkins
. Id be hugely ppreciative of some help with this.
16236 ms. RemoteScriptError: Traceback (most recent call last):
16236 ms. RemoteScriptError: File "/Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/_Framework/ControlSurface.py", line 653, in call_listeners
16236 ms. RemoteScriptError: File "/Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/_Framework/DeviceComponent.py", line 143, in __on_appointed_device_changed
16236 ms. RemoteScriptError: File "/Applications/Ableton Live 9 Suite.app/Contents/App-Resources/MIDI Remote Scripts/LiveOSC2/LO2DeviceComponent.py", line 42, in set_device
16236 ms. RemoteScriptError:
16236 ms. RemoteScriptError: self._track_id, self._type = self.track_id_type(device.canonical_parent)
16237 ms. RemoteScriptError: AttributeError
16237 ms. RemoteScriptError: :
16237 ms. RemoteScriptError: 'NoneType' object has no attribute 'canonical_parent'
16237 ms. RemoteScriptError:
It might seem like the network ports for sending and recieveing have been switched. The readme says 'LiveOSC binds to localhost by default receiving OSC on 9000 and sending on 9001', but in LO2OSC.py I find
def init(self, remotehost = '127.0.0.1', remoteport=9000, localhost='127.0.0.1', localport=9001):
I've used LiveOSC earlier,
(from http://livecontrol.q3f.org/ableton-liveapi/liveosc/)
and then it was working like the description says in the readme (sending on 9001).
Now it seems to be sending on 9000, and receiving on 9001
When sending /live/master/volume , nothing happens, but when sending /live/master/volume , the master volume is set.
I think it comes from a common handling with tracks (which works with /live/track/volume ) but master track doesn't need track ID and documentation says the message contains only one float param.
The /live/master/volume feedback is also in the format with the int always equal to 0
Currently, when sending a lot of messages continuously, LiveOSC2 can't keep up (i guess because it's on the UI thread and locked at 200ms per frame ?), but all the messages are delayed.
For instance, sending volume changes at 60fps for 10seconds and then stopping results in still having volume changes after 30 seconds in Live.
I've been trying LiveOSC2 on Live9.7.2 and it doesn't respond to any OSC messages. I know it's receiving them because I checked with OSCmonitor from https://github.com/Ableton/m4l-connection-kit
Are there installation instructions missing in the docs? or has it been broken by 2 years of Ableton Live updates?
Thanks
Is there a listener or something that can tell us if Live is playing or stopped? In LO2TransportComponent.py, I see this:
@subject_slot('is_playing')
def _on_playing_changed(self):
self.send('/live/play', self.song().is_playing)
But I am not getting any message from it.
very minor issue :-)
sorry I can close this issue :)
The /live/track/send message does not work, it returns a /live/error Unknown callback /live/track/send
same for /live/return/send and /live/master/send
Hey! Would love to try out some of the new listeners you've implemented (scene state!) but I can't get this to work at all? What am I missing? Is it broken
First of all, thanks for maintaining this project.
I'm having trouble getting LiveOSC2 working with Ableton Live 9. I've written a small OSC test (https://github.com/soulfresh/osc-test) that sends /live/play
messages to localhost 9000 but I'm unable to get Live to start playing. I've done the following:
Am I missing a step in the setup process? Is there a way I can view log output from the LiveOSC2 script?
Thanks for your help
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.