diff options
Diffstat (limited to 'src/gui/machina.ui')
-rw-r--r-- | src/gui/machina.ui | 66 |
1 files changed, 42 insertions, 24 deletions
diff --git a/src/gui/machina.ui b/src/gui/machina.ui index b48df7d..bb1b711 100644 --- a/src/gui/machina.ui +++ b/src/gui/machina.ui @@ -2,15 +2,29 @@ <interface> <requires lib="gtk+" version="2.16"/> <!-- interface-naming-policy toplevel-contextual --> + <object class="GtkRadioAction" id="record_action"> + <property name="stock_id">gtk-media-record</property> + <property name="draw_as_radio">True</property> + </object> + <object class="GtkRadioAction" id="play_action"> + <property name="stock_id">gtk-media-play</property> + <property name="draw_as_radio">True</property> + <property name="group">record_action</property> + </object> + <object class="GtkRadioAction" id="stop_action"> + <property name="stock_id">gtk-media-stop</property> + <property name="draw_as_radio">True</property> + <property name="group">record_action</property> + </object> <object class="GtkAboutDialog" id="about_win"> <property name="can_focus">False</property> <property name="destroy_with_parent">True</property> <property name="type_hint">normal</property> + <property name="program_name">Machina</property> <property name="copyright" translatable="yes">© 2013 David Robillard <http://drobilla.net></property> <property name="comments" translatable="yes">A MIDI sequencer based on probabilistic finite-state automata</property> <property name="website">http://drobilla.net/software/machina</property> - <property name="website_label" translatable="yes">Website:</property> <property name="license" translatable="yes">Machina is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or @@ -99,17 +113,24 @@ along with Machina; if not, write to the Free Software Foundation, Inc., <property name="can_focus">False</property> <property name="xalign">0</property> <property name="yalign">0</property> - <property name="label" translatable="yes">Initial nodes are shown with a thick border. -Selector nodes are shown in green. + <property name="label" translatable="yes">Nodes represent notes, which have a pitch and duration. When a node is +highlighted green, it is playing. After a node is finished playing, play +travels along the outgoing arcs, depending on their probability. + +Nodes with dashed borders are selectors. Only one successor is played after a +selector, i.e. only one outgoing arc is traversed. + +A machine can be constructed with the mouse or by recording MIDI input. To +record, press the record button and play some MIDI notes. To finish recording, +press stop or play and the new nodes will be added to the machine. -- Right click canvas to create a new node -- Middle click nodes to learn a MIDI note for that node -- Right click two nodes in succession to connect nodes -- Double click a node to show its properties dialog -- Ctrl+Left click a node to make it an initial node -- Ctrl+Right click a node to make it a selector node -- Ctrl+Left click edge probabilities to decrease -- Ctrl+Right click edge probabilities to increase</property> +• Right click the canvas to create a new node +• Middle click a node to learn a MIDI note +• Click two nodes in succession to connect them +• Double click a node to show its properties dialog +• Ctrl+Left click a node to make it a selector +• Ctrl+Left click an edge to decrease its probability +• Ctrl+Right click an edge to increase its probability</property> </object> <packing> <property name="expand">True</property> @@ -353,12 +374,11 @@ Selector nodes are shown in green. <property name="toolbar_style">icons</property> <property name="show_arrow">False</property> <child> - <object class="GtkToggleToolButton" id="record_but"> - <property name="use_action_appearance">False</property> + <object class="GtkToggleToolButton" id="stop_but"> + <property name="related_action">stop_action</property> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Record</property> - <property name="stock_id">gtk-media-record</property> + <property name="use_underline">True</property> </object> <packing> <property name="expand">False</property> @@ -366,12 +386,12 @@ Selector nodes are shown in green. </packing> </child> <child> - <object class="GtkToolButton" id="stop_but"> - <property name="use_action_appearance">False</property> + <object class="GtkToggleToolButton" id="play_but"> + <property name="related_action">play_action</property> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Stop</property> - <property name="stock_id">gtk-media-stop</property> + <property name="tooltip_text" translatable="yes">Play</property> + <property name="active">True</property> </object> <packing> <property name="expand">False</property> @@ -379,13 +399,11 @@ Selector nodes are shown in green. </packing> </child> <child> - <object class="GtkToggleToolButton" id="play_but"> - <property name="use_action_appearance">False</property> + <object class="GtkToggleToolButton" id="record_but"> + <property name="related_action">record_action</property> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Play</property> - <property name="stock_id">gtk-media-play</property> - <property name="active">True</property> + <property name="tooltip_text" translatable="yes">Record</property> </object> <packing> <property name="expand">False</property> |