Giter VIP home page Giter VIP logo

liveosc2's People

Contributors

soulfresh avatar stufisher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

liveosc2's Issues

Populating / editting MIDI clip? ( maybe even modulations and automations? )

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

'name' attribute unavailable after tracks deletion and insertion.

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!

/live/master/volume should only expect 1 parameter

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

Detecting selected parameter

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.

send and receive ports switched?

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

Not working in Ableton 10

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?

Better handling of overflow

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.

  • The best solution would be to be able to manage everything in another, unlocked thread so everything can be real time
  • At least having coalesced parameter changes would be far more efficient than assigning everything. If i send 100 different values for the first track's volume real quick and Live can't process them at the same speed, just take the last value sent for this parameter.

Parameters sent on launch

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

Ableton port not available

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?

Selecting multiple tracks

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.

"/live/track/info" missing

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.

Not receiving messages

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:

  1. install the trial version of Live 9
  2. checkout the LiveOSC2 project in the Remote Midi Scripts folder for that Ableton Live
  3. added LiveOSC2 as a Control Surface in the Live preferences
  4. run my script at https://github.com/soulfresh/osc-test

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

Como eu posso enviar comando para Ableton?

Eu estou tentando comandar Ableton via OSC mas não seu direito como posso fazer isso.
A lista de comando de LiveOSC2 serve somente para receber?

Alguém pode me ajudar com isso?
Obrigado.
image

AttributeError 'NoneType' object has no attribute 'canonical_parent'

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: 

Ableton 11 version

This script doesn't seem to work with ableton 11 yet

Did anyone manage to let this work with 11?

/live/track/device/param bug once having changed devices order

/live/track/device/param query doesn't work anymore once having changed the order of the devices in a track.

Steps to reproduce:

  • In the first track of a session, add 2 devices (in my case, EQ8, then Auto-pan).
  • send to LiveOSC2: "/live/track/device/param 0 0"

-> All EQ8 param do get output, as excepted.

  • Now set Auto-Pan device before EQ8

-> 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

Does this still work?

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

issue with controlling sends from Open Stage Control

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?

Is Live playing

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.

Doesn't work

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.