Browse files

rename midi.send to midi.output and midi.receive to midi.input

  • Loading branch information...
1 parent e3716d5 commit 7152606a71d1f5e577502e3dfa933e4e859d18b3 @aalex committed Mar 13, 2012
Showing with 6 additions and 6 deletions.
  1. +1 −1 examples/midi-receive.xml
  2. +1 −1 examples/toonloop-music.xml
  3. +2 −2 plugins-base/baselibrary.cpp
  4. +2 −2 src/tempi-midi-looper/main.cpp
View
2 examples/midi-receive.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<tempi version="0.1.9">
<graph>
- <node id="midireceive0" class="midi.receive">
+ <node id="midireceive0" class="midi.input">
<attribute name="port">
<i>0</i>
</attribute>
View
2 examples/toonloop-music.xml
@@ -64,7 +64,7 @@
<connection from="close0" outlet="0" to="prepend_channel" inlet="0"/>
<connection from="prepend_channel" outlet="0" to="cast_CCC" inlet="0"/>
- <node id="midi_out" class="midi.send">
+ <node id="midi_out" class="midi.output">
<attribute name="port"><i>0</i></attribute>
</node>
<connection from="cast_CCC" outlet="0" to="midi_out" inlet="0"/>
View
4 plugins-base/baselibrary.cpp
@@ -110,8 +110,8 @@ void BaseLibrary::load(NodeFactory &factory, const char *prefix) const
#endif // HAVE_CLUTTER
// TODO: #ifdef HAVE_STK
- factory.registerTypeT<MidiReceiverNode>(concatenate("midi.", "receive").c_str());
- factory.registerTypeT<MidiSenderNode>(concatenate("midi.", "send").c_str());
+ factory.registerTypeT<MidiReceiverNode>(concatenate("midi.", "input").c_str());
+ factory.registerTypeT<MidiSenderNode>(concatenate("midi.", "output").c_str());
factory.registerTypeT<MidiRouteNode>(concatenate("midi.", "route").c_str());
// TODO: #endif // HAVE_STK
View
4 src/tempi-midi-looper/main.cpp
@@ -283,9 +283,9 @@ bool App::setupGraph()
if (verbose_)
std::cout << "Add nodes\n";
// Create objects:
- graph->addNode("midi.receive", "midi.recv0");
+ graph->addNode("midi.input", "midi.recv0");
graph->addNode("sampler.sampler", "sampler.sampler0");
- graph->addNode("midi.send", "midi.send0");
+ graph->addNode("midi.output", "midi.send0");
graph->addNode("base.print", "base.print0");
graph->addNode("base.print", "base.print1");

0 comments on commit 7152606

Please sign in to comment.