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

MIDI CC to rate? #143

Open
TubularCorpration opened this issue Aug 6, 2020 · 2 comments
Open

MIDI CC to rate? #143

TubularCorpration opened this issue Aug 6, 2020 · 2 comments

Comments

@TubularCorpration
Copy link

I've been poking around in the video player code a bit and it looks like it wouldn't be that tough to implement CC control of playback rate, but I'm not sure what the valid range of speed values are. I think I could probably work out how to scale CC data to a valid range and write an action that would read the current playback location, set the rate to the scaled CC value, and then retrigger the clip from the current playback location that was read earlier (from what I can tell the current increase/decrease speed functions have to retrigger the current clip to make the speed change take effect, so I'm assuming if I wanted to change the speed on the fly without changing the current playback location the function would need to retrigger it at the current location after setting the new rate). Does this sound correct?

I'm basically looking for a way to set the speed to a specific value via MIDI in the same way I've been setting the playback position, so the sequencer I'm using to control playback position can use a different CC to control speed. Not expecting smooth changes, just looking to fire off single CC values.

Also when I was in there I noticed a typo in actions.py:

def decrease_speed(self):
    print("increasing speed !")
@cyberboy666
Copy link
Owner

cyberboy666 commented Aug 7, 2020 via email

@TubularCorpration
Copy link
Author

Probably not worth the effort then. Speaking of intermittent, using low resolution CC LFOs was working great two days ago, and then the next day with the same settings and clip it didn't work reliably at all, even the slowest setting was more than it could handle, so who knows. I'm getting more than enough variation just with CC to position on mutiple tracks, once I have a few long chains built I can use one track to change clips and a couple of other tracks to change playback position and end up with a lot of semi-generative variety, and then reserve LFOs for controlling shaders when I start using those.

Detour actually seems really promising, I'm just trying to focus on one area at a time as I figure out how I want to fit it in to my workflow.

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

2 participants