KISSBOX CM-MIDI User Manual Download Page 7

1.2 - Understanding the RTP-MIDI sessions concept

Before using RTP-MIDI, it is very important to understand the concept of sessions, because RTP-MIDI relies

on them completely.

A session is simply a virtual link between two RTP-MIDI devices, which creates automatically one MIDI IN

port and one MIDI OUT port in each device. What is sent to MIDI OUT in the first session participant will be
received on the MIDI IN of the other session participant, and vice-versa. We will see also that sessions are also
providing MIDI Merge and MIDI THRU functionalities.

So let's stay simple : from user's point of view, a RTP-MIDI session is nothing else than a pair of

MIDI IN / MIDI OUT ports

. Each time you create a RTP-MIDI session on a machine, you create a new pair of

MIDI ports for this machine. By the way, do not mix sessions and UDP ports! A single UDP port can handle many
RTP sessions.

 Sessions are needed with RTP-MIDI since all the devices are sharing the same communication media (the

network). They were not needed with MIDI 1.0 or USB since the MIDI communication is naturally point-to-point
with these systems.

Sessions are exactly the same concept as the one you use everyday when you make a phone call. Since all

phones are sharing the same network, you need to tell to your phone that you want to join a specific person. You
must then dial the number and wait until the other person accepts the call. Speaking in your phone before the
remote person has accepted the call is useless.

RTP-MIDI session are working exactly in the same way as a phone call. A first device (called Session

Initiator) sends a specific message (called the Invitation) to the RTP-MIDI device (called the Session Listener) with
which it wants to exchange MIDI data.

If the remote device accepts the invitation, it sends a reply to the Initiator which knows that a link is now

established between the two devices (the session is opened), and MIDI data can then be exchanged (to be exact,
a clock synchronization sequence will take place between the two devices just after the session is opened, and
before MIDI data can be exchanged. This step is however completely transparent from RTP-MIDI point of view).

Most devices (including computers) can be Session Initiator and Session Listener at the same time (KissBox

V3 modules, Mac OS-X RTP-MIDI driver, rtpMIDI driver, VSTizer plugins, etc...), while some devices can be only
Session Listeners (iPad, iPhone, KissBox V1/V2, etc...)

(Picture from Wikimedia Commons under free license)

The sessions are very powerful mechanisms, and they allow to perform some features which do not exist in

other MIDI implementations, or are requiring some specific MIDI hardware (like mergers and Thru-boxes):

Page 7 of 33

Summary of Contents for CM-MIDI

Page 1: ...KISSBOX CM MIDI USER S MANUAL Copyright c 2014 KissBox Page 1 of 33...

Page 2: ...Page 2 of 33...

Page 3: ...ation 12 2 1 2 Back panel 13 2 1 2 1 1 Power supply connector 13 2 1 2 1 2 MIDI IN 1 13 2 1 2 1 3 MIDI OUT 1 13 2 1 2 1 4 MIDI IN OUT 2 13 2 2 Network configuration on computers 14 2 2 1 Mac OS X 14 2...

Page 4: ...M MIDI without Bonjour 27 4 Using CM MIDI with iOS devices over WiFi 29 5 Using CM MIDI with KissBox CVToolbox 29 6 APPENDIX A Changing mode for endpoint 2 30 7 APPENDIX B Upgrading firmware 30 8 Docu...

Page 5: ...by the CM MIDI If you face any difficulty during setup or while using the CM MIDI do not hesitate to contact us using the contact form on our website http www kiss box com and yes we provide personali...

Page 6: ...open mature standards IP UDP RTP an application can run an RTP MIDI engine without needing to install any driver like what is done in the VSTizer plugins from KissBox RTP MIDI is also compatible with...

Page 7: ...you need to tell to your phone that you want to join a specific person You must then dial the number and wait until the other person accepts the call Speaking in your phone before the remote person ha...

Page 8: ...sion with Device 2 and another session with Device 3 Every MIDI message sent by Device 1 red arrow is automatically copied in Device 2 and Device 3 automatic merging of MIDI streams coming from multip...

Page 9: ...le to manage Having multiple smaller networks is far better but then is it better to have only a few very big networks with many computers in them or having a lot of small networks with a limited numb...

Page 10: ...sed to be Auto configuration without IP addresses are very difficult to maintain when something goes wrong especially with devices without any user interface If a device stops working there is simply...

Page 11: ...h You can use a direct or crossed network cable The CM MIDI can also be connected directly to a computer if necessary 2 1 1 2 RUN LED The RUN LED indicates the status of the CM MIDI firmware LED blink...

Page 12: ...ction 2 1 1 5 1 Normal reset If you press shortly less than 5 seconds the push button the CM MIDI performs a soft reset and restarts as if power has been applied 2 1 1 5 2 Factory reset If you press a...

Page 13: ...MIDI IN 1 The MIDI IN port 7 is associated with RTP MIDI endpoint 1 MIDI data received on this port are transmitted to all partners which opened a session with endpoint 1 2 1 2 1 3 MIDI OUT 1 The MID...

Page 14: ...with gears Open the System Preferences then click on Network icon You will get the following window The static configuration recommended for RTP MIDI is activated by choosing Manually in the Configure...

Page 15: ...on and enter the IP address and subnet mask you want to use for your computer here we have used IP address 192 168 0 4 with subnet mask 255 255 255 0 Remember that this configuration method is the one...

Page 16: ...parameters The computer will now display a list of all network connections available on your computer The LAN connections are identified by the icon of computers with a network plug WiFi connections s...

Page 17: ...one we recommend for RTP MIDI If you want to use a DHCP server to get automatically an IP address click on Get automatically an IP address button Remember that you may have some difficulties to find...

Page 18: ...elf installing package both for Windows and Mac OS platforms On Windows machines execute the program named setup exe On Mac OS machines open the dmg installation package Just follow the instructions g...

Page 19: ...10 address Enter the IP address of the CM MIDI in the four edition boxes located in the Add Kiss Box manually panel and click Add Box button The KissBox Editor will then try to connect to the CM MIDI...

Page 20: ...ort TCP mirror port and UDP port are not used by the RTP MIDI application If you change any network parameter of the CM MIDI do not forget to click on Upload button to store the new parameters in the...

Page 21: ...in the network Do not forget that your DHCP server may be configured to provide addresses in a different network In that case you will need to adapt the computer s configuration once the KissBox is r...

Page 22: ...m Double click on the RTP MIDI endpoint you want to configure The following window will then open The Bonjour Session name is used to identify the KissBox in Bonjour service You can use any name limit...

Page 23: ...ssBox product or from the computer driver as explained in the next section If you want to activate the Session Initiator functionnality for a given endpoint enter the IP address and the control port n...

Page 24: ...issBox Editor where you see MIDI IN OUT 1 or MIDI IN OUT 2 Click then on the Monitor button The following window will then appear Each LED on this window will light when MIDI messages are transmitted...

Page 25: ...ions If you get a warning in XP about the installation of a non signed driver you can safely ignore it Just click on Continue button if the window appears We recommend you also to install the Bonjour...

Page 26: ...ply how the RTP MIDI ports will appear in your MIDI application in other terms their names Each time you create a session you add a new pair of MIDI ports one MIDI IN and one MIDI OUT in your system w...

Page 27: ...y in the IP communication stack which allows to create different receivers and transmitters within the same IP address If we go back to the city model we use at the beginning of this guide you can say...

Page 28: ...automatically This indicates that the remote device does not answer correctly to invitation This can happen in the following cases the remote device been disconnected from the network without being s...

Page 29: ...elow for details on how to get the control port number for KissBox devices using the following format xx xx xx xx yyyy where xx xx xx xx is the IP address and yyyy is the Control Port number On the sc...

Page 30: ...complete WiFi setup in order to use the CM MIDI as an interface for the iOS devices You can find this document in the Manuals section of the download page of KissBox website iPad WiFi RTP MIDI Integr...

Page 31: ...e the three jumpers on positions with the O symbol on the printed circuit board 8 If you want to have a MIDI IN place two jumpers on positions with the I symbol on the printed circuit board The third...

Page 32: ...follow the instructions given in the Wizard to upload a new firmware in the CM MIDI Using a pen tip or a small screwdriver push and hold the small pushbutton located behind the CM MIDI front panel 5 W...

Page 33: ...8 Document revisions Date Auteur Version Description 01 04 2014 B Bouchez 1 0 First document release Page 33 of 33...

Reviews: