Standalone version to send MIDI clock #6

Open
nikreiman opened this Issue Jun 19, 2012 · 7 comments

Comments

Projects
None yet
2 participants
@nikreiman
Member

nikreiman commented Jun 19, 2012

Can do this via Juce, at least on OSX. Not sure how easy this will be to accomplish on Windows, though.

@fromopics

This comment has been minimized.

Show comment
Hide comment
@fromopics

fromopics Jun 19, 2012

Why can't MIDI clock be implemented in the vst version? This here does it too: http://forum.djdecks.be/viewtopic.php?f=8&t=3744 (it costs money though). Or even simpler, would it be possible to trigger a MIDI note when the light in the GUI flashes? Thanks in advance.

Why can't MIDI clock be implemented in the vst version? This here does it too: http://forum.djdecks.be/viewtopic.php?f=8&t=3744 (it costs money though). Or even simpler, would it be possible to trigger a MIDI note when the light in the GUI flashes? Thanks in advance.

@nikreiman

This comment has been minimized.

Show comment
Hide comment
@nikreiman

nikreiman Jun 20, 2012

Member

MIDI clock can definitely be sent, but many hosts ignore timing events sent by plugins. At any rate Ableton Live isn't able to sync to an internal MIDI clock source. It might be possible to create a virtual MIDI device from within the plugin, though. I will experiment with this before going the standalone route.

Member

nikreiman commented Jun 20, 2012

MIDI clock can definitely be sent, but many hosts ignore timing events sent by plugins. At any rate Ableton Live isn't able to sync to an internal MIDI clock source. It might be possible to create a virtual MIDI device from within the plugin, though. I will experiment with this before going the standalone route.

@fromopics

This comment has been minimized.

Show comment
Hide comment
@fromopics

fromopics Jun 20, 2012

That would definitively be really cool. What about triggering a Midi Note e.g. C1 or something everytime the light in the GUI flashes? That would be very useable (and could be achieved pretty easily i think. I'm not an C++ programmer though)

That would definitively be really cool. What about triggering a Midi Note e.g. C1 or something everytime the light in the GUI flashes? That would be very useable (and could be achieved pretty easily i think. I'm not an C++ programmer though)

@fromopics

This comment has been minimized.

Show comment
Hide comment
@fromopics

fromopics Jun 20, 2012

Or even better, don't output the MIDI notes to the light flashes, but sync them to the displayed BPM

Or even better, don't output the MIDI notes to the light flashes, but sync them to the displayed BPM

@nikreiman

This comment has been minimized.

Show comment
Hide comment
@nikreiman

nikreiman Jun 21, 2012

Member

I really like the idea of triggering a MIDI note! This way you could easily route those MIDI events to an instrument and use it against the metronome to do the sync yourself. I agree that any outgoing MIDI events, either notes or clock, should follow the tempo calculated by the plugin and not the incoming beats. This will be much more consistent.

Member

nikreiman commented Jun 21, 2012

I really like the idea of triggering a MIDI note! This way you could easily route those MIDI events to an instrument and use it against the metronome to do the sync yourself. I agree that any outgoing MIDI events, either notes or clock, should follow the tempo calculated by the plugin and not the incoming beats. This will be much more consistent.

@fromopics

This comment has been minimized.

Show comment
Hide comment
@fromopics

fromopics Jun 21, 2012

"This way you could easily route those MIDI events to an instrument and use it against the metronome to do the sync yourself."
+1
Is this difficult to implement? I think it would also be usable for e.g. VJ Applications like Resolume which support Audio Analysis but no BPM Detection. MIDI Note Output would work perfectly fine in those cases too. I've tried so many VST plugins for BPM detection but none of them really worked. Your's does. Looking forward to it! If some kind of output is implemented, it's perfect.

"This way you could easily route those MIDI events to an instrument and use it against the metronome to do the sync yourself."
+1
Is this difficult to implement? I think it would also be usable for e.g. VJ Applications like Resolume which support Audio Analysis but no BPM Detection. MIDI Note Output would work perfectly fine in those cases too. I've tried so many VST plugins for BPM detection but none of them really worked. Your's does. Looking forward to it! If some kind of output is implemented, it's perfect.

@nikreiman

This comment has been minimized.

Show comment
Hide comment
@nikreiman

nikreiman Jun 22, 2012

Member

I've made two separate issues for creating a virtual MIDI device from the plugin and one to send MIDI notes. But I was thinking, why not just send audio ticks as well? Anyways, I created a ticket for that as well.

As for the difficulty of implementation, well, I can't really say. The code is pretty old and hasn't been touched in awhile, and will need to be ported to work with Juce in order to get MIDI clock and such. The actual DSP processing will be easy, but redoing the GUI will be a bit harder, especially because I anticipate that there will be a bunch more controls added to the plugin.

I also need to think about a good way to send the tick so that it is synchronized with the incoming beat, but following the calculated tempo instead. Currently the plugin doesn't associate these two, but that will be necessary in order to send accurate sync.

Member

nikreiman commented Jun 22, 2012

I've made two separate issues for creating a virtual MIDI device from the plugin and one to send MIDI notes. But I was thinking, why not just send audio ticks as well? Anyways, I created a ticket for that as well.

As for the difficulty of implementation, well, I can't really say. The code is pretty old and hasn't been touched in awhile, and will need to be ported to work with Juce in order to get MIDI clock and such. The actual DSP processing will be easy, but redoing the GUI will be a bit harder, especially because I anticipate that there will be a bunch more controls added to the plugin.

I also need to think about a good way to send the tick so that it is synchronized with the incoming beat, but following the calculated tempo instead. Currently the plugin doesn't associate these two, but that will be necessary in order to send accurate sync.

@ghost ghost assigned nikreiman Mar 16, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment