<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >The Midi Manager</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.61 "><LINK REL="HOME" TITLE="The aRts Handbook" HREF="index.html"><LINK REL="UP" TITLE="MIDI" HREF="midi.html"><LINK REL="PREVIOUS" TITLE="MIDI" HREF="midi.html"><LINK REL="NEXT" TITLE="Using aRts & Brahms" HREF="brahms.html"><META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"><LINK REL="stylesheet" HREF="common/kde-common.css" TYPE="text/css"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><META HTTP-EQUIV="Content-Language" CONTENT="en"><LINK REL="stylesheet" HREF="common/kde-localised.css" TYPE="text/css" TITLE="KDE-English"><LINK REL="stylesheet" HREF="common/kde-default.css" TYPE="text/css" TITLE="KDE-Default"></HEAD ><BODY CLASS="SECT1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#AA0000" VLINK="#AA0055" ALINK="#AA0000" STYLE="font-family: sans-serif;" ><DIV CLASS="logoheader" ><A HREF="http://www.kde.org/" ><IMG SRC="common/logotp3.png" BORDER="0" ALT="The K Desktop Environment" HEIGHT="62" WIDTH="229"></A ></DIV ><DIV CLASS="NAVHEADER" ><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >The <SPAN CLASS="APPLICATION" >aRts</SPAN > Handbook</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="midi.html" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Chapter 5. <SPAN CLASS="ACRONYM" >MIDI</SPAN ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="brahms.html" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="MIDI-MANAGER" >5.2. The Midi Manager</A ></H1 ><P >The central component in aRts that keeps track which applications are connected and how midi events should be passed between them is the midi manager. To see or influence what it does, start artscontrol. Then, choose <SPAN CLASS="GUILABEL" >View</SPAN >+<SPAN CLASS="GUILABEL" >View Midi Manager</SPAN > over the menu.</P ><P >On the left side, you will see <SPAN CLASS="GUILABEL" >Midi Inputs</SPAN >. There, all objects that produce midi events, such as an external midi port which sends data from a connected midi keyboard, a sequencer which plays a song and so on will be listed. On the right side, you will see <SPAN CLASS="GUILABEL" >Midi Outputs</SPAN >. There, all things that consume midi events, such as a simulated sampler (as software), or the external midi port where your hardware sampler outside your computer is connected will be listed. New applications, such as sequencers and so on will register themselves, so the list will be changing over time.</P ><P >You can connect inputs and outputs if you mark the input on the left side and the output on the right side, and choose <SPAN CLASS="GUILABEL" >Connect</SPAN > with the button below. <SPAN CLASS="GUILABEL" >Disconnect</SPAN > works the same. You will see what is connected as small lines between the inputs and outputs, in the middle of the window. Note that you can connect one sender to more than one receiver (and the other way round).</P ><P >Programs (like the Brahms sequencer) will add themselves when they start and be removed from the list when they are terminated. But you can also add new things in the <SPAN CLASS="GUILABEL" >Add</SPAN > menu: <DIV CLASS="VARIABLELIST" ><DL ><DT ><SPAN CLASS="GUIMENUITEM" >System Midi Port (OSS)</SPAN ></DT ><DD ><P >This will create a new aRts object that talks to an external midi port. As external midi ports can do both, send and receive data, choosing this option will add a midi input and a midi output. Under linux, you should either have an OSS (or OSS/Free, the thing that comes with your linux kernel) or an ALSA driver for your soundcard installed, to make it work. It will ask for the name of the device. Usually, this is /dev/midi or /dev/midi00. However, if you have more than one midi device or a midi loopback driver installed, there might be more choices. To see information about your midi ports, start the KDE Control Center, and choose <SPAN CLASS="GUILABEL" >Information</SPAN >+<SPAN CLASS="GUILABEL" >Sound</SPAN >.</P ></DD ><DT ><SPAN CLASS="GUIMENUITEM" >aRts Synthesis Midi Output</SPAN ></DT ><DD ><P >This will add a new midi output with an aRts synthesis instrument. If you choose the menu item, a dialog will pop up, and allow you to choose an instrument. You can create new instruments using artsbuilder. All .arts-files with a name that starts with "instrument_" will appear here.</P ></DD ></DL ></DIV ></P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="midi.html" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="brahms.html" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><SPAN CLASS="ACRONYM" >MIDI</SPAN ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="midi.html" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Using <SPAN CLASS="APPLICATION" >aRts</SPAN > & Brahms</TD ></TR ></TABLE ></DIV ></BODY ></HTML >