| 1 | <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.0//EN"> |
|---|
| 2 | |
|---|
| 3 | <book id="Hydrogen-manual" lang="en"> |
|---|
| 4 | |
|---|
| 5 | <bookinfo> |
|---|
| 6 | <title>Hydrogen Manual</title> |
|---|
| 7 | <authorgroup> |
|---|
| 8 | <author> |
|---|
| 9 | <firstname>Antonio</firstname> |
|---|
| 10 | <surname>Piraino</surname> |
|---|
| 11 | </author> |
|---|
| 12 | <author> |
|---|
| 13 | <firstname>Alessandro</firstname> |
|---|
| 14 | <surname>Cominu</surname> |
|---|
| 15 | </author> |
|---|
| 16 | </authorgroup> |
|---|
| 17 | |
|---|
| 18 | <date>22/may/2005</date> |
|---|
| 19 | |
|---|
| 20 | <abstract> |
|---|
| 21 | <para> |
|---|
| 22 | Hydrogen is a software synthetizer which is able to be used either by itself, |
|---|
| 23 | emulating a drum machine based on patterns, or via an external MIDI |
|---|
| 24 | keyboard/sequencer software. Hydrogen compiles on Linux/x86 and MAC OSX, although the latter is still experimental, so ask in our devel mailing list for further details. |
|---|
| 25 | </para> |
|---|
| 26 | </abstract> |
|---|
| 27 | </bookinfo> |
|---|
| 28 | |
|---|
| 29 | <!-- |
|---|
| 30 | ################### |
|---|
| 31 | # PRIMO CAPITOLO # |
|---|
| 32 | ################### |
|---|
| 33 | --> |
|---|
| 34 | |
|---|
| 35 | <chapter id="introduction"> |
|---|
| 36 | <title>Introduction</title> |
|---|
| 37 | |
|---|
| 38 | <sect1 id="download"> |
|---|
| 39 | <title>Download</title> |
|---|
| 40 | <para> |
|---|
| 41 | The latest stable version of hydrogen is available at |
|---|
| 42 | <ulink url="http://hydrogen.sourceforge.net">http://hydrogen.sourceforge.net</ulink> or <ulink url="http://hydrogen-music.org">http://hydrogen-music.org</ulink> |
|---|
| 43 | </para> |
|---|
| 44 | <para> |
|---|
| 45 | It is possible to download the source files directly from CVS snapshots with: |
|---|
| 46 | |
|---|
| 47 | <screen><prompt>bash$</prompt> <command>cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/hydrogen co hydrogen</command></screen> |
|---|
| 48 | |
|---|
| 49 | </para> |
|---|
| 50 | |
|---|
| 51 | <para> |
|---|
| 52 | Compiling Hydrogen depends on the following libraries: |
|---|
| 53 | <itemizedlist mark='opencircle'> |
|---|
| 54 | <listitem> |
|---|
| 55 | <para>libsndfile at <ulink url='http://www.mega-nerd.com/libsndfile/'>http://www.mega-nerd.com/libsndfile/</ulink></para> |
|---|
| 56 | </listitem> |
|---|
| 57 | <listitem> |
|---|
| 58 | <para>qt (>= 3.2) at <ulink url='http://www.trolltech.com'>http://www.trolltech.com</ulink></para> |
|---|
| 59 | </listitem> |
|---|
| 60 | <listitem> |
|---|
| 61 | <para>ALSA (>= 1.x) at <ulink url='http://www.alsa-project.com'>http://www.alsa-project.com</ulink> (only if you wish to use ALSA as audio driver)</para> |
|---|
| 62 | </listitem> |
|---|
| 63 | <listitem> |
|---|
| 64 | <para>Jack Audio Connection Kit (>= 0.80) at <ulink url='http://jackit.sourceforge.net'>http://jackit.sourceforge.net</ulink> (only if you wish to use Jack as audio driver)</para> |
|---|
| 65 | </listitem> |
|---|
| 66 | </itemizedlist> |
|---|
| 67 | </para> |
|---|
| 68 | </sect1> |
|---|
| 69 | |
|---|
| 70 | <sect1 id="compilazione"> |
|---|
| 71 | <title>Build</title> |
|---|
| 72 | <para> |
|---|
| 73 | After having downloaded and decompressed the tar.gz file there's only to: |
|---|
| 74 | |
|---|
| 75 | <screen> |
|---|
| 76 | <prompt>$</prompt> <command>cd hydrogen-*</command> |
|---|
| 77 | <prompt>$</prompt> <command>./configure</command> |
|---|
| 78 | <prompt>$</prompt> <command>make</command> |
|---|
| 79 | <prompt>$</prompt> <command>su -c "make install"</command> |
|---|
| 80 | </screen> |
|---|
| 81 | </para> |
|---|
| 82 | |
|---|
| 83 | <para> |
|---|
| 84 | Before compiling, check for additional options with: |
|---|
| 85 | <screen> |
|---|
| 86 | <prompt>$</prompt><command>./configure --help</command> |
|---|
| 87 | </screen> |
|---|
| 88 | Namely, if you get some error while running Hydrogen and you want to report it remember to configure the makefile with: |
|---|
| 89 | <screen> |
|---|
| 90 | <prompt>$</prompt><command>./configure --enable-debug</command> |
|---|
| 91 | </screen> |
|---|
| 92 | |
|---|
| 93 | Please note that at the moment no binary packaging (.rpm, .deb, ...) is available. Contributors are welcome. Also remember to compile with at least a GCC 3.x to be 100% sure to avoid any possible problem. |
|---|
| 94 | </para> |
|---|
| 95 | </sect1> |
|---|
| 96 | |
|---|
| 97 | <!-- prokoudine ? |
|---|
| 98 | <sect1 id='basics'> |
|---|
| 99 | <title>[TODO] BASICS</title> |
|---|
| 100 | <para> |
|---|
| 101 | explain and develop basics about the technology behind software of this kind |
|---|
| 102 | </para> |
|---|
| 103 | </sect1> |
|---|
| 104 | --> |
|---|
| 105 | |
|---|
| 106 | <sect1 id="configurazioneAudioDriver"> |
|---|
| 107 | <title>Audio driver configuration</title> |
|---|
| 108 | <para> |
|---|
| 109 | It's very important to choose the proper audio driver for our system, since |
|---|
| 110 | the choice may influence quite much general performances. The choice is between |
|---|
| 111 | Oss audio driver, ALSA and Jack audio driver. |
|---|
| 112 | </para> |
|---|
| 113 | <sect2 id="ossDriver"> |
|---|
| 114 | <title>OSS audio driver</title> |
|---|
| 115 | <para> |
|---|
| 116 | The Oss audio driver uses /dev/dsp and it's based on the OSS interface which is |
|---|
| 117 | supported by the vast majority of sound cards available for linux; this said, |
|---|
| 118 | the use of this audio driver blocks /dev/dsp until Hydrogen is closed i.e. unusable |
|---|
| 119 | by any other software. Use it as last resource. |
|---|
| 120 | </para> |
|---|
| 121 | </sect2> |
|---|
| 122 | <sect2 id="jackDriver"> |
|---|
| 123 | <title>Jack audio driver</title> |
|---|
| 124 | <para> |
|---|
| 125 | The Jack driver is a professional audio server which permits very low lag and exchanges with other |
|---|
| 126 | audio software. <emphasis>We strongly recommend using this driver to have the best out of Hydrogen</emphasis>. |
|---|
| 127 | It needs its server running, so remember to launch it before Hydrogen. [TODO INSERT notes about features of jack related and possible binding with other software like ardour] |
|---|
| 128 | </para> |
|---|
| 129 | </sect2> |
|---|
| 130 | <sect2 id="alsaDriver"> |
|---|
| 131 | <title>ALSA audio driver</title> |
|---|
| 132 | <para> |
|---|
| 133 | NEW! Now Hydrogen works also with ALSA, the new Linux standard audio drivers. |
|---|
| 134 | </para> |
|---|
| 135 | </sect2> |
|---|
| 136 | </sect1> |
|---|
| 137 | </chapter> |
|---|
| 138 | |
|---|
| 139 | <!-- |
|---|
| 140 | #################### |
|---|
| 141 | # SECONDO CAPITOLO # |
|---|
| 142 | #################### |
|---|
| 143 | --> |
|---|
| 144 | |
|---|
| 145 | <chapter id="GUI"> |
|---|
| 146 | <title>GUI</title> |
|---|
| 147 | |
|---|
| 148 | <sect1 id="main"> |
|---|
| 149 | <title>The main toolbar</title> |
|---|
| 150 | <para>Before analyzing the two main frames of Hydrogen, let's take a quick look at the main toolbar:</para> |
|---|
| 151 | |
|---|
| 152 | <mediaobject> |
|---|
| 153 | <imageobject> |
|---|
| 154 | <imagedata fileref="img/MainToolbar.png" format="png"> |
|---|
| 155 | </imageobject> |
|---|
| 156 | </mediaobject> |
|---|
| 157 | |
|---|
| 158 | <itemizedlist mark="opencircle"> |
|---|
| 159 | <listitem><para><inlinemediaobject><imageobject> |
|---|
| 160 | <imagedata fileref="img/background_Control.png" format="png"> |
|---|
| 161 | </imageobject></inlinemediaobject> |
|---|
| 162 | </para><para>Main controls to start <emphasis role="bold">[Hotkey = Spacebar]</emphasis>, stop, fast forward, rewind, loop a song or a pattern.</para> |
|---|
| 163 | </listitem> |
|---|
| 164 | |
|---|
| 165 | <listitem><para><inlinemediaobject><imageobject> |
|---|
| 166 | <imagedata fileref="img/background_Mode.png" format="png"> |
|---|
| 167 | </imageobject></inlinemediaobject></para><para>Set Pattern/Song Mode.</para></listitem> |
|---|
| 168 | |
|---|
| 169 | <listitem><para><inlinemediaobject><imageobject> |
|---|
| 170 | <imagedata fileref="img/background_BPM.png" format="png"> |
|---|
| 171 | </imageobject></inlinemediaobject></para><para>Set speed of playing (range: 30-400 bpm) <emphasis role="bold">[Hotkey = mouse wheel]</emphasis> and button to enable/disable metronome</para></listitem> |
|---|
| 172 | |
|---|
| 173 | <listitem><para><inlinemediaobject><imageobject> |
|---|
| 174 | <imagedata fileref="img/cpuload.png" format="png"> |
|---|
| 175 | </imageobject></inlinemediaobject></para><para>Shows CPU load.</para></listitem> |
|---|
| 176 | |
|---|
| 177 | <listitem><para><inlinemediaobject><imageobject> |
|---|
| 178 | <imagedata fileref="img/midi_in.png" format="png"> |
|---|
| 179 | </imageobject></inlinemediaobject></para><para>Shows MIDI events.</para></listitem> |
|---|
| 180 | |
|---|
| 181 | <listitem><para><inlinemediaobject><imageobject> |
|---|
| 182 | <imagedata fileref="img/jack_transport.png" format="png"> |
|---|
| 183 | </imageobject></inlinemediaobject></para><para>Click to enable Jack transport: Hydrogen will work as 'slave' with another 'master' program (e.g. Ardour). This applet is only available if Jack Audio Driver is selected.</para></listitem> |
|---|
| 184 | </itemizedlist> |
|---|
| 185 | |
|---|
| 186 | <para>Other useful keybindings (not customizable for the moment):</para> |
|---|
| 187 | |
|---|
| 188 | <itemizedlist mark='opencircle'> |
|---|
| 189 | <listitem> |
|---|
| 190 | <para> |
|---|
| 191 | <emphasis role="bold">[CTRL + O]</emphasis> = Open File |
|---|
| 192 | </para> |
|---|
| 193 | </listitem> |
|---|
| 194 | <listitem> |
|---|
| 195 | <para> |
|---|
| 196 | <emphasis role="bold">[CTRL + S]</emphasis> = Save File |
|---|
| 197 | </para> |
|---|
| 198 | </listitem> |
|---|
| 199 | <listitem> |
|---|
| 200 | <para> |
|---|
| 201 | <emphasis role="bold">[Backspace]</emphasis> = Restart song or pattern from the beginning |
|---|
| 202 | </para> |
|---|
| 203 | </listitem> |
|---|
| 204 | </itemizedlist> |
|---|
| 205 | |
|---|
| 206 | </sect1> |
|---|
| 207 | |
|---|
| 208 | <sect1 id="songEditor"> |
|---|
| 209 | <title>Song Editor</title> |
|---|
| 210 | |
|---|
| 211 | <para> |
|---|
| 212 | The frame "Song Editor" (Fig. 1) shows the song we are creating; each blue coloured square appearing on this frame means a complete bar as shown in the Pattern Editor, which gathers the different parts of the song (e.g. intro, verse, bridge, chorus and so on). We have complete freedom to add, remove or move patterns in any order we prefer. We can also copy and paste patterns: use left mouse button to highlight an area and drag it around. Dragging with CTRL key pressed copies the patterns. |
|---|
| 213 | </para> |
|---|
| 214 | |
|---|
| 215 | <para> |
|---|
| 216 | The Song Editor comes with 5 buttons: |
|---|
| 217 | </para> |
|---|
| 218 | <para> |
|---|
| 219 | <inlinemediaobject> |
|---|
| 220 | <imageobject> |
|---|
| 221 | <imagedata fileref="img/bg_topPanel.png" format="png"> |
|---|
| 222 | </imageobject> |
|---|
| 223 | </inlinemediaobject> |
|---|
| 224 | </para> |
|---|
| 225 | |
|---|
| 226 | <itemizedlist mark='opencircle'> |
|---|
| 227 | <listitem> |
|---|
| 228 | <para><inlinemediaobject><imageobject> |
|---|
| 229 | <imagedata fileref="img/btn_new_on.png" format="png"> |
|---|
| 230 | </imageobject></inlinemediaobject> Create a new pattern (and asks for a name). |
|---|
| 231 | </para> |
|---|
| 232 | </listitem> |
|---|
| 233 | |
|---|
| 234 | <listitem> |
|---|
| 235 | <para><inlinemediaobject><imageobject> |
|---|
| 236 | <imagedata fileref="img/btn_updown.png" format="png"> |
|---|
| 237 | </imageobject></inlinemediaobject> Move currently selected pattern up or down. |
|---|
| 238 | </para> |
|---|
| 239 | </listitem> |
|---|
| 240 | |
|---|
| 241 | <listitem> |
|---|
| 242 | <para><inlinemediaobject><imageobject> |
|---|
| 243 | <imagedata fileref="img/btn_clear_off.png" format="png"> |
|---|
| 244 | </imageobject></inlinemediaobject> Completely delete all patterns (asks for confirmation!). |
|---|
| 245 | </para> |
|---|
| 246 | </listitem> |
|---|
| 247 | |
|---|
| 248 | <listitem> |
|---|
| 249 | <para><inlinemediaobject><imageobject> |
|---|
| 250 | <imagedata fileref="img/btn_select_off.png" format="png"> |
|---|
| 251 | </imageobject></inlinemediaobject> Enable selecting patterns for copy & paste. |
|---|
| 252 | </para> |
|---|
| 253 | </listitem> |
|---|
| 254 | |
|---|
| 255 | <listitem> |
|---|
| 256 | <para><inlinemediaobject><imageobject> |
|---|
| 257 | <imagedata fileref="img/btn_select_off.png" format="png"> |
|---|
| 258 | </imageobject></inlinemediaobject> Enable add/remove patterns. |
|---|
| 259 | </para> |
|---|
| 260 | </listitem> |
|---|
| 261 | </itemizedlist> |
|---|
| 262 | |
|---|
| 263 | <para> |
|---|
| 264 | Under these buttons there is a list of patterns created and when they will played (each square == 1 bar). Click |
|---|
| 265 | on an squarebox to add or cancel the pattern. Clicking on right mouse button over the name of a pattern will bring up a menu to change name of the pattern or to allow copying/deleting it. Patterns with very same name are not allowed. |
|---|
| 266 | </para> |
|---|
| 267 | |
|---|
| 268 | <mediaobject> |
|---|
| 269 | <imageobject> |
|---|
| 270 | <imagedata fileref="img/SongEditor.png" format="png"> |
|---|
| 271 | </imageobject> |
|---|
| 272 | <caption> |
|---|
| 273 | <para> |
|---|
| 274 | <emphasis role="bold">Fig. 1</emphasis> The Song Editor |
|---|
| 275 | </para> |
|---|
| 276 | </caption> |
|---|
| 277 | </mediaobject> |
|---|
| 278 | |
|---|
| 279 | </sect1> |
|---|
| 280 | |
|---|
| 281 | <sect1 id="patternEditor"> |
|---|
| 282 | <title>Pattern Editor</title> |
|---|
| 283 | <para> |
|---|
| 284 | The "Pattern Editor" frame (Fig. 2) let us create or modify the pattern (bar) which is being played, or add/remove notes and tune intensity as well. On the higher-left side you find a pair of LCD screens: the first one lets you choose a pattern to play between those created while the second represents the current grid resolution (4 through 64) and the 'three beats' bars (4T, 8T, 16T and 32T) plus a menu marked "size" which will let you visualize play only a part of the complete bar. Selecting an instrument which has at least one note in the pattern will show a few vertical bars (one per note) on the lowest part of this frame to allow tuning 'hard' or 'soft' beat. The button |
|---|
| 285 | |
|---|
| 286 | <inlinemediaobject> |
|---|
| 287 | <imageobject> |
|---|
| 288 | <imagedata fileref="img/btn_hear_on.png" format="png"> |
|---|
| 289 | </imageobject> |
|---|
| 290 | </inlinemediaobject> |
|---|
| 291 | |
|---|
| 292 | (hear new notes) will play the sample as it's been added to the pattern. Finally you can move an instrument up and down in the sequence with the buttons |
|---|
| 293 | |
|---|
| 294 | <inlinemediaobject> |
|---|
| 295 | <imageobject> |
|---|
| 296 | <imagedata fileref="img/btn_updown.png" format="png"> |
|---|
| 297 | </imageobject> |
|---|
| 298 | </inlinemediaobject> |
|---|
| 299 | |
|---|
| 300 | . A useful <quote>Quantize</quote> feature is available activating |
|---|
| 301 | |
|---|
| 302 | <inlinemediaobject> |
|---|
| 303 | <imageobject> |
|---|
| 304 | <imagedata fileref="img/btn_quant_over.png" format="png"> |
|---|
| 305 | </imageobject> |
|---|
| 306 | </inlinemediaobject> |
|---|
| 307 | |
|---|
| 308 | . This way the beats inserted will automatically respect the grid resolution currently applied. |
|---|
| 309 | </para> |
|---|
| 310 | |
|---|
| 311 | <mediaobject> |
|---|
| 312 | <imageobject> |
|---|
| 313 | <imagedata fileref="img/PatternEditor.png" format="png"> |
|---|
| 314 | </imageobject> |
|---|
| 315 | <caption> |
|---|
| 316 | <para> |
|---|
| 317 | <emphasis role="bold">Fig. 2</emphasis> The Pattern Editor |
|---|
| 318 | </para> |
|---|
| 319 | </caption> |
|---|
| 320 | |
|---|
| 321 | </mediaobject> |
|---|
| 322 | |
|---|
| 323 | <para> |
|---|
| 324 | Each instrument has its own set of features accessible right-clicking with your mouse on it; <quote><emphasis role="bold">Mute</emphasis></quote>, <quote><emphasis role="bold">Solo</emphasis></quote> are self-explaining while <quote><emphasis role="bold">Lock</emphasis></quote> locks the instrument belonging to a drumkit on that pattern even if you change drumkit: this way you can easily mess up more drumkits together and create your own! <quote><emphasis role="bold">Fill/Clear notes</emphasis></quote> fills or deletes every note of that instrument in the current pattern (remember that filling a pattern is always relative to the grid resolution set) and finally <quote><emphasis role="bold">Randomize velocity</emphasis></quote> automatically apply a pseudo-random velocity to each note of that instrument in the pattern. The more velocity you set on the instrument, the more hydrogen will hit <quote>hard</quote> on that instrument when played. |
|---|
| 325 | </para> |
|---|
| 326 | |
|---|
| 327 | <mediaobject> |
|---|
| 328 | <imageobject> |
|---|
| 329 | <imagedata fileref="img/PatternEditorInstr.png" format="png"> |
|---|
| 330 | </imageobject> |
|---|
| 331 | </mediaobject> |
|---|
| 332 | |
|---|
| 333 | <para>Also, you can set new beats clicking on |
|---|
| 334 | |
|---|
| 335 | <inlinemediaobject> |
|---|
| 336 | <imageobject> |
|---|
| 337 | <imagedata fileref="img/btn_record_off.png" format="png"> |
|---|
| 338 | </imageobject> |
|---|
| 339 | </inlinemediaobject> |
|---|
| 340 | |
|---|
| 341 | which enables direct input by MIDI events or by keyboard according to the following map key=instrument:</para> |
|---|
| 342 | |
|---|
| 343 | <para><emphasis>Note that the name of the instrument depends on the drumkit loaded. This list refers to the GMKit loaded by default. The position of the instrument, however, is the same.</emphasis></para> |
|---|
| 344 | |
|---|
| 345 | <itemizedlist> |
|---|
| 346 | <listitem><para>Z = Kick</para></listitem> |
|---|
| 347 | <listitem><para>X = Snare Jazz</para></listitem> |
|---|
| 348 | <listitem><para>C = Snare Rock</para></listitem> |
|---|
| 349 | <listitem><para>V = Tom Low</para></listitem> |
|---|
| 350 | <listitem><para>B = Tom Mid</para></listitem> |
|---|
| 351 | <listitem><para>N = Tom Hi</para></listitem> |
|---|
| 352 | <listitem><para>M = Cowbell</para></listitem> |
|---|
| 353 | <listitem><para>Q = Ride Jazz</para></listitem> |
|---|
| 354 | <listitem><para>W = Ride Rock</para></listitem> |
|---|
| 355 | <listitem><para>E = Instrument No. 17 (currently not assigned)</para></listitem> |
|---|
| 356 | <listitem><para>R = Instrument No. 18 (currently not assigned)</para></listitem> |
|---|
| 357 | <listitem><para>T = Instrument No. 20 (currently not assigned)</para></listitem> |
|---|
| 358 | <listitem><para>Y = Instrument No. 22 (currently not assigned)</para></listitem> |
|---|
| 359 | <listitem><para>U = Instrument No. 24 (currently not assigned)</para></listitem> |
|---|
| 360 | <listitem><para>S = Stick</para></listitem> |
|---|
| 361 | <listitem><para>D = Hand Clap</para></listitem> |
|---|
| 362 | <listitem><para>G = Closed HH</para></listitem> |
|---|
| 363 | <listitem><para>H = Pedal HH</para></listitem> |
|---|
| 364 | <listitem><para>J = Open HH</para></listitem> |
|---|
| 365 | <listitem><para>2 = Crash</para></listitem> |
|---|
| 366 | <listitem><para>3 = Crash Jazz</para></listitem> |
|---|
| 367 | <listitem><para>5 = Instrument No. 19 (currently not assigned)</para></listitem> |
|---|
| 368 | <listitem><para>6 = Instrument No. 21 (currently not assigned)</para></listitem> |
|---|
| 369 | <listitem><para>7 = Instrument No. 23 (currently not assigned)</para></listitem> |
|---|
| 370 | </itemizedlist> |
|---|
| 371 | |
|---|
| 372 | |
|---|
| 373 | <para>Here's a quick reference of the above bindings for your convenience. See <link linkend='creazioneSong'>Chapter 3</link> for a basic walkthrough of how the pattern editor works.</para> |
|---|
| 374 | |
|---|
| 375 | <mediaobject> |
|---|
| 376 | <imageobject> |
|---|
| 377 | <imagedata fileref="img/tastiera.png" format="png"> |
|---|
| 378 | </imageobject> |
|---|
| 379 | </mediaobject> |
|---|
| 380 | |
|---|
| 381 | </sect1> |
|---|
| 382 | |
|---|
| 383 | <sect1 id="mixer"> |
|---|
| 384 | <title>Mixer</title> |
|---|
| 385 | |
|---|
| 386 | <mediaobject> |
|---|
| 387 | <imageobject> |
|---|
| 388 | <imagedata fileref="img/Mixer.png" format="png"> |
|---|
| 389 | </imageobject> |
|---|
| 390 | <caption> |
|---|
| 391 | <para> |
|---|
| 392 | <emphasis role="bold">Fig. 3</emphasis> The Mixer |
|---|
| 393 | </para> |
|---|
| 394 | </caption> |
|---|
| 395 | </mediaobject> |
|---|
| 396 | |
|---|
| 397 | <para>The Mixer frame (Fig. 3) is useful for tuning a global or single volume of the current drumkit. It shows the current peak (click on |
|---|
| 398 | |
|---|
| 399 | <inlinemediaobject> |
|---|
| 400 | <imageobject> |
|---|
| 401 | <imagedata fileref="img/showPeaks_on.png" format="png"> |
|---|
| 402 | </imageobject> |
|---|
| 403 | </inlinemediaobject> |
|---|
| 404 | |
|---|
| 405 | to disable, useful on old CPUs) and let you set the maximum peak allowed (tune with the fader knob of the instrument), lets you modify attributes like pan |
|---|
| 406 | |
|---|
| 407 | <inlinemediaobject> |
|---|
| 408 | <imageobject> |
|---|
| 409 | <imagedata fileref="img/MixerPan.png" format="png"> |
|---|
| 410 | </imageobject> |
|---|
| 411 | </inlinemediaobject> |
|---|
| 412 | |
|---|
| 413 | , play solo |
|---|
| 414 | |
|---|
| 415 | <inlinemediaobject> |
|---|
| 416 | <imageobject> |
|---|
| 417 | <imagedata fileref="img/btn_solo_on.png" format="png"> |
|---|
| 418 | </imageobject> |
|---|
| 419 | </inlinemediaobject> |
|---|
| 420 | |
|---|
| 421 | , mute |
|---|
| 422 | |
|---|
| 423 | <inlinemediaobject> |
|---|
| 424 | <imageobject> |
|---|
| 425 | <imagedata fileref="img/btn_mute_on.png" format="png"> |
|---|
| 426 | </imageobject> |
|---|
| 427 | </inlinemediaobject> |
|---|
| 428 | |
|---|
| 429 | or test play only that instrument |
|---|
| 430 | |
|---|
| 431 | <inlinemediaobject> |
|---|
| 432 | <imageobject> |
|---|
| 433 | <imagedata fileref="img/btn_play_on_mixer.png" format="png"> |
|---|
| 434 | </imageobject> |
|---|
| 435 | </inlinemediaobject> |
|---|
| 436 | |
|---|
| 437 | ; selecting in the Pattern Editor an instrument causes a blue LED to light on (near the play button). Near the global volume knob, you can set 3 global effect such a swing (shifts a few notes back or forward not randomly), timing (modify timings of the notes) and humanize effect (random velocity editing). |
|---|
| 438 | </para> |
|---|
| 439 | |
|---|
| 440 | <para> |
|---|
| 441 | Double clicking over the name of an instrument in the Mixer frame will bring up a doubled face tool to modify many properties of that instrument. |
|---|
| 442 | </para> |
|---|
| 443 | |
|---|
| 444 | <para> |
|---|
| 445 | <inlinemediaobject> |
|---|
| 446 | <imageobject> |
|---|
| 447 | <imagedata fileref="img/instr_ed1.png" format="png"> |
|---|
| 448 | </imageobject> |
|---|
| 449 | </inlinemediaobject> |
|---|
| 450 | |
|---|
| 451 | <inlinemediaobject> |
|---|
| 452 | <imageobject> |
|---|
| 453 | <imagedata fileref="img/instr_ed0.png" format="png"> |
|---|
| 454 | </imageobject> |
|---|
| 455 | </inlinemediaobject> |
|---|
| 456 | </para> |
|---|
| 457 | |
|---|
| 458 | <para> |
|---|
| 459 | The first tab ('Instrument') lets you fine tune the instrument: you can adjust Attack, Decay, Sustain, Release, Cutoff and Resonance (both of which can be excluded) or even add a random pitch. |
|---|
| 460 | </para> |
|---|
| 461 | |
|---|
| 462 | <para> |
|---|
| 463 | The second tab ('Layer') can add WAV/AU/AIFF/FLAC samples up to 16 layers to the instrument according to the level of its velocity and tune pitch and gain. |
|---|
| 464 | </para> |
|---|
| 465 | |
|---|
| 466 | |
|---|
| 467 | <para> |
|---|
| 468 | In addition to all this you can set up to 4 special LADSPA effects for each instrument switching the |
|---|
| 469 | |
|---|
| 470 | <inlinemediaobject> |
|---|
| 471 | <imageobject> |
|---|
| 472 | <imagedata fileref="img/showFX_on.png" format="png"> |
|---|
| 473 | </imageobject> |
|---|
| 474 | </inlinemediaobject> |
|---|
| 475 | |
|---|
| 476 | button. See next section for a detailed overview. |
|---|
| 477 | |
|---|
| 478 | <mediaobject> |
|---|
| 479 | <imageobject> |
|---|
| 480 | <imagedata fileref="img/MixerFX.png" format="png"> |
|---|
| 481 | </imageobject> |
|---|
| 482 | </mediaobject> |
|---|
| 483 | |
|---|
| 484 | </para> |
|---|
| 485 | |
|---|
| 486 | </sect1> |
|---|
| 487 | |
|---|
| 488 | <sect1 id="ladspa"> |
|---|
| 489 | <title>LADSPA plugins</title> |
|---|
| 490 | <para>Hydrogen can also add effects to sounds using any LADSPA plugin library. You need to have installed the LADSPA sources (available from <ulink url="http://www.ladspa.org"><citetitle>http://www.ladspa.org</citetitle></ulink>) and while this will give a rough idea of how it works you should really have a taste of the real thing installing one or more of these libraries, it's as simple as a "make && make install":</para> |
|---|
| 491 | |
|---|
| 492 | <itemizedlist> |
|---|
| 493 | <listitem><para>SWH-Plugins available at <ulink url="http://plugin.org.uk"><citetitle>http://plugin.org.uk</citetitle></ulink>. Note that before compiling these plugins you need the FFTW tarball from <ulink url="http://www.fftw.org"><citetitle>http://www.fftw.org</citetitle></ulink>.</para></listitem> |
|---|
| 494 | |
|---|
| 495 | <listitem><para>CMT available at <ulink url="http://www.ladspa.org"><citetitle>http://www.ladspa.org</citetitle></ulink>.</para></listitem> |
|---|
| 496 | |
|---|
| 497 | <listitem><para>TAP available at <ulink url="http://tap-plugins.sf.net"><citetitle>http://tap-plugins.sf.net</citetitle></ulink>.</para></listitem> |
|---|
| 498 | |
|---|
| 499 | </itemizedlist> |
|---|
| 500 | |
|---|
| 501 | <para>Once you have installed a few plugins open a song you'd like add an effect to and select an instrument that has a few beats in the pattern. In the Mixer click on |
|---|
| 502 | |
|---|
| 503 | <inlinemediaobject> |
|---|
| 504 | <imageobject> |
|---|
| 505 | <imagedata fileref="img/showFX_on.png" format="png"> |
|---|
| 506 | </imageobject> |
|---|
| 507 | </inlinemediaobject> |
|---|
| 508 | |
|---|
| 509 | and select one of the four available effect line Click on the Edit button ( |
|---|
| 510 | |
|---|
| 511 | <inlinemediaobject> |
|---|
| 512 | <imageobject> |
|---|
| 513 | <imagedata fileref="img/edit_off.png" format="png"> |
|---|
| 514 | </imageobject> |
|---|
| 515 | </inlinemediaobject> |
|---|
| 516 | |
|---|
| 517 | ), than on <quote>Select the FX</quote>: this will bring up another window (Fig. 3) that lets you choose an effect amongst those installed, they are alphabetically sorted and categorized. Once you're done, adjust the level from the mixer and start playing. Each round knob in the FX part controls the level of its effect. If you want to quickly enable/disable the effect click the Bypass ( |
|---|
| 518 | |
|---|
| 519 | <inlinemediaobject> |
|---|
| 520 | <imageobject> |
|---|
| 521 | <imagedata fileref="img/bypass_over.png" format="png"> |
|---|
| 522 | </imageobject> |
|---|
| 523 | </inlinemediaobject>) |
|---|
| 524 | |
|---|
| 525 | |
|---|
| 526 | button.</para> |
|---|
| 527 | |
|---|
| 528 | |
|---|
| 529 | <mediaobject> |
|---|
| 530 | <imageobject> |
|---|
| 531 | <imagedata fileref="img/MixerFXSelect.png" format="png"> |
|---|
| 532 | </imageobject> |
|---|
| 533 | <caption> |
|---|
| 534 | <para> |
|---|
| 535 | <emphasis role="bold">Fig. 3</emphasis> Select an effect. |
|---|
| 536 | </para> |
|---|
| 537 | </caption> |
|---|
| 538 | </mediaobject> |
|---|
| 539 | |
|---|
| 540 | </sect1> |
|---|
| 541 | |
|---|
| 542 | <sect1 id="menu"> |
|---|
| 543 | <title>Menu</title> |
|---|
| 544 | <para> |
|---|
| 545 | From the pull-down menus it's worth noticing: File-->'Save as' to save the current song in .h2song format, File-->Export to export it in WAV/MID format, File--> |
|---|
| 546 | |
|---|
| 547 | |
|---|
| 548 | <link linkend="prefs">Preferences</link>, Window--> |
|---|
| 549 | |
|---|
| 550 | <link linkend="audioengine">Audio Engine Info</link> and Window--> |
|---|
| 551 | |
|---|
| 552 | <link linkend="drumkit">Drumkit manager</link>. |
|---|
| 553 | |
|---|
| 554 | </para> |
|---|
| 555 | |
|---|
| 556 | <sect2 id="prefs"> |
|---|
| 557 | <title>Preferences</title> |
|---|
| 558 | <para> |
|---|
| 559 | From the "Audio System" tab (Fig. 4) it is possible to modify the audio driver being used (OSS, Jack, ALSA, PortAudio) with its buffer and sampling rate. We can also set some features of Hydrogen like <quote>Enable track outputs</quote> useful if you want to add effects to a single instrument with jack-rack; <quote>Connect to Default Output Pair</quote> simply connects ALSA output to the default ports: uncheck this if you want to connect jack output to other ports without disconnecting them first. Keep an eye also on the value of "Polyphony": depending on your CPU you may want to change the max simultaneous notes in order to prevent hydrogen from xrun. Clicking on the "Midi System" tab (Fig. 5) will select a menu to enable a MIDI device, a specific channel or all of them, while clicking on "Appearance" tab (Fig. 6) let's you to modify font size, type of frame (Child or Top Level) and speed of mixer's peaks falloff and QT style of the windows. |
|---|
| 560 | </para> |
|---|
| 561 | <mediaobject> |
|---|
| 562 | <imageobject> |
|---|
| 563 | <imagedata fileref="img/PreferencesAudioSystem.png" format="png"> |
|---|
| 564 | </imageobject> |
|---|
| 565 | <caption> |
|---|
| 566 | <para> |
|---|
| 567 | <emphasis role="bold">Fig. 4</emphasis> The Audio System tab |
|---|
| 568 | </para> |
|---|
| 569 | </caption> |
|---|
| 570 | |
|---|
| 571 | </mediaobject> |
|---|
| 572 | |
|---|
| 573 | <mediaobject> |
|---|
| 574 | <imageobject> |
|---|
| 575 | <imagedata fileref="img/PreferencesMidiSystem.png" format="png"> |
|---|
| 576 | </imageobject> |
|---|
| 577 | <caption> |
|---|
| 578 | <para> |
|---|
| 579 | <emphasis role="bold">Fig. 5</emphasis> The MIDI System tab |
|---|
| 580 | </para> |
|---|
| 581 | </caption> |
|---|
| 582 | |
|---|
| 583 | </mediaobject> |
|---|
| 584 | |
|---|
| 585 | <mediaobject> |
|---|
| 586 | <imageobject> |
|---|
| 587 | <imagedata fileref="img/PreferencesAppearance.png" format="png"> |
|---|
| 588 | </imageobject> |
|---|
| 589 | <caption> |
|---|
| 590 | <para> |
|---|
| 591 | <emphasis role="bold">Fig. 6</emphasis> The Appeareance tab |
|---|
| 592 | </para> |
|---|
| 593 | </caption> |
|---|
| 594 | </mediaobject> |
|---|
| 595 | |
|---|
| 596 | </sect2> |
|---|
| 597 | |
|---|
| 598 | <sect2 id="audioengine"> |
|---|
| 599 | <title>Audio engine info</title> |
|---|
| 600 | <para> |
|---|
| 601 | This tab (Fig. 7) will bring up a window with general infos about Hydrogen and audio driver. Buffer and sampling rate of Jack audio driver are customizable when the server is started from the shell. |
|---|
| 602 | </para> |
|---|
| 603 | |
|---|
| 604 | <mediaobject> |
|---|
| 605 | <imageobject> |
|---|
| 606 | <imagedata fileref="img/AudioEngineInfoDialog.png" format="png"> |
|---|
| 607 | </imageobject> |
|---|
| 608 | <caption> |
|---|
| 609 | <para> |
|---|
| 610 | <emphasis role="bold">Fig. 7</emphasis> The Audio Engine Info window. Better check that cpu-meter on old systems and crowded /proc dir ;) |
|---|
| 611 | </para> |
|---|
| 612 | </caption> |
|---|
| 613 | </mediaobject> |
|---|
| 614 | </sect2> |
|---|
| 615 | |
|---|
| 616 | |
|---|
| 617 | <sect2 id="drumkit"> |
|---|
| 618 | <title>Drumkit manager</title> |
|---|
| 619 | <para> |
|---|
| 620 | |
|---|
| 621 | The drumkit manager shows all the options concerning drumkits, i.e. groups of sounds (WAV or FLAC) to be binded with every track available so to obtain a proper "groove" according to the situation (disco music, rock, hip hop, etc.). To let you have a rough idea of a good example of use of these drumkits, it is advisable to play the associated .h2song sample song. |
|---|
| 622 | </para> |
|---|
| 623 | |
|---|
| 624 | <para> |
|---|
| 625 | From the first screen (Fig. 8) we can load/delete the drumkit, with a short description. Here (Fig. 9) we can save some infos about the current drumkit and from here (Fig. 10) we can import a drumkit (.h2drumkit) (Fig. 11) or export it (Fig. 12). |
|---|
| 626 | </para> |
|---|
| 627 | |
|---|
| 628 | <mediaobject> |
|---|
| 629 | <imageobject> |
|---|
| 630 | <imagedata fileref="img/DrumkitLoad.png" format="png"> |
|---|
| 631 | </imageobject> |
|---|
| 632 | <caption> |
|---|
| 633 | <para> |
|---|
| 634 | <emphasis role="bold">Fig. 8</emphasis> Load drumkit. Choose from those installed. |
|---|
| 635 | </para> |
|---|
| 636 | </caption> |
|---|
| 637 | |
|---|
| 638 | </mediaobject> |
|---|
| 639 | |
|---|
| 640 | <mediaobject> |
|---|
| 641 | <imageobject> |
|---|
| 642 | <imagedata fileref="img/DrumkitSave.png" format="png"> |
|---|
| 643 | </imageobject> |
|---|
| 644 | <caption> |
|---|
| 645 | <para> |
|---|
| 646 | <emphasis role="bold">Fig. 9</emphasis> Save drumkit. |
|---|
| 647 | </para> |
|---|
| 648 | </caption> |
|---|
| 649 | </mediaobject> |
|---|
| 650 | |
|---|
| 651 | <mediaobject> |
|---|
| 652 | <imageobject> |
|---|
| 653 | <imagedata fileref="img/DrumkitImport.png" format="png"> |
|---|
| 654 | </imageobject> |
|---|
| 655 | <caption> |
|---|
| 656 | <para> |
|---|
| 657 | <emphasis role="bold">Fig. 10</emphasis> Import drumkit. |
|---|
| 658 | </para> |
|---|
| 659 | </caption> |
|---|
| 660 | </mediaobject> |
|---|
| 661 | |
|---|
| 662 | <mediaobject> |
|---|
| 663 | <imageobject> |
|---|
| 664 | <imagedata fileref="img/DrumkitExport.png" format="png"> |
|---|
| 665 | </imageobject> |
|---|
| 666 | <caption> |
|---|
| 667 | <para> |
|---|
| 668 | <emphasis role="bold">Fig. 11</emphasis> Export drumkit. |
|---|
| 669 | </para> |
|---|
| 670 | </caption> |
|---|
| 671 | </mediaobject> |
|---|
| 672 | |
|---|
| 673 | </sect2> |
|---|
| 674 | </sect1> |
|---|
| 675 | |
|---|
| 676 | </chapter> |
|---|
| 677 | |
|---|
| 678 | <!-- |
|---|
| 679 | ################## |
|---|
| 680 | # CAPITOLO TERZO # |
|---|
| 681 | ################# |
|---|
| 682 | --> |
|---|
| 683 | |
|---|
| 684 | <chapter id="creazioneSong"> |
|---|
| 685 | <title>A new song</title> |
|---|
| 686 | <sect1 id="SongVSpattern"> |
|---|
| 687 | <title>"Song" mode and "Pattern" mode</title> |
|---|
| 688 | <para> |
|---|
| 689 | This is just a quick-and-dirty walkthrough to Hydrogen. Refer to the tutorial for a more detailed overview. |
|---|
| 690 | </para> |
|---|
| 691 | |
|---|
| 692 | <para> |
|---|
| 693 | Hydrogen has 2 main modes: "Pattern" mode and "Song" mode (refer to <link linkend="main">this section</link> for the buttons to activate). When "Pattern" mode is activated the current pattern is continously repeated, so to help changing it until we don't like it, while "Song" mode repeats only the current pattern: this is useful when putting together the patterns, to create the whole structure for the song. |
|---|
| 694 | </para> |
|---|
| 695 | </sect1> |
|---|
| 696 | |
|---|
| 697 | <sect1 id="creazionePattern"> |
|---|
| 698 | <title>A new pattern</title> |
|---|
| 699 | <para> |
|---|
| 700 | We'll start from an empty song with an empty pattern, as created by default: "pattern" mode should be selected now. It is also possible to change name of the pattern. Now let's click on the <quote>Play</quote> button and while the pattern is playing let's add notes in the grid of the Song Editor (Fig. 12) simply left_mouse_clicking on it: adjust grid resolution and BPM speed if needed. Rememeber some constraints of the grid: if you are working with a resolution of 16 you can't go back to 8 and remove a 16th note; same thing happens if you are working with a resolution of 8 and you try to insert a note in the middle of two bars (looking for a 16 bars precision): they will be placed on the previous or on the following 8th bar (unless you choose <quote>off</quote> from the Grid Resolution LCD, in this case you're free to place notes wherever you prefer). <emphasis role="bold">Be sure to select the correct pattern in the Song Editor before adding notes in the Pattern Editor!</emphasis> |
|---|
| 701 | </para> |
|---|
| 702 | |
|---|
| 703 | <mediaobject> |
|---|
| 704 | <imageobject> |
|---|
| 705 | <imagedata fileref="img/PatternEditor.png" format="png"> |
|---|
| 706 | </imageobject> |
|---|
| 707 | <caption> |
|---|
| 708 | <para> |
|---|
| 709 | <emphasis role="bold">Fig. 12</emphasis> The Pattern Editor |
|---|
| 710 | </para> |
|---|
| 711 | </caption> |
|---|
| 712 | </mediaobject> |
|---|
| 713 | </sect1> |
|---|
| 714 | |
|---|
| 715 | <sect1 id="creazioneSequenza"> |
|---|
| 716 | <title>A new sequence</title> |
|---|
| 717 | <para> |
|---|
| 718 | Once patterns are created (Fig. 13), we can copy/paste/delete them simply dragging with the mouse (activate the select mode for the Song Editor and keep pressed left mouse button to select those you want to move or copy). |
|---|
| 719 | </para> |
|---|
| 720 | |
|---|
| 721 | <mediaobject> |
|---|
| 722 | <imageobject> |
|---|
| 723 | <imagedata fileref="img/SongEditor.png" format="png"> |
|---|
| 724 | </imageobject> |
|---|
| 725 | <caption> |
|---|
| 726 | <para> |
|---|
| 727 | <emphasis role="bold">Fig. 13</emphasis> Inserting notes in a pattern |
|---|
| 728 | </para> |
|---|
| 729 | </caption> |
|---|
| 730 | </mediaobject> |
|---|
| 731 | |
|---|
| 732 | </sect1> |
|---|
| 733 | |
|---|
| 734 | <sect1 id="operazioniMixer"> |
|---|
| 735 | <title>Adjust from the mixer</title> |
|---|
| 736 | <para> |
|---|
| 737 | Of course we can always use the mixer window, either when creating or playing patterns. |
|---|
| 738 | </para> |
|---|
| 739 | |
|---|
| 740 | <para> |
|---|
| 741 | The Mixer frame (Fig. 14) is made of 32 independent tracks, each of these is binded to an |
|---|
| 742 | instrument, plus a "Master Output" line to adjust general output volume and a "FX" button to set effects. Every line features 3 buttons ( |
|---|
| 743 | |
|---|
| 744 | <inlinemediaobject> |
|---|
| 745 | <imageobject> |
|---|
| 746 | <imagedata fileref="img/btn_play_on_mixer.png" format="png"> |
|---|
| 747 | </imageobject> |
|---|
| 748 | </inlinemediaobject> |
|---|
| 749 | |
|---|
| 750 | <inlinemediaobject> |
|---|
| 751 | <imageobject> |
|---|
| 752 | <imagedata fileref="img/btn_solo_on.png" format="png"> |
|---|
| 753 | </imageobject> |
|---|
| 754 | </inlinemediaobject> |
|---|
| 755 | |
|---|
| 756 | <inlinemediaobject> |
|---|
| 757 | <imageobject> |
|---|
| 758 | <imagedata fileref="img/btn_mute_on.png" format="png"> |
|---|
| 759 | </imageobject> |
|---|
| 760 | </inlinemediaobject> |
|---|
| 761 | |
|---|
| 762 | ), pan adjust ( |
|---|
| 763 | |
|---|
| 764 | <inlinemediaobject> |
|---|
| 765 | <imageobject> |
|---|
| 766 | <imagedata fileref="img/MixerPan.png" format="png"> |
|---|
| 767 | </imageobject> |
|---|
| 768 | </inlinemediaobject> |
|---|
| 769 | |
|---|
| 770 | ), current maximum peak, volume fader and name of the track. Clicking on |
|---|
| 771 | |
|---|
| 772 | <inlinemediaobject> |
|---|
| 773 | <imageobject> |
|---|
| 774 | <imagedata fileref="img/btn_solo_on.png" format="png"> |
|---|
| 775 | </imageobject> |
|---|
| 776 | </inlinemediaobject> |
|---|
| 777 | |
|---|
| 778 | will play the selected instrument, cutting the others. The "Mute" |
|---|
| 779 | button |
|---|
| 780 | |
|---|
| 781 | <inlinemediaobject> |
|---|
| 782 | <imageobject> |
|---|
| 783 | <imagedata fileref="img/btn_mute_on.png" format="png"> |
|---|
| 784 | </imageobject> |
|---|
| 785 | </inlinemediaobject> |
|---|
| 786 | |
|---|
| 787 | , simply mute <emphasis>that</emphasis> instrument. The maximun peak indicates the maximun volume reached |
|---|
| 788 | from the instrument; the peak must be in a range of 0.0 and 1.0 (in Fig. 14 you can see a few volumes too loud), otherwise it will get distorted producing a weird sound (especially with OSS audio driver), in this case it's better to set volume down; keep an eye on each vu-meter. |
|---|
| 789 | </para> |
|---|
| 790 | |
|---|
| 791 | <mediaobject> |
|---|
| 792 | <imageobject> |
|---|
| 793 | <imagedata fileref="img/Mixer.png" format="png"> |
|---|
| 794 | </imageobject> |
|---|
| 795 | <caption> |
|---|
| 796 | <para> |
|---|
| 797 | <emphasis role="bold">Fig. 14</emphasis> The mixer |
|---|
| 798 | </para> |
|---|
| 799 | </caption> |
|---|
| 800 | </mediaobject> |
|---|
| 801 | </sect1> |
|---|
| 802 | </chapter> |
|---|
| 803 | </book> |
|---|
| 804 | |
|---|