← Back

ofxMTCReceiver

github.com/andreasmuller/ofxMTCReceiver · @andreasmuller
OF 0.8 Hardware Interface

MIDI Timecode receiver addon for openFrameworks

16 2 Last commit 13y ago Created 14y ago

Forks

Forks pushed to more recently than andreasmuller/ofxMTCReceiver itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.

daitomanabe/ofxMTCReceiver by @daitomanabe · ★ 0 · pushed 9y ago

Branches ahead of master

These branches have commits not yet on master — could be unmerged fixes or work in progress worth a look.

develop 1 commit ahead · last commit 14y ago

README

ofxMTCReceiver



MIDI Timecode receiver addon for openFrameworks.

Believe it or not, sometimes your piece of software will not be running the show and you will have to sync to another time source.

A commonly used source of timecode is MIDI Timecode: http://en.wikipedia.org/wiki/MIDI_timecode

Usage:



string midiDeviceName = "MIDISPORT 2x2 Port A"; MTCReceiver.init( midiDeviceName );

or: int portIndex = 0; MTCReceiver.init( portIndex );

// Subscribe to the timecode event ofAddListener( MTCReceiver.MTCEvent, this, &testApp::newMTCMessage );

void testApp::newMTCMessage(MTCEventArgs& _args) { // If you need the time as millis int currentMillis = _args.timeAsMillis; }

Get this addon

HTTPS
SSH