MIDI Clock: Difference between revisions

From Renoise User Manual
Jump to: navigation, search
imported>Achenar
No edit summary
imported>Achenar
No edit summary
Line 1: Line 1:
= MIDI Clock =
= MIDI Clock =


MIDI Clock is a MIDI protocol that allows to sync the playback (transport and tempo) of multiple running sequencers, synthesizers or drum machines. This can be other software that is running on your computer, but also external MIDI hardware like a synthesizer or a drum machine. This can also be  software running on other computers, connected to Renoise via MIDI cables.
MIDI Clock is a MIDI protocol that allows the syncing of playback (transport and tempo) of multiple sequencers, synthesizers or drum machines. This can be external MIDI hardware, other software on your computer or software running on other computers and connected to Renoise via MIDI cables.


There are two MIDI clock modes: MIDI clock master and slave. Renoise fully supports both modes.
There are two MIDI Clock modes: master and slave. Renoise fully supports both modes.


The MIDI clock master sends series of 24 ppqn (pulses per quarter note) beat clock messages to all slaves. The interval of such messages allows the connected slaves to determine the masters tempo and beat position. Along with the 'beat clock' messages, 'Start', 'Stop', 'Continue' and 'Relocation' (Song Position Pointer) messages are sent to sync the timelines of the master and slaves.
The MIDI Clock master sends a series of 24 ppqn (pulses per quarter note) beat clock messages to all slaves. The interval of these messages allows the connected slaves to determine the master's tempo and beat position. Along with the 'beat clock' messages, 'Start', 'Stop', 'Continue' and 'Relocation' (Song Position Pointer) messages are sent to sync the timelines of the master and slaves.


Only the MIDI clock master can start or stop the playback or change the tempo. Slaves are forced to follow the master, thus the terms "master" and "slave".
Only the MIDI Clock master can start or stop the playback or change the tempo. Slaves are forced to follow the master, thus the terms 'master' and 'slave'.




Line 14: Line 14:
=== Set Up Devices ===
=== Set Up Devices ===


To use Renoise as master, simply set up a MIDI clock master MIDI device in Renoises [[Preferences#MIDI|MIDI Preferences]].  
To use Renoise as master, simply set up a MIDI Clock master device in the [[Preferences#MIDI|''"Edit -> Preferences -> MIDI"'']] panel. You can also specify which message types should be sent from Renoise. Send only MIDI Clock messages if you just want to transfer tempo to the slaves. Note that Renoise only sends out MIDI clock messages while playing back a song.
 
There you can also specify which message types you want to send from Renoise. Send only "MIDI Clock" messages if you only want to transfer tempo only to other slaves. Please note that Renoise only sends out MIDI clock messages while playback.


=== Adjust Offsets ===
=== Adjust Offsets ===


You can use the 'offset' slider in the MIDI Clock master preferences to shift clock messages back and forth in time. This sometimes is needed to compensate delays, phase offsets, that are introduced by MIDI hardware. Audio latency is always automatically compensated by Renoise.
You can use the ''"Offset"'' slider in the ''"MIDI Clock Master"'' preferences to shift clock messages back and forth in time. This sometimes is needed to compensate delays (phase offsets) that are introduced by MIDI hardware. The easiest way to test and adjust this is by using a steady metronome sound on both the master and slave. If the sounds do not play back on exactly the same beat, try adjusting the ''"Offset"'' slider in Renoise until they match.
 
The easiest way to test and adjust this, is by using a steady metronome alike sound on the master and slave. If the sounds do not play back on exactly the same beat, try adjusting the offset slider in Renoise until they match.




Line 29: Line 25:
=== Set Up Devices ===
=== Set Up Devices ===


To connect Renoise to a MIDI clock master, again set up the a device in Renoises [[Preferences#MIDI|MIDI Preferences]], but this time in the MIDI Clock Slave section.  
To connect Renoise to a MIDI Clock master, use the MIDI Clock slave device section in the [[Preferences#MIDI|''"Edit -> Preferences -> MIDI"'']] panel.


To quickly enable and disable the connection to the master clock, use the small "clock" button in Renoises [[Transport Panel]] next to the BPM. This icon will only show up when a MIDI clock slave device is set up.  
To quickly enable and disable the connection to the master clock, use the small 'Clock' button in the Renoise [[Transport Panel]], next to the BPM. This icon will only show up when a MIDI Clock slave device has been set.  


Important: Both, a MIDI device 'and' the sync clock mode icon must be enabled to sync Renoise to other devices.
Important: A MIDI device must be selected and the sync clock mode icon must be enabled to sync Renoise to other devices. After you have done this, you should notice a small green blinking LED at the top of the Renoise interface:  
 
After you have set up a MIDI clock device in the preferences, and the MIDI master is properly connected and sending messages, you should notice a small green blinking LED on top of Renoises screen:  


[[Image:Renoise_midi_blink2.gif]]
[[Image:Renoise_midi_blink2.gif]]


The LEDs next to the small icon show the MIDI clock input in green and output in red.
The LEDs next to the small clock icon show the MIDI Clock input in green and output in red.


=== Adjust Offsets ===
=== Adjust Offsets ===


Just like in the MIDI clock master mode, you can correct small offsets between Renoise and the master with the Offset slider in the preferences.  
As with the MIDI Clock master mode, you can correct small offsets between Renoise and the master with the ''"Offset"'' slider in the preferences. Again, the easiest way to test and adjust the offset is by using a steady metronome on both the master and slave. If the sounds are not in sync, try adjusting the offset slider in Renoise until they match.
 
Again, the easiest way to test and adjust the offset, is by using a steady metronome alike sound on both the master and slave. If the sounds are not in sync, try adjusting the offset slider in Renoise until they match.


=== Adjust Smoothing ===
=== Adjust Smoothing ===


MIDI messages often have only a very rough timing, thus the beat clock messages transferd from MIDI clock masters to Renoise, may result into an unsteady playback and tempo. Depending on how precise the incoming MIDI clock stream is, you can use the smoothing option to setup how fast Renoise should react on changes from the MIDI clock master: The higher the smoothing value, the more stable the sync and tempo will be, but the slower will Renoise react on 'real' BPM changes from the master. Try playing around with the smoothing to find a good value for your setup and needs.
MIDI messages often only have very rough timing, so the beat clock messages transferred from MIDI Clock masters to Renoise may be imperfect. Depending on how precise the incoming MIDI clock stream is, you can use this option to set how fast Renoise should react to changes from the MIDI Clock master. The higher the smoothing value, the more stable the sync will be, but the slower will Renoise react to 'real' BPM changes from the master. Try playing around with the smoothing to find a good value for your setup.


=== Loading New Songs Without Losing Sync ===
=== Loading New Songs Without Losing Sync ===


You can detach and reattach Renoise to a running master at any time without loosing sync. To do so, simply stop the song in Renoise when running as MIDI clock slave instead of stopping the master. You can now even load a new song, then hit start again, and Renoise will resync itself as smooth as possible to the still playing master. This is extremely useful when playing live, because you then can continuously run a master, but can also switch songs in Renoise.
You can detach and reattach Renoise to a running master at any time without losing sync. To do so, simply stop the song in Renoise when running as MIDI Clock slave, instead of stopping the master. You can now even load a new song and hit start again. Renoise will resync itself as smoothly as possible to the master which is still playing. This is extremely useful when playing live, because you can continuously run a master and also switch songs in Renoise. When reattaching Renoise in this manner, the closer you start playing at an on-beat, the less correction will be needed and the smoother the adjustment will be.
 
When "reattaching" Renoise to the still playing MIDI clock master, Renoise will shift its playback position as smoothly as possible to the master. This means, the closer you start playing at an on-beat, the less correction will be needed and the smoother the adjustment will be.

Revision as of 01:01, 3 March 2010

MIDI Clock

MIDI Clock is a MIDI protocol that allows the syncing of playback (transport and tempo) of multiple sequencers, synthesizers or drum machines. This can be external MIDI hardware, other software on your computer or software running on other computers and connected to Renoise via MIDI cables.

There are two MIDI Clock modes: master and slave. Renoise fully supports both modes.

The MIDI Clock master sends a series of 24 ppqn (pulses per quarter note) beat clock messages to all slaves. The interval of these messages allows the connected slaves to determine the master's tempo and beat position. Along with the 'beat clock' messages, 'Start', 'Stop', 'Continue' and 'Relocation' (Song Position Pointer) messages are sent to sync the timelines of the master and slaves.

Only the MIDI Clock master can start or stop the playback or change the tempo. Slaves are forced to follow the master, thus the terms 'master' and 'slave'.


Running Renoise as MIDI Clock Master

Set Up Devices

To use Renoise as master, simply set up a MIDI Clock master device in the "Edit -> Preferences -> MIDI" panel. You can also specify which message types should be sent from Renoise. Send only MIDI Clock messages if you just want to transfer tempo to the slaves. Note that Renoise only sends out MIDI clock messages while playing back a song.

Adjust Offsets

You can use the "Offset" slider in the "MIDI Clock Master" preferences to shift clock messages back and forth in time. This sometimes is needed to compensate delays (phase offsets) that are introduced by MIDI hardware. The easiest way to test and adjust this is by using a steady metronome sound on both the master and slave. If the sounds do not play back on exactly the same beat, try adjusting the "Offset" slider in Renoise until they match.


Running Renoise as MIDI Clock Slave

Set Up Devices

To connect Renoise to a MIDI Clock master, use the MIDI Clock slave device section in the "Edit -> Preferences -> MIDI" panel.

To quickly enable and disable the connection to the master clock, use the small 'Clock' button in the Renoise Transport Panel, next to the BPM. This icon will only show up when a MIDI Clock slave device has been set.

Important: A MIDI device must be selected and the sync clock mode icon must be enabled to sync Renoise to other devices. After you have done this, you should notice a small green blinking LED at the top of the Renoise interface:

File:Renoise midi blink2.gif

The LEDs next to the small clock icon show the MIDI Clock input in green and output in red.

Adjust Offsets

As with the MIDI Clock master mode, you can correct small offsets between Renoise and the master with the "Offset" slider in the preferences. Again, the easiest way to test and adjust the offset is by using a steady metronome on both the master and slave. If the sounds are not in sync, try adjusting the offset slider in Renoise until they match.

Adjust Smoothing

MIDI messages often only have very rough timing, so the beat clock messages transferred from MIDI Clock masters to Renoise may be imperfect. Depending on how precise the incoming MIDI clock stream is, you can use this option to set how fast Renoise should react to changes from the MIDI Clock master. The higher the smoothing value, the more stable the sync will be, but the slower will Renoise react to 'real' BPM changes from the master. Try playing around with the smoothing to find a good value for your setup.

Loading New Songs Without Losing Sync

You can detach and reattach Renoise to a running master at any time without losing sync. To do so, simply stop the song in Renoise when running as MIDI Clock slave, instead of stopping the master. You can now even load a new song and hit start again. Renoise will resync itself as smoothly as possible to the master which is still playing. This is extremely useful when playing live, because you can continuously run a master and also switch songs in Renoise. When reattaching Renoise in this manner, the closer you start playing at an on-beat, the less correction will be needed and the smoother the adjustment will be.