Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hems opened this issue Sep 27, 2016 · 6 comments

Comments

@hems
Copy link

hems commented Sep 27, 2016

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

@stufisher
Copy link
Owner

You're absolutely right, this is not yet implemented ;(

@hems
Copy link
Author

hems commented Oct 9, 2016

@stufisher would you mind guiding me a bit on how to implement that?

I'm very confused, on how the implementation would be possible, at a first look it seems to be that editing LO2ClipSlotComponent.py might not be enough as it relies on the implementation of _Framework/ClipSlotComponent.py ?

Is there a "generic function" or way of implementing such a function so i could send "RAW Messages" to live, for instance creating the call messages ( like the example i wrote in the first issue message ) on a python script and then send them to LiveOSC using for instance pylive and then LiveOSC forwarding those to Live ?

Thanks a lot for your help

@LeapGamer
Copy link

Hey hems, did you ever figure out how to send midi signals to live with this?

@hems
Copy link
Author

hems commented Jun 13, 2017

@LeapGamer nope.. end up giving up on this.. i think perhaps there is other ways that would be less of a mess to achieve similar results!

@ccerrillos
Copy link

I've added basic support (get, add, remove) for note editing in #10.

Up next is automation/envelopes, and hopefully some way of getting the time signature of the song or clip to help with displaying note timing/durations.

@juhot
Copy link

juhot commented Jul 3, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants