forked from hydrogen-music/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanual_es.html
61 lines (57 loc) · 177 KB
/
manual_es.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Manual de Hydrogen</title><meta name="generator" content="DocBook XSL Stylesheets V1.79.1"><meta name="description" content="Hydrogen is a software synthesizer which can be used alone, emulating a drum machine based on patterns, or via an external MIDI keyboard/sequencer software. Hydrogen compiles on Linux, Mac OS X and Windows."></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div lang="en" class="book"><div class="titlepage"><div><div><h1 class="title"><a name="Hydrogen-manual"></a>Manual de Hydrogen</h1></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="firstname">Antonio</span> <span class="surname">Piraino</span></h3></div><div class="author"><h3 class="author"><span class="firstname">Alessandro</span> <span class="surname">Cominu</span></h3></div><div class="author"><h3 class="author"><span class="firstname">Thijs</span> <span class="surname">Van Severen</span></h3></div><div class="author"><h3 class="author"><span class="firstname">Sebastian</span> <span class="surname">Moors</span></h3></div></div></div><div><div class="abstract"><p class="title"><b>Resumen</b></p><p>Hydrogen is a software synthesizer which can be used alone, emulating a drum machine based on patterns, or via an external MIDI keyboard/sequencer software. Hydrogen compiles on Linux, Mac OS X and Windows.</p></div></div></div><hr></div><div class="toc"><p><b>Tabla de contenidos</b></p><dl class="toc"><dt><span class="chapter"><a href="#chap.introduction">1. Introducción</a></span></dt><dd><dl><dt><span class="section"><a href="#sect.download">1. Descarga</a></span></dt><dt><span class="section"><a href="#sect.compilation">2. Compilación</a></span></dt><dt><span class="section"><a href="#sect.preferences">3. Preferences</a></span></dt></dl></dd><dt><span class="chapter"><a href="#chap.using_hydrogen">2. Utilizar Hydrogen</a></span></dt><dd><dl><dt><span class="section"><a href="#sect.file_types">1. Tipos de Archivo</a></span></dt><dt><span class="section"><a href="#sect.keyboard_and_mouse">2. Keyboard and Mouse</a></span></dt><dt><span class="section"><a href="#sect.UIoverview">3. The main User Interface : an overview</a></span></dt><dt><span class="section"><a href="#sect.main_menu">4. Menú principal</a></span></dt><dt><span class="section"><a href="#sect.main_toolbar">5. Barra de herramientas principal</a></span></dt><dt><span class="section"><a href="#sect.song_editor">6. Editor de Canciones</a></span></dt><dt><span class="section"><a href="#sect.pattern_editor">7. Editor de Patrones</a></span></dt><dt><span class="section"><a href="#sect.mixer">8. Mezclador</a></span></dt><dt><span class="section"><a href="#sect.sound_library">9. Sound Library (Drumkit/Pattern/Song Manager)</a></span></dt><dt><span class="section"><a href="#sect.instrument_editing">10. Edición de Drumkits e Instrumentos</a></span></dt><dt><span class="section"><a href="#sect.midi">11. Midi</a></span></dt><dt><span class="section"><a href="#sect.osc">12. OSC</a></span></dt></dl></dd><dt><span class="chapter"><a href="#chap.create_song">3. Una nueva canción</a></span></dt><dd><dl><dt><span class="section"><a href="#sect.song_vs_pattern">1. Modo "Canción" y modo "Patrón"</a></span></dt><dt><span class="section"><a href="#sect.create_pattern">2. Un nuevo patrón</a></span></dt><dt><span class="section"><a href="#sect.create_sequence">3. Una nueva secuencia</a></span></dt><dt><span class="section"><a href="#sect.create_song.adjust_mixer">4. Configura desde el mezclador</a></span></dt></dl></dd><dt><span class="chapter"><a href="#chap.shortcuts">4. Shortcut lists</a></span></dt><dt><span class="glossary"><a href="#glossary">Glosario</a></span></dt></dl></div><div class="list-of-figures"><p><b>Lista de figuras</b></p><dl><dt>1.1. <a href="#fig.preferences.general_tab">The General Tab</a></dt><dt>1.2. <a href="#fig.preferences.audio_tab">La pestaña de Sistema de Audio</a></dt><dt>1.3. <a href="#fig.preferences.midi_tab">La pestaña de Sistema Midi</a></dt><dt>1.4. <a href="#fig.preferences.appearance_tab">La pestaña de Apariencia</a></dt><dt>1.5. <a href="#fig.preferences.audio_engine_tab">La pestaña de Motor de Audio</a></dt><dt>2.1. <a href="#fig.UI_overview">The Main UI in Single Pane mode</a></dt><dt>2.2. <a href="#fig.tabbed_UI_overview">The Main UI in Tabbed mode</a></dt><dt>2.3. <a href="#fig.main_toolbar">Barra de Herramientas Principal</a></dt><dt>2.4. <a href="#fig.song_editor">El Editor de Canciones</a></dt><dt>2.5. <a href="#fig.song_editor.virtualPattern.selectedMenu">The Pattern Options menu</a></dt><dt>2.6. <a href="#fig.Export_song">Export a song</a></dt><dt>2.7. <a href="#fig.PatternEditor_DrumMode">Pattern Editor in Drum mode</a></dt><dt>2.8. <a href="#fig.PatternEditorControls">Pattern Editor Controls</a></dt><dt>2.9. <a href="#fig.PatternEditor_PianoMode">Pattern Editor in Piano mode</a></dt><dt>2.10. <a href="#fig.mixer">El Mezclador</a></dt><dt>2.11. <a href="#fig.select_effect">Select an Effect</a></dt><dt>2.12. <a href="#fig.SoundlibraryHierarchy">Soundlibrary/Drumkit hierarchy</a></dt><dt>2.13. <a href="#fig.soundlibrary">The Soundlibrary</a></dt><dt>2.14. <a href="#fig.import_drumkit">Import Drumkit</a></dt><dt>2.15. <a href="#instrumenteditor.general">The Instrument editor General view</a></dt><dt>2.16. <a href="#instrumenteditor.layers">The Instrument editor Layers view</a></dt><dt>2.17. <a href="#sample.editor">The Sample Editor</a></dt><dt>3.1. <a href="#fig.pattern_editor.2">El Editor de Patrones</a></dt><dt>3.2. <a href="#fig.insert_patterns">Inserting Patterns in the Song sequence</a></dt><dt>3.3. <a href="#fig.mixer.2">El Mezclador</a></dt></dl></div><div class="list-of-tables"><p><b>Lista de tablas</b></p><dl><dt>4.1. <a href="#sect.shortcut.table">Shortcut table</a></dt></dl></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="chap.introduction"></a>Capítulo 1. Introducción</h1></div></div></div><div class="toc"><p><b>Tabla de contenidos</b></p><dl class="toc"><dt><span class="section"><a href="#sect.download">1. Descarga</a></span></dt><dt><span class="section"><a href="#sect.compilation">2. Compilación</a></span></dt><dt><span class="section"><a href="#sect.preferences">3. Preferences</a></span></dt><dd><dl><dt><span class="section"><a href="#sect.preferences.general_tab">3.1. The General tab</a></span></dt><dt><span class="section"><a href="#sect.preferences.audio_tab">3.2. La pestaña de Sistema de Audio</a></span></dt><dt><span class="section"><a href="#sect.preferences.midi_tab">3.3. La pestaña de Sistema Midi</a></span></dt><dt><span class="section"><a href="#sect.preferences.appearance_tab">3.4. La pestaña de Apariencia</a></span></dt><dt><span class="section"><a href="#sect.preferences.audio_engine_tab">3.5. The Audio Engine tab (debug only)</a></span></dt></dl></dd></dl></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect.download"></a>1. Descarga</h2></div></div></div><p>You can download Hydrogen from <a class="ulink" href="http://www.hydrogen-music.org/hcms/node/21" target="_top">http://www.hydrogen-music.org</a>. On the 'Downloads' page you can find several binaries (installers) for Linux, Mac and Windows. (note that some versions may not be available for Windows and Mac) </p><p>If you want to compile Hydrogen yourself (see <a class="xref" href="#sect.compilation" title="2. Compilación">Sección 2</a>), you can download the latest source files directly from our git repository with: </p><pre class="screen"><code class="prompt">$</code> <span class="command"><strong>git clone git://github.com/hydrogen-music/hydrogen.git</strong></span></pre><p> A certain release can be fetched with: </p><pre class="screen"><code class="prompt">$</code> <span class="command"><strong>git checkout tags/1.0.0</strong></span></pre><p>
</p><p>Compiling Hydrogen depends on the following libraries (among others):</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: opencircle; "><li class="listitem" style="list-style-type: circle"><p>Qt 5 at <a class="ulink" href="http://www.qt.io" target="_top">http://www.qt.io</a></p></li><li class="listitem" style="list-style-type: circle"><p>libsndfile en <a class="ulink" href="http://www.mega-nerd.com/libsndfile/" target="_top">http://www.mega-nerd.com/libsndfile/</a></p></li><li class="listitem" style="list-style-type: circle"><p>ALSA (>= 1.x) at <a class="ulink" href="http://www.alsa-project.org" target="_top">http://www.alsa-project.org</a> (only if you wish to use ALSA as audio driver)</p></li><li class="listitem" style="list-style-type: circle"><p>Jack Audio Connection Kit (>= 0.80) en <a class="ulink" href="http://jackaudio.org/" target="_top">http://jackaudio.org/</a> (sólo si quieres usar JACK como driver de audio)</p></li><li class="listitem" style="list-style-type: circle"><p>PortAudio en <a class="ulink" href="http://www.portaudio.com" target="_top">http://www.portaudio.com</a> (sólo si quieres usar PortAudio como driver de audio)</p></li><li class="listitem" style="list-style-type: circle"><p>PulseAudio at <a class="ulink" href="http://www.pulseaudio.org" target="_top">http://www.pulseaudio.org</a> (only if you wish to use PulseAudio as audio driver)</p></li><li class="listitem" style="list-style-type: circle"><p>Flac en <a class="ulink" href="http://flac.sf.net" target="_top">http://flac.sf.net</a> (sólo si quieres usar samples en flac)</p></li><li class="listitem" style="list-style-type: circle"><p>ladspa at <a class="ulink" href="http://www.ladspa.org" target="_top">http://www.ladspa.org</a> (only if you wish to use ladspa effects)</p></li><li class="listitem" style="list-style-type: circle"><p>liblrdf at <a class="ulink" href="http://sf.net/projects/lrdf" target="_top">http://sf.net/projects/lrdf</a> (only if you wish to use lrdf to categorise effects)</p></li><li class="listitem" style="list-style-type: circle"><p>lash en <a class="ulink" href="http://lash.nongnu.org" target="_top">http://lash.nongnu.org</a> (sólo si quieres usar lash)</p></li></ul></div><p>Please install them with your distribution's package manager. If you're running a Debian-based system, you can install the libraries with:</p><pre class="screen"><code class="prompt">$</code> <span class="command"><strong>apt-get install qtbase5-dev qtbase5-dev-tools \
qttools5-dev qttools5-dev-tools libqt5xmlpatterns5-dev \
libarchive-dev libsndfile1-dev libasound2-dev liblo-dev \
libpulse-dev libcppunit-dev liblrdf-dev \
liblash-compat-dev librubberband-dev libjack-jackd2-dev</strong></span>
</pre></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect.compilation"></a>2. Compilación</h2></div></div></div><p>Depending on the branch you are compiling you will need to use cmake. Check the INSTALL.txt and the README.txt files for more info (located in the top level dir once you downloaded the sources).</p><p>Compiling with cmake can be done easily by using the build.sh script. Go to the directory where the git repository was cloned and run the build.sh script without any arguments to display the help :</p><pre class="screen"><code class="prompt">$</code> <span class="command"><strong>./build.sh</strong></span>
</pre><p>The help is now displayed (and is self-explanatory) : </p><pre class="screen"><span class="command"><strong> r[m] =
> all built, temp and cache files</strong></span>
<span class="command"><strong> c[lean] =
> remove cache files</strong></span>
<span class="command"><strong> m[ake] =
> launch the build process</strong></span>
<span class="command"><strong> d[oc] =
> build html documentation</strong></span>
<span class="command"><strong> g[raph] =
> draw a dependencies graph</strong></span>
<span class="command"><strong> h[elp] =
> show the build options</strong></span>
<span class="command"><strong> x|exec =
> execute hydrogen</strong></span>
<span class="command"><strong> t[ests] =
> execute tests</strong></span>
<span class="command"><strong> p[kg] =
> build source package</strong></span>
<span class="command"><strong>ex: ./build.sh r m pkg x</strong></span>
</pre><p>To build Hydrogen run the build script with the 'm' option : </p><pre class="screen"><code class="prompt">$</code> <span class="command"><strong>./build.sh m</strong></span>
</pre></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect.preferences"></a>3. Preferences</h2></div></div></div><p>First of all you should make sure that the audio engine is configured properly. The preferences dialog can be accessed via the tools menu (tools -> preferences).</p><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.preferences.general_tab"></a>3.1. The General tab</h3></div></div></div><p>On the "General" tab (<a class="xref" href="#fig.preferences.general_tab" title="Figura 1.1. The General Tab">Figura 1.1</a>) you can choose to automatically reopen the last used song and/or playlist. This can save you the trouble of having to reopen the song you are working on every time you open Hydrogen. Auto loading the playlist can come in handy when you are using Hydrogen live.</p><p>If you want to use Lash for session management you should enable it here so Hydrogen allows interaction with Lash.</p><p>The Beat Counter drift compensation and start offset allow you to compensate for system latency when you are using the Beat Counter function (see <a class="xref" href="#sect.tap_tempo" title="5.1. Tap Tempo y Contador de Pulsaciones (BeatCounter)">Tap Tempo and BeatCounter</a>)</p><p>The Max number of bars in a song can be set here (currently limited to 800) and if you want to use rubberband for sample time-stretching (see <a class="xref" href="#sect.layer_editing.section2" title="10.5.2. Sample Editor rubberband">Sección 10.5.2</a>) you need to enter the path where rubberband is installed on you system here.</p><div class="figure"><a name="fig.preferences.general_tab"></a><p class="title"><b>Figura 1.1. The General Tab</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/PreferencesGeneral_V3.png" alt="The General Tab"></div></div></div><br class="figure-break"></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.preferences.audio_tab"></a>3.2. La pestaña de Sistema de Audio</h3></div></div></div><p>From the "Audio System" tab (<a class="xref" href="#fig.preferences.audio_tab" title="Figura 1.2. La pestaña de Sistema de Audio">Figura 1.2</a>) it is possible to modify the audio driver being used (OSS, Jack, ALSA, PortAudio, PulseAudio, CoreAudio, Auto) with its buffer and sampling rate (unless you are using JACK, in this case the audio driver configuration should happen before starting the JACK server).</p><p>Also keep an eye on the value of "Polyphony": depending on your CPU you may want to change the max simultaneous notes in order to prevent hydrogen from overrunning the audio driver.</p><p>The "Interpolate resampling" parameter allows you to select your preferred interpolation method.</p><div class="figure"><a name="fig.preferences.audio_tab"></a><p class="title"><b>Figura 1.2. La pestaña de Sistema de Audio</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/PreferencesAudioSystem_V3.png" alt="La pestaña de Sistema de Audio"></div></div></div><br class="figure-break"><p>Están disponibles los siguientes drivers: </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><span class="bold"><strong>Auto</strong></span>: Hydrogen will try a number of different drivers in a predetermined order, choose the first working one, and display the result. This option is recommended for beginners.</p></li><li class="listitem"><p><span class="bold"><strong>Jack</strong></span>: The Jack driver is a professional audio server which permits very low lag and exchanges with other audio software. <span class="emphasis"><em>We strongly recommend using this driver to have the best out of Hydrogen</em></span>. JACK server will start automatically if not already running.</p><p>Available options:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "><li class="listitem"><p><span class="bold"><strong>Track output</strong></span>: This options determines which audio settings will be applied to the audio of the per-instrument output ports.</p><p>Post-Fader:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: square; "><li class="listitem"><p>note velocity</p></li><li class="listitem"><p>note and instrument pan</p></li><li class="listitem"><p>layer, instrument, and component gain</p></li><li class="listitem"><p>instrument and main component volume</p></li></ul></div><p>Pre-Fader:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: square; "><li class="listitem"><p>note velocity</p></li><li class="listitem"><p>layer gain</p></li></ul></div></li><li class="listitem"><p><span class="bold"><strong>BBT sync method</strong></span>: If Hydrogen uses Jack transport in the presence of an external Jack Timebase master (TBM), it will use the provided measure and tempo information instead of the local one of either the Song's tempo (see <a class="xref" href="#sect.main_toolbar" title="5. Barra de herramientas principal">Sección 5</a>) or the markers added to the Timeline (see <a class="xref" href="#sect.song_editor.tempo_and_markers" title="6.2. Tempo markers and song Tags">Sección 6.2</a>). But due to limitations in the current implementation, Hydrogen can not set both measure and speed provided by Jack for arbitrary pattern combinations. The user has two options. Either drop all measure changes in the TBM and work with tempo changes only to support arbitrary patterns (using option <span class="emphasis"><em>constant measure</em></span>) or to keep the length of each pattern consistent with the corresponding measure in the TBM and to use both tempo and measure provided by Jack (option <span class="emphasis"><em>matching bars</em></span>).</p><p>For this option to take effect the J. TRAMS button has to be activated and the J. MASTER button deactivated (next to having a Jack TBM application). See <a class="xref" href="#sect.main_toolbar" title="5. Barra de herramientas principal">Sección 5</a>.</p></li><li class="listitem"><p><span class="bold"><strong>Connect to Default Output Pair</strong></span>: Connects the main stereo output of the Mixer to the default ports of your system (<span class="emphasis"><em>system:playback_1</em></span> and <span class="emphasis"><em>system:playback_2</em></span>) every time Hydrogen starts up or the audio driver is restarted.</p></li><li class="listitem"><p><span class="bold"><strong>Create per-instrument outputs</strong></span>: In addition to the main stereo output Hydrogen will register Jack output ports for every single instrument. This can be useful if you want to add effects to a single instrument with jack-rack for example.</p></li></ul></div></li><li class="listitem"><p><span class="bold"><strong>Alsa</strong></span>: The widely adopted Linux standard audio drivers</p></li><li class="listitem"><p><span class="bold"><strong>OSS</strong></span>: The Oss audio driver uses /dev/dsp and it's based on the OSS interface which is supported by the vast majority of sound cards available for Linux; this said, the use of this audio driver blocks /dev/dsp until Hydrogen is closed i.e. unusable by any other software. Use it as last resort.</p></li><li class="listitem"><p><span class="bold"><strong>PortAudio</strong></span>: an open-source multi platform audio driver</p></li><li class="listitem"><p><span class="bold"><strong>CoreAudio</strong></span>: un driver para Mac OS X (experimental)</p></li><li class="listitem"><p><span class="bold"><strong>PulseAudio</strong></span>: a driver for the cross platform PulseAudio sound server.</p></li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.preferences.midi_tab"></a>3.3. La pestaña de Sistema Midi</h3></div></div></div><p>The "Midi System" tab (<a class="xref" href="#fig.preferences.midi_tab" title="Figura 1.3. La pestaña de Sistema Midi">Figura 1.3</a>) contains all MIDI settings. Here you can choose the MIDI driver (ALSA, PortMidi, CoreMidi or JackMidi) input, and channel(s) that Hydrogen should respond to. You can also define midi bindings: link a midi note/message to an action. To do this simply press the red 'REC' button left of the event-action binding line. A popup will inform you that Hydrogen is waiting for your input. Press/hit/turn the key/pad/knob on your midi keyboard (or controller) that you want to link to this action. The popup will close and the Event Param value will now show the midi note value of the key you pressed. Once this is done you can select an Action from the action drop-down list. Note that some actions (like SELECT_NEXT_PATTERN) also require an Action Param that references the pattern you want to select with this midi action.</p><p>See <a class="xref" href="#sect.midi" title="11. Midi">Sección 11</a> for more info on Midi actions.</p><div class="figure"><a name="fig.preferences.midi_tab"></a><p class="title"><b>Figura 1.3. La pestaña de Sistema Midi</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/PreferencesMidiSystem_V2.png" alt="La pestaña de Sistema Midi"></div></div></div><br class="figure-break"></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.preferences.appearance_tab"></a>3.4. La pestaña de Apariencia</h3></div></div></div><p>The "Appearance" tab (<a class="xref" href="#fig.preferences.appearance_tab" title="Figura 1.4. La pestaña de Apariencia">Figura 1.4</a>) let's you modify Hydrogen look and feel (font settings and interface style). On this tab you can also change the VU meters fall-off speed and switch between Single pane and Tabbed interface mode (see <a class="xref" href="#sect.UIoverview" title="3. The main User Interface : an overview">Sección 3</a>) </p><div class="figure"><a name="fig.preferences.appearance_tab"></a><p class="title"><b>Figura 1.4. La pestaña de Apariencia</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/PreferencesAppearance_V2.png" alt="La pestaña de Apariencia"></div></div></div><br class="figure-break"></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.preferences.audio_engine_tab"></a>3.5. The Audio Engine tab (debug only)</h3></div></div></div><p>The "Audio Engine" tab (<a class="xref" href="#fig.preferences.audio_engine_tab" title="Figura 1.5. La pestaña de Motor de Audio">Figura 1.5</a>) is a window that shows various stats about Hydrogen and the audio driver. In case JACK is used, buffer and sampling rate should be set in the configuration of the JACK server before starting Hydrogen (JACK automatically starts when an application tries to connect).</p><p>Note that the Audio Engine tab is only available if Hydrogen was compiled with debug support.</p><div class="figure"><a name="fig.preferences.audio_engine_tab"></a><p class="title"><b>Figura 1.5. La pestaña de Motor de Audio</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/AudioEngineInfoDialog.png" alt="La pestaña de Motor de Audio"></div></div></div><br class="figure-break"></div></div></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="chap.using_hydrogen"></a>Capítulo 2. Utilizar Hydrogen</h1></div></div></div><div class="toc"><p><b>Tabla de contenidos</b></p><dl class="toc"><dt><span class="section"><a href="#sect.file_types">1. Tipos de Archivo</a></span></dt><dt><span class="section"><a href="#sect.keyboard_and_mouse">2. Keyboard and Mouse</a></span></dt><dt><span class="section"><a href="#sect.UIoverview">3. The main User Interface : an overview</a></span></dt><dt><span class="section"><a href="#sect.main_menu">4. Menú principal</a></span></dt><dt><span class="section"><a href="#sect.main_toolbar">5. Barra de herramientas principal</a></span></dt><dd><dl><dt><span class="section"><a href="#sect.tap_tempo">5.1. Tap Tempo y Contador de Pulsaciones (BeatCounter)</a></span></dt></dl></dd><dt><span class="section"><a href="#sect.song_editor">6. Editor de Canciones</a></span></dt><dd><dl><dt><span class="section"><a href="#sect.song_editor.main_controls">6.1. Main controls</a></span></dt><dt><span class="section"><a href="#sect.song_editor.tempo_and_markers">6.2. Tempo markers and song Tags</a></span></dt><dt><span class="section"><a href="#sect.song_editor.director">6.3. Director</a></span></dt><dt><span class="section"><a href="#sect.song_editor.playbackTrack">6.4. Using a playback track</a></span></dt><dt><span class="section"><a href="#sect.song_editor.pattern_options">6.5. Patterns options</a></span></dt><dt><span class="section"><a href="#sect.song_editor.export_song">6.6. Exporting your song</a></span></dt></dl></dd><dt><span class="section"><a href="#sect.pattern_editor">7. Editor de Patrones</a></span></dt><dd><dl><dt><span class="section"><a href="#sect.pattern_editor.controls">7.1. Pattern Editor Controls</a></span></dt><dt><span class="section"><a href="#sect.pattern_editor.drumkit">7.2. Pattern Editor Drumkit</a></span></dt><dt><span class="section"><a href="#sect.pattern_editor.sequence_area">7.3. Pattern Editor Sequence area</a></span></dt><dt><span class="section"><a href="#sect.pattern_editor.note_properties">7.4. Pattern Editor Note Properties</a></span></dt><dt><span class="section"><a href="#sect.pattern_editor.piano_mode">7.5. Pattern Editor Piano mode</a></span></dt></dl></dd><dt><span class="section"><a href="#sect.mixer">8. Mezclador</a></span></dt><dd><dl><dt><span class="section"><a href="#sect.mixer.channel_strips">8.1. Instrument channel strips</a></span></dt><dt><span class="section"><a href="#sect.fx_rack_LADSPA">8.2. FX rack and LADSPA plugins</a></span></dt><dt><span class="section"><a href="#sect.master">8.3. Master section</a></span></dt></dl></dd><dt><span class="section"><a href="#sect.sound_library">9. Sound Library (Drumkit/Pattern/Song Manager)</a></span></dt><dd><dl><dt><span class="section"><a href="#sect.systemdrumkits">9.1. Drumkits del sistema</a></span></dt><dt><span class="section"><a href="#sect.userdrumkits">9.2. (Adding) User Drumkits</a></span></dt><dt><span class="section"><a href="#sect.sl.songs">9.3. Canciones en la Biblioteca de Sonidos</a></span></dt><dt><span class="section"><a href="#sect.sl.patterns">9.4. Patrones en la Biblioteca de Sonidos</a></span></dt></dl></dd><dt><span class="section"><a href="#sect.instrument_editing">10. Edición de Drumkits e Instrumentos</a></span></dt><dd><dl><dt><span class="section"><a href="#sect.instrument_editing.concepts">10.1. Conceptos</a></span></dt><dt><span class="section"><a href="#sect.instrument_editing.new_kit">10.2. Crear un Nuevo Drumkit</a></span></dt><dt><span class="section"><a href="#sect.instrument_editing.parameters">10.3. Parámetros de Instrumentos</a></span></dt><dt><span class="section"><a href="#sect.instrument_editing.new_instrument">10.4. Crear un Instrumento y Capas</a></span></dt><dt><span class="section"><a href="#sect.layer_editing">10.5. Sample Editor</a></span></dt><dt><span class="section"><a href="#sect.instrument_editing.tips">10.6. Consejos a la hora de Editar Instrumentos</a></span></dt></dl></dd><dt><span class="section"><a href="#sect.midi">11. Midi</a></span></dt><dd><dl><dt><span class="section"><a href="#sect.midi.events">11.1. Midi Events</a></span></dt><dt><span class="section"><a href="#sect.midi.actions">11.2. Midi Actions</a></span></dt></dl></dd><dt><span class="section"><a href="#sect.osc">12. OSC</a></span></dt><dd><dl><dt><span class="section"><a href="#sect.osc.messages">12.1. Controlling Hydrogen via OSC</a></span></dt><dt><span class="section"><a href="#sect.osc.feeback">12.2. Sending OSC feedback to other applications</a></span></dt></dl></dd></dl></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect.file_types"></a>1. Tipos de Archivo</h2></div></div></div><p>Antes de trabajar con Hydrogen, por favor familiarízate con estos archivos:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><span class="bold"><strong>*.h2pattern</strong></span>: Archivo XML que describe un sólo patrón. Los patrones son conjuntos de golpes y se gestionan en el editor de patrones.</p></li><li class="listitem"><p><span class="bold"><strong>*.h2song</strong></span>: Archivo XML que describe la canción entera (o secuencia). Las canciones son conjuntos de patrones con sus propiedades y se gestionan utilizando el editor de canciones</p></li><li class="listitem"><p><span class="bold"><strong>*.h2playlist</strong></span>: XML file describing a playlist. A Playlist is a (ordered) group of songs.</p></li><li class="listitem"><p><span class="bold"><strong>*.h2drumkit</strong></span>: Una carpeta comprimida y archivada que contiene todos los samples de sonidos que componen un "drumkit" (una batería) y un archivo XML de descripción. Los drumkits son básicamente un conjunto de samples.</p></li></ul></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect.keyboard_and_mouse"></a>2. Keyboard and Mouse</h2></div></div></div><p>The Hydrogen user interface is designed so that it can be used entirely with the mouse, with the exception of text entry. </p><p>The keyboard can also be used for navigating and editing in the pattern and song editors, using a combination of </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><span class="bold"><strong>Arrow keys</strong></span>: move the keyboard input cursor's position, or adjust values under the cursor. </p></li><li class="listitem"><p><span class="bold"><strong>Shift + Arrow keys</strong></span>: can be used to make selections of notes or pattern groups as if the mouse had been dragged over them. </p></li><li class="listitem"><p><span class="bold"><strong>Enter / Return</strong></span>: generally performs the same action as a mouse click, but can also start or end a move (or copy) of items in the same way a mouse drag would. </p></li><li class="listitem"><p><span class="bold"><strong>Tab / Shift + Tab</strong></span>: move between different areas of the main interface. </p></li><li class="listitem"><p><span class="bold"><strong>Delete</strong></span>: delete notes or patterns. </p></li><li class="listitem"><p><span class="bold"><strong>Escape</strong></span>: cancels an ongoing selection, move or copy. </p></li></ul></div><p>
</p><p>Note that the keyboard input cursor is hidden from view until one of the above keys is pressed. This keeps the display clear and uncluttered when using the mouse. </p><p>Most other keys on the keyboard can be used to play samples and enter notes in the same way a MIDI keyboard can be. </p></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect.UIoverview"></a>3. The main User Interface : an overview</h2></div></div></div><p>The Main UI comes in 2 flavors : the (classic) Single Pane mode (ideal for large- and medium size screens), and the Tabbed mode (optimized for netbook screen sizes). </p><p>Below you can see the main UI split up in 5 parts : the Main Menu, Main Toolbar, Song Editor, Pattern Editor and the Instrument and Sound Library Editor. These sections will be explained in detail further down in this manual.</p><div class="figure"><a name="fig.UI_overview"></a><p class="title"><b>Figura 2.1. The Main UI in Single Pane mode</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/GUI_Sections_0.9.5_v2.png" alt="The Main UI in Single Pane mode"></div></div></div><br class="figure-break"><div class="figure"><a name="fig.tabbed_UI_overview"></a><p class="title"><b>Figura 2.2. The Main UI in Tabbed mode</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/MainUI_tabbed.png" alt="The Main UI in Tabbed mode"></div></div></div><br class="figure-break"></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect.main_menu"></a>4. Menú principal</h2></div></div></div><p><span class="bold"><strong>Proyectos</strong></span>: este menú ofrece funciones relacionados con archivos.</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><span class="emphasis"><em>Nuevo</em></span> - Crear una canción nueva</p></li><li class="listitem"><p><span class="emphasis"><em>Mostrar Info</em></span> - Configurar propiedades generales de la canción como el nombre, autor, licencia y notas genéricas</p></li><li class="listitem"><p><span class="emphasis"><em>Abrir</em></span> - Abrir una canción</p></li><li class="listitem"><p><span class="emphasis"><em>Abrir Demo</em></span> - Abrir una canción demo (las demos se guardan en <span class="emphasis"><em>$INSTALLPATH/share/hydrogen/data/demo_songs</em></span>)</p></li><li class="listitem"><p><span class="emphasis"><em>Abrir reciente</em></span> - Abrir un menú mostrando las últimas canciones utilizadas</p></li><li class="listitem"><p><span class="emphasis"><em>Guardar</em></span> - Guardar cambios a la canción actual</p></li><li class="listitem"><p><span class="emphasis"><em>Guardar como</em></span> - Guardar canción actual especificando un nombre (ruta por defecto: <span class="emphasis"><em>$HOME/.hydrogen/data/songs)</em></span></p></li><li class="listitem"><p><span class="emphasis"><em>Abrir patrón</em></span> - Abrir un patrón guardado perteneciente al drumkit actual</p></li><li class="listitem"><p><span class="emphasis"><em>Exportar patrón como</em></span> - Guarda el patrón. Se guardará en <span class="emphasis"><em>$HOME/.hydrogen/data/patterns/nombre_drumkit</em></span></p></li><li class="listitem"><p><span class="emphasis"><em>Exportar archivo MIDI</em></span> - Exportar canción actual en formato MIDI</p></li><li class="listitem"><p><span class="emphasis"><em>Export song</em></span> - Export current song in WAV format (see <a class="xref" href="#sect.song_editor.export_song" title="6.6. Exporting your song">Export Song</a>)</p></li><li class="listitem"><p><span class="emphasis"><em>Export Lilypond file</em></span> - This is a first version of the LilyPond export. It has the following limitations: Only GM-kit is supported, No triplets support</p></li><li class="listitem"><p><span class="emphasis"><em>Salir</em></span> - Salir de Hydrogen</p></li></ul></div><p><span class="bold"><strong>Undo</strong></span>: Undo/Redo functions.</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><span class="emphasis"><em>Undo</em></span> - Lets you undo your last action</p></li><li class="listitem"><p><span class="emphasis"><em>Redo</em></span> - Lets you redo the last undone action</p></li><li class="listitem"><p><span class="emphasis"><em>Undo History</em></span> - Gives you an overview of your previous actions</p></li></ul></div><p><span class="bold"><strong>Instruments</strong></span>: this menu offers instruments functions.</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><span class="emphasis"><em>Añadir instrumento</em></span> - Añade un nuevo instrumento a tu drumkit actual</p></li><li class="listitem"><p><span class="emphasis"><em>Limpiar todo</em></span> - Borra todos los instrumentos del drumkit actual</p></li><li class="listitem"><p><span class="emphasis"><em>Add component</em></span>: - A component is a part of Hydrogen's instrument model. Each instrument consists of one or more components, and each component consists of one or more layers. </p><p>To make an example: A snare could have two components. One component includes sounds from the top side of the snare drum, and the other component includes the sounds from the bottom side of the snare drum (where the snare wires are fitted). Each component can consist of several layers (snare drum hits with different velocities). Now you can adjust the volume of the two components to build your ideal drum sound. If you want more of the attack, you can put in more of the "top head" component. If you want more of the snare wires, you put in more of the bottom component. </p></li></ul></div><p><span class="bold"><strong>Drumkits</strong></span>: this menu offers drumkit (sound libraries) functions.</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><span class="emphasis"><em>Save</em></span> - Saves all instruments settings (and their sound samples) in <span class="emphasis"><em>$HOME/.hydrogen/data/library_name</em></span> </p></li><li class="listitem"><p><span class="emphasis"><em>Export</em></span> - Compress all instruments samples and settings in a drumkit in <span class="emphasis"><em>$HOME/.hydrogen/data/library_name</em></span> </p></li><li class="listitem"><p><span class="emphasis"><em>Import</em></span> - Imports another drumkit from the local filesystem. To load another drumkit in your current working session of Hydrogen, read <a class="xref" href="#sect.sound_library" title="9. Sound Library (Drumkit/Pattern/Song Manager)">Instrument rack</a>. </p></li><li class="listitem"><p><span class="emphasis"><em>Online import</em></span> - Imports another drumkit from a remote location through an XML feed. The XML file that should be provided is <span class="bold"><strong>NOT</strong></span> RSS compliant (see <a class="ulink" href="http://www.hydrogen-music.org/feeds/drumkit_list.php" target="_top">Hydrogen website</a> for an example). To load another drumkit in your current working session of Hydrogen, read <a class="xref" href="#sect.sound_library" title="9. Sound Library (Drumkit/Pattern/Song Manager)">Instrument rack</a>. </p></li></ul></div><p><span class="bold"><strong>View</strong></span>:Opens the director, the playlist editor, the instrument rack and the general preferences window. </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><span class="emphasis"><em>Editor de lista de reproducción</em></span> - Una herramienta para gestionar listas de reproducción.</p></li><li class="listitem"><p><span class="emphasis"><em>Director</em></span> - Open the director window.</p></li><li class="listitem"><p><span class="emphasis"><em>Mezclador</em></span> - Abre la ventana del mezclador.</p></li><li class="listitem"><p><span class="emphasis"><em>Rack de instrumentos</em></span> - Abre el panel del rack de instrumentos.</p></li><li class="listitem"><p><span class="emphasis"><em>Automation path</em></span> - Open the automation path panel.</p></li><li class="listitem"><p><span class="emphasis"><em>Timeline</em></span> - Open the time line panel (auto hiding the playback track)</p></li><li class="listitem"><p><span class="emphasis"><em>Playback track</em></span> - Open the time line panel (auto hiding the timeline)</p></li><li class="listitem"><p><span class="emphasis"><em>Full screen</em></span> - Maximises the window size to the whole screen area</p></li></ul></div><p><span class="bold"><strong>Options</strong></span>: selects the input mode and opens the general preferences window.</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><span class="emphasis"><em>Input mode</em></span> - when set to <span class="emphasis"><em>Drumset</em></span> the keys on your midi keyboard will map to the instruments in your drumkit. If you set it to <span class="emphasis"><em>Instrument</em></span> the keys of your midi keyboard will trigger the instrument that is currently selected. The pitch of the instrument will follow the key you press on your keyboard. This feature is mainly used for non-drum instruments. An example: if you use a sample of a piano for one of your instruments, you will be able to 'play' that piano instrument using your keyboard just like you are playing a piano synth.</p></li><li class="listitem"><p><span class="emphasis"><em>Preferencias</em></span> - Abre la ventana principal de preferencias. Lee <a class="xref" href="#sect.preferences" title="3. Preferences">Preferences</a> para ver cómo configurar Hydrogen.</p></li></ul></div><p><span class="bold"><strong>Debug</strong></span>: tools mainly for debugging and monitoring Hydrogen (only available when compiled with debug support !).</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><span class="emphasis"><em>Mostrar info del motor de audio - </em></span>Abre un monitor con varias <a class="link" href="#sect.preferences.audio_engine_tab" title="3.5. The Audio Engine tab (debug only)">estadísticas</a></p></li><li class="listitem"><p><span class="emphasis"><em>acción de depuración - </em></span> Inserta comandos de depuración.</p></li><li class="listitem"><p><span class="emphasis"><em>Imprime objetos - </em></span>Imprime el actual mapa de objetos en stdout.</p></li></ul></div><p><span class="bold"><strong>Info</strong></span></p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><span class="emphasis"><em>Manual del usuario - </em></span>Abre una ventana con este manual :)</p></li><li class="listitem"><p><span class="emphasis"><em>About - </em></span>The usual window with license information, acknowledgments, etc.</p></li><li class="listitem"><p><span class="emphasis"><em>Report bug - </em></span> Opens the Hydrogen issue page at github.com in Internet browser You can open a new issue to communicate a bug here (first search if there exists already an issue about it)</p></li><li class="listitem"><p><span class="emphasis"><em>Donate - </em></span> Make a donation to developers/mantainers</p></li></ul></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect.main_toolbar"></a>5. Barra de herramientas principal</h2></div></div></div><p>Antes de analizar los dos marcos principales de Hydrogen, vamos a echar un rápido vistazo a la barra principal y sus componentes:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>PIlota la canción usando inicio, parada, pausa, etc. botones</p></li><li class="listitem"><p>Escoge entre modo "patrón" o modo "canción": en modo "patrón", sólo se reproducirá el patrón seleccionado, mientras que en modo "canción", se reproducirán todos los patrones insertados.</p></li><li class="listitem"><p>An advanced tap tempo function: choose note length and how many notes to wait before recalculating BPM, then hit the comma key repeatedly until the 'R' letter appears and then the BPM will be updated. (see <a class="xref" href="#sect.tap_tempo" title="5.1. Tap Tempo y Contador de Pulsaciones (BeatCounter)">Tap Tempo and BeatCounter</a>)</p></li><li class="listitem"><p>Fijar PPM manualmente</p></li><li class="listitem"><p>Gestionar transporte JACK</p></li><li class="listitem"><p>Abre el mezclador y los paneles del rack de instrumentos</p></li></ul></div><div class="figure"><a name="fig.main_toolbar"></a><p class="title"><b>Figura 2.3. Barra de Herramientas Principal</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/MainToolbar_V2.png" alt="Barra de Herramientas Principal"></div></div></div><br class="figure-break"><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: opencircle; "><li class="listitem" style="list-style-type: circle"><p><span class="inlinemediaobject"><img src="img/background_Control_V2.png"></span></p><p>Main controls to start <span class="bold"><strong>[Hotkey = Spacebar]</strong></span>, stop, record, fast forward, rewind, loop a song or a pattern.</p></li><li class="listitem" style="list-style-type: circle"><p><span class="inlinemediaobject"><img src="img/background_Mode.png"></span></p><p>Set Pattern/Song Mode. When Song mode is selected Hydrogen will play the complete song. This is the sequence of patterns you have created in the Song Editor (see <a class="xref" href="#sect.song_editor" title="6. Editor de Canciones">Sección 6</a>). When Pattern mode is selected Hydrogen will play the pattern that is currently selected, and thus displayed in the Pattern Editor (see <a class="xref" href="#sect.pattern_editor" title="7. Editor de Patrones">Sección 7</a>).</p></li><li class="listitem" style="list-style-type: circle"><p><span class="inlinemediaobject"><img src="img/MeasureSettings.png"></span></p><p>Set measure type and Beat Counter (see <a class="xref" href="#sect.tap_tempo" title="5.1. Tap Tempo y Contador de Pulsaciones (BeatCounter)">Tap Tempo and BeatCounter</a>).</p></li><li class="listitem" style="list-style-type: circle"><p><span class="inlinemediaobject"><img src="img/background_BPM.png"></span></p><p>Configuración de la velocidad de reproducción (rango: 30-400 ppm) <span class="bold"><strong>[Tecla acceso rápido = rueda del ratón]</strong></span> y botón para activar/desactivar el metrónomo</p></li><li class="listitem" style="list-style-type: circle"><p><span class="inlinemediaobject"><img src="img/MidiIN_CPU.png"></span></p><p>Shows CPU load and MIDI events. The CPU bargraph gives you an indication of the CPU load. The MIDI led lights up every time Hydrogen receives a midi message.</p></li><li class="listitem" style="list-style-type: circle"><p><span class="inlinemediaobject"><img src="img/JackTrans_Master.png"></span></p><p>Click J. TRANS to enable Jack transport. If the J. MASTER button is pressed Hydrogen will work as Jack timebase 'master' by sending additional information, like the current speed, to other Jack clients. Else it will either act as 'slave' in the presence of another timebase master (e.g. Ardour) or as a stand-alone client in the absence of it. Please note that when acting as 'slave' Hydrogen will obey the tempo provided by the timebase master and instead of its own tempo markers (see <a class="xref" href="#sect.preferences.audio_tab" title="3.2. La pestaña de Sistema de Audio">Sección 3.2</a>).</p></li><li class="listitem" style="list-style-type: circle"><p><span class="inlinemediaobject"><img src="img/mixer-instrrack_btn.png"></span></p><p>The last section gives you quick access to the Mixer window and the Instrument Rack. The LCD screen displays what Hydrogen is up to. </p></li></ul></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.tap_tempo"></a>5.1. Tap Tempo y Contador de Pulsaciones (BeatCounter)</h3></div></div></div><p>It is possible to change the tempo at any time using the Tap Tempo and BeatCounter features of Hydrogen. You can do this while the song is playing or while the song is stopped. To change the tempo, hit the <span class="keycap"><strong>,</strong></span> (comma) key in the tempo you want. After the correct number of keystrokes have been detected (see below for details), the tempo will change to the average tempo you tapped the comma key. If you continue to tap, these new taps will become a part of a rolling average. If you tap accidentally, or if you wait too long between taps, the tap tempo counter will start over.</p><p>The Tap Tempo is a part of the BeatCounter, which is essentially a Tap Tempo on steroids. By default the BeatCounter display is not visible. To see the BeatCounter widget click the upright button (<span class="guilabel">BC</span>) between Song/Pattern mode selector and the BPM-widget, or, simply press the comma key. (<span class="keycap"><strong>,</strong></span>).</p><p>The tempo that you tap will be considered even beats of the song's beat type. The beat type can be set to 1/8 (for eight-note beats), 1/4 (for quarter-note beats), 1/2 (for half-note beats), and 1/1 (for whole-note beats). To change the beat type use the left +/- buttons. To change the Countdown Counter value, use the right +/- buttons. The Countdown Counter value can be set between 2 and 16 beats. (I.e. if you set the beat to 6, you will have to tap 6 times before the new tempo is computed and set.) When the display shows an <span class="guilabel">R</span>, it means that the BeatCounter is ready to start from 0. When you tap the comma key, the R will change to 1, and will increment with every keystroke until it reaches the Countdown Counter value (shown just below the 'R').</p><p>El botón de la parte inferior derecha controla la función de auto-arranque, y cambia entre <span class="guilabel">S</span> y <span class="guilabel">P</span>. Cuando muestra la <span class="guilabel">P</span> de (<span class="emphasis"><em>Play</em></span>), la canción fijará el nuevo tempo y automáticamente empezará a reproducir después de que pulses el número correcto de pulsaciones (si no está reproduciendo ya, claro). De este modo, si tienes el Contador de Pulsaciones fijado para 4/4, puedes pulsar 1-2-3-4, y comenzar a reproducir en el siguiente compás. Cuando muestra la <span class="guilabel">S</span> (de <span class="emphasis"><em>Set BPM</em></span>), (fijar PPM) el auto-arranque está desactivado.</p><p>Por ejemplo: Supón que tienes una banda en directo, Hydrogen, y un sintetizador de software controlado por Seq24... y quieres que todos arranquen a la vez. Fija el tipo de compás en 1/4 y el número de golpes en 4. Activa el auto-arranque (el botón muestra una <span class="guilabel">P</span>). Cuenta 1-2-3-4 para la banda (dando a la tecla de coma) — y todos empiezan a la de 1.</p><p>Otro ejemplo: La misma situación, pero la canción no necesita de Hydrogen ni sintetizadores hasta más tarde. Durante ese tiempo, un humano (por ej. el guitarrista) fijará el tempo. En el compás antes de que Hydrogen debe tocar, pulsa la tecla de coma 1-2-3-4 con el ritmo... y entras en el siguiente compás (con el tempo correcto).</p><p>Si utilizas Transporte JACK, el Contador de Pulsaciones sigue funcionando. Si otro programa es el Maestro del Transporte JACK, Hydrogen responderá al cambio de tempo de esa aplicación. Nótese que en esta situación, Hydrogen funciona como <span class="emphasis"><em>esclavo</em></span>, así que algunas funciones del Contador de Pulsaciones estarán desactivadas o no funcionarán correctamente. Si Hydrogen es el Maestro del Transporte JACK, los cambios de tempo de Hydrogen se verán reflejados en los demás programas (suponiendo que lo soportan).</p><p>Some of the settings to adjust the BeatCounter's latency compensation, are located on the General tab of the Preferences Dialog (see <a class="xref" href="#sect.preferences.general_tab" title="3.1. The General tab">Sección 3.1</a> ). Here you will find two spinboxes:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><span class="bold"><strong><span class="guilabel">Compensación de desajuste del Contador de Pulsaciones en 1/10ms</span></strong></span> — ajusta esto para compensar la latencia entre el teclado y el programa.</p></li><li class="listitem"><p><span class="bold"><strong><span class="guilabel">Compensación para el inicio del Contador de Pulsaciones en ms</span></strong></span> — ajusta el tiempo entre el último golpe tecleado en el Contador de Pulsaciones y el momento en que se inicia la canción (si está activado el auto-arranque).</p></li></ul></div><p>Nótese que estos valores pueden ser positivos (+) o negativos (-). Para encontrar valores útiles, tendrás que tomarte tu tiempo para hacer pruebas. Además, puede que requieras diferentes valores dependiendo de la velocidad de tu hardware, dispositivo de audio, drivers, etc. La utilización del Contador de Pulsaciones require práctica.</p></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect.song_editor"></a>6. Editor de Canciones</h2></div></div></div><p>The "Song Editor" (<a class="xref" href="#fig.song_editor" title="Figura 2.4. El Editor de Canciones">Figura 2.4</a>) gives an overview of the whole timeline of the song (e.g. intro, verse, bridge, chorus and so on); each blue colored square on this panel represents a complete bar as shown in the underlying "Pattern Editor" panel. The song editor gives you complete freedom to add/remove patterns to the song and to move or copy any part of your song. </p><div class="figure"><a name="fig.song_editor"></a><p class="title"><b>Figura 2.4. El Editor de Canciones</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/SongEditor.png" alt="El Editor de Canciones"></div></div></div><p><br class="figure-break">
</p><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.song_editor.main_controls"></a>6.1. Main controls</h3></div></div></div><p>
<span class="inlinemediaobject"><img src="img/bg_topPanel.png"></span>
</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: opencircle; "><li class="listitem" style="list-style-type: circle"><p><span class="inlinemediaobject"><img src="img/btn_clear_off.png"></span> Borrar completamente todos los patrones (¡pide confirmación!). </p></li><li class="listitem" style="list-style-type: circle"><p><span class="inlinemediaobject"><img src="img/btn_new_on.png"></span> Crear un patrón nuevo (y pide un nombre). </p></li><li class="listitem" style="list-style-type: circle"><p><span class="inlinemediaobject"><img src="img/btn_updown.png"></span> Mover el patrón seleccionado hacia arriba o abajo.</p><p>Note that you can also just drag-and-drop a pattern up/down in the pattern list.</p></li><li class="listitem" style="list-style-type: circle"><p><span class="inlinemediaobject"><img src="img/btn_draw.png"></span> Enable Draw Mode. This mode allows you to create a song by drawing blocks on the song canvas.</p><p>Clicking a square on the song canvas will add a pattern (the square will turn blue), clicking it again will remove that pattern from the song. </p><p>Using the arrow keys on the keyboard, and the Return key, will also add and remove patterns from the song. The keyboard input cursor is usually hidden unless you press one of the arrow keys. </p></li><li class="listitem" style="list-style-type: circle"><p><span class="inlinemediaobject"><img src="img/btn_select.png"></span> Enable Select Mode. This mode allows you to select a part of the song and delete/move/copy it.</p><p>Once you have selected a part of your song you can <span class="bold"><strong>delete</strong></span> it by pressing the Delete button. You can <span class="bold"><strong>move</strong></span> it by simply dragging your selection to another location, and you can also <span class="bold"><strong>copy</strong></span> your selection by Ctrl-dragging it to a new location. </p><p>Selections can be modified by Ctrl-clicking to select additional blocks, or to remove selected blocks from the selection. </p><p>The arrow keys on the keyboard can also be used, along with the Return key, to <span class="bold"><strong>select</strong></span>, <span class="bold"><strong>move</strong></span> and <span class="bold"><strong>copy</strong></span> (Ctrl+Return) parts of the song. </p><p>Pressing Escape will cancel an editing operation that's in progress, or clear any selection. </p></li><li class="listitem" style="list-style-type: circle"><p><span class="inlinemediaobject"><img src="img/btn_pattern_mode.png"></span> set Hydrogen to "Single pattern mode" <span class="inlinemediaobject"><img src="img/stacked_mode_V3.png"></span> or to "Stacked pattern mode".</p><p>For more info on this see the SELECT_NEXT_PATTERN midi action in <a class="xref" href="#sect.midi" title="11. Midi">Sección 11</a>. </p></li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.song_editor.tempo_and_markers"></a>6.2. Tempo markers and song Tags</h3></div></div></div><p>This section describes how you can define tempo changes and how you can add tags to your song.</p><p>The majority of songs consist of several parts (intro, verse, chorus ...) and often these parts will have a different tempo. Hydrogen provides an easy way to let you change the tempo of a song at any given moment in the song. This is done by adding Tempo change Markers to your song.</p><p>To add a Tempo change marker to your song you first need to enable the 'BPM' option (the BPM button is located just above the Song editors main controls). Once this is done the horizontal bar next to the BPM button changes to a ruler with marks at every bar. Now simply left-click this ruler at the bar you want the tempo to change and a window will pop up where you can enter the new tempo. (Please note that the ruler will not be available while using the Jack transport in 'slave' mode.) </p><div class="informalfigure"><a name="fig.add_tempo_change"></a><div class="mediaobject"><img src="img/add_tempo_change.png"></div></div><p> Once you have entered the new tempo and clicked OK, the tempo change will show up on the tempo ruler. If you click the Tempo marker again you can edit the tempo, change the bar or delete the tempo marker. </p><div class="informalfigure"><a name="fig.tempo_bar"></a><div class="mediaobject"><img src="img/tempo_bar.png"></div></div><p>
</p><p>In addition to changing the tempo when the song switches from intro
> verse, it is also very handy to have a clear indication of this tempo switch (or any other event in the song). For this purpose you can also add Tags markers to the song. These Tags are short text messages you can add to your song at any given moment that will be displayed whenever the song playhead passes by that Tag.</p><p>To add a Tag to your song simply middle-click on the song ruler (just below the tempo ruler) and a window will pop up where that allows you to add text for any bar. </p><div class="informalfigure"><a name="fig.add_tag"></a><div class="mediaobject"><img src="img/add_tag.png"></div></div><p> Once you are done you will see a small blue 'T' in the song ruler for every tag you have entered. Middle-click anywhere on the song ruler to edit the tags. </p><div class="informalfigure"><a name="fig.tag_bar"></a><div class="mediaobject"><img src="img/tag_bar.png"></div></div><p>
</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.song_editor.director"></a>6.3. Director</h3></div></div></div><p>Now all we need is a way to see the tags we have entered. This can be done using the Director window. Open the Director by pressing Alt-D, or Tools- Director : </p><div class="informalfigure"><a name="fig.director"></a><div class="mediaobject"><img src="img/screenshot-director.png"></div></div><p> The Director is your best friend when you need a quick overview of what Hydrogen is currently doing. This comes in very handy when you are recording a song, or if you are using Hydrogen live on stage.</p><p>The Director shows you the song name, a visual metronome and of course the song Tags. Just below the metronome you can see the latest tag, and below that the next upcoming tag. This way you have a nice overview of what is going on, and what is about to happen in the song. </p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.song_editor.playbackTrack"></a>6.4. Using a playback track</h3></div></div></div><p>This section describes how you can use a playback track to write drums for an existing track. This useful when you want to write a drumtrack to an already existing instrumental track, for example a guitar track. </p><p>To add a playback track to your song, you need to enable the playback track view. This can be done by pressing the small "P" button in the next to the vertical scroll bar of the song editor. </p><div class="informalfigure"><a name="fig.enablePlaybackTrack"></a><div class="mediaobject"><img src="img/EnablePlaybackTrack.png"></div></div><p> An alternative way to enable the playback track view is to enable the option "Playback track" in the "View" menu. If the playback track view is enabled, a visualisation of the currently loaded track is display above the song editor. </p><div class="informalfigure"><a name="fig.playbackTrack"></a><div class="mediaobject"><img src="img/PlaybackTrack.png"></div></div><p> Left to the visualisation, the controls for the playback are displayed: </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: opencircle; "><li class="listitem" style="list-style-type: circle"><p>Edit: Load a new playback track</p><p>Mute: Mute the current playback track</p><p>Fader: Adjust the volume of the playback track</p></li></ul></div><p> As an alternative to the use of the Edit Button, you can add a new playback track by drag'n'drop, just drag an audio file to the visualation area. When a playback track track is loaded, it will be played everytime Hydrogen is in "Play" mode and the song mode is activated. </p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.song_editor.pattern_options"></a>6.5. Patterns options</h3></div></div></div><p>Right-clicking the name of a pattern will show you a menu where you can change a number of things :</p><div class="figure"><a name="fig.song_editor.virtualPattern.selectedMenu"></a><p class="title"><b>Figura 2.5. The Pattern Options menu</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/Virtual_patterns_menu.png" alt="The Pattern Options menu"></div></div></div><br class="figure-break"><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: opencircle; "><li class="listitem" style="list-style-type: circle"><p>Edit : will open the selected pattern in the Pattern Editor. </p></li><li class="listitem" style="list-style-type: circle"><p>Copy : will copy the selected pattern to a new pattern in your song. </p><p>Note that patterns with the same name are not allowed.</p></li><li class="listitem" style="list-style-type: circle"><p>Delete : will completely remove the selected pattern from the song. </p></li><li class="listitem" style="list-style-type: circle"><p>Fill/Clear : will open a window that allows you to fill/clear a part of the song with the selected pattern by entering the start- and end bar. </p><div class="informalfigure"><a name="fig.fill_clear_pattern"></a><div class="mediaobject"><img src="img/fill_clear_pattern.png"></div></div><p>
</p></li><li class="listitem" style="list-style-type: circle"><p>Properties : will open a window where you can change the name of the pattern and also assign it to a certain category. </p><div class="informalfigure"><a name="fig.pattern_properties"></a><div class="mediaobject"><img src="img/pattern_properties.png"></div></div><p>
</p><p>Note that you can choose one of the existing categories from the dropdown list, but you can also enter a new category name in the Pattern Category box.</p></li><li class="listitem" style="list-style-type: circle"><p>Load Pattern : will open the selected pattern in the Pattern Editor. </p></li><li class="listitem" style="list-style-type: circle"><p>Save Pattern : will open the selected pattern in the Pattern Editor. </p></li><li class="listitem" style="list-style-type: circle"><p>Virtual Pattern : will open the selected pattern in the Pattern Editor. </p><p>Virtual patterns are a convenient way of grouping patterns together. For example, say you have a song in which three patterns are always played together at the start of each bar. Previously, the way to do this in the pattern matrix was to explicitly enable the three patterns at each bar. </p><p>With virtual patterns we can assign a pattern to be a sort of meta-pattern that implicitly invokes these three patterns together when the new virtual pattern is enabled in the pattern matrix. This way, we only need to set one pattern every bar, instead of three. </p><p>Virtual patterns provide a function that's similar to the regular pattern editor, and one could argue that since a virtual pattern is also a regular pattern, we could have just merged the three patterns into this new one. However, the advantage that virtual patterns provide is that if one of the original three patterns changes, the virtual pattern automatically inherits the change. A virtual pattern can also invoke other virtual patterns. </p></li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.song_editor.export_song"></a>6.6. Exporting your song</h3></div></div></div><p>Once your song is finished you can export it to an audio file. This audio file can then be played on your favorite media player or imported in an other audio application.</p><p>To do this, go to Project - "Export song" and the following window will pop up: </p><div class="figure"><a name="fig.Export_song"></a><p class="title"><b>Figura 2.6. Export a song</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/Export_song.png" alt="Export a song"></div></div></div><p><br class="figure-break"> To export a song you need to do 3 things: </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: opencircle; "><li class="listitem" style="list-style-type: circle"><p>Enter a name and location for the export file in the 'Export filename' field </p></li><li class="listitem" style="list-style-type: circle"><p>Select one of the available templates (e.g. CD, DAT ...) according to your needs: each template has a specific bitrate, resolution, and audio format (WAV, AIFF, FLAC or OGG). You can tweak the selected template using the samplerate/sampledepth dropdown boxes underneath the template field. </p></li><li class="listitem" style="list-style-type: circle"><p>Export mode: 'Export to a single track' will export 1 stereo downmix of your song (= the master output). 'Export to separate tracks' will create files for each instrument/track. 'Both' will create a stereo downmix + audio files for all individual instruments. </p></li></ul></div><p>Once all these settings have been configured all you need to do is click the 'Export' button and Hydrogen will generate the requested files. </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Nota</h3><p>If you have tempo changes in your song (see <a class="xref" href="#sect.song_editor.tempo_and_markers" title="6.2. Tempo markers and song Tags">Sección 6.2</a>) these tempo changes will not be exported. This is a know limitation of the current versions (including 0.9.6) </p><p>As a workaround you can record the output of Hydrogen with an audio recording application (like Ardour, Qtractor ...) </p></div></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect.pattern_editor"></a>7. Editor de Patrones</h2></div></div></div><p>The "Pattern Editor" allows you to create or modify the selected pattern by adding/removing notes and tuning a number of per-note properties like velocity and pan. The Pattern Editor can be used in 2 modes : 'Drum' mode or 'Piano' mode. You can switch between these modes by clicking the Drum/Piano button (located on the top-right of the Pattern Editor) </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Nota</h3><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: opencircle; "><li class="listitem" style="list-style-type: circle"><p>If you are editing a pattern in Single Pattern Mode you will always hear the pattern you are editing when you press play.</p></li><li class="listitem" style="list-style-type: circle"><p>If you are working in Stacked Pattern Mode you will hear the <span class="emphasis"><em>active</em></span> pattern(s), not necessarily the pattern you are currently editing. (The active patterns have a small triangle next to the pattern name in the Song Editor). </p></li></ul></div></div><p>
</p><p>First let's take a look at the (classic) 'Drum' mode : </p><div class="figure"><a name="fig.PatternEditor_DrumMode"></a><p class="title"><b>Figura 2.7. Pattern Editor in Drum mode</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/PatternEditor_DrumMode.png" alt="Pattern Editor in Drum mode"></div></div></div><p><br class="figure-break">
</p><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.pattern_editor.controls"></a>7.1. Pattern Editor Controls</h3></div></div></div><p>The top part of the pattern editor contains a number of controls :</p><div class="figure"><a name="fig.PatternEditorControls"></a><p class="title"><b>Figura 2.8. Pattern Editor Controls</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/PatternEditorControls.png" alt="Pattern Editor Controls"></div></div></div><br class="figure-break"><p>From left to right : </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: opencircle; "><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>SIZE</strong></span>: lets you choose the length of the pattern (in note values) </p><p>It will open a dialog to enter the new size as text, in the standard music fractional notation: </p><div class="informalfigure"><a name="fig.PatternSizeDialog"></a><div class="mediaobject"><img src="img/PatternSizeDialog.png"></div></div><p>Type '/' to separate numerator and denominator. </p><p>If you enter just the numerator (e.g. "4"), the current denominator will be assumed. </p><p>You can enter a decimal numerator (e.g. "4.5/4") but since Hydrogen resolution is limited, some values are not supported and will be approximated. </p><p>Hydrogen supports (only) the following denominators: 1, 2, 3, 4, 6, 8, 12, 16, 24, 32, 48, 64, 96, 192, because these are the factors of the maximum resolution (192 ticks per whole note). You can use unsupported denominators, but the size will be approximated almost all the times, hence a warning icon will appear: </p><div class="informalfigure"><a name="fig.DenominatorWarningIcon"></a><div class="mediaobject"><img src="img/DenominatorWarningIcon.png"></div></div></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>RES</strong></span> : this is the current grid resolution (4 through 64) </p><p>Remember this constraint concerning the grid: if you are working with a resolution of 16 you can't go back to 8 and remove an upbeat 16th note. On the other hand 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), notes will be placed in the previous or in the following 8th bar. This constraint can be removed if you disable the whole grid resolution (choose "off" from the grid resolution LCD control). Now you'll be able to place notes wherever you prefer.</p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>HEAR</strong></span> : when enabled Hydrogen will play the sample as it's being added to the pattern.</p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>QUANT</strong></span> : enables/disables quantization. When enabled the beats inserted will automatically respect the grid resolution currently applied.</p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>INPUT</strong></span> : switch Pattern Editor between Drum and Piano mode. (see below)</p></li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.pattern_editor.drumkit"></a>7.2. Pattern Editor Drumkit</h3></div></div></div><p>The section on the left shows you what drumkit is currently selected (GMkit by default) and below that you can see the instruments that are part of this kit.</p><p>
<span class="inlinemediaobject"><a name="ifig.pattern_editor_instrument"></a><img src="img/PatternEditorInstr_V2.png"></span>
</p><p>Each instrument has its own set of features that are accessible by right-clicking the instrument. From the context menu that pops up you can select </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: opencircle; "><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>Clear notes</strong></span> : to remove all notes for this instrument in this pattern. </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>Fill notes</strong></span> : this allows you to fill up the pattern with notes for the selected instrument. Depending on the choice you make (fill all, fill 1/2, fill 1/4 ...) notes will be placed at all, 1/2, 1/4, etc of the note positions <span class="bold"><strong>that are allowed by the grid setting</strong></span>. So be careful not to mix up the 'musical' 1/2-note and the 'fill 1/2' note.</p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>Randomize velocity</strong></span> : 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 <span class="quote">“<span class="quote">hard</span>”</span> on that instrument when played. </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>Delete Instrument</strong></span> : well, deletes the instrument ;-)</p></li></ul></div><p>The small red and green buttons right of the instrument names are the <span class="quote">“<span class="quote"><span class="bold"><strong>mute</strong></span></span>”</span> (red) and <span class="quote">“<span class="quote"><span class="bold"><strong>solo</strong></span></span>”</span> (green) buttons.</p><p>The order of the instruments can be rearranged by simply dragging an instrument up/down in the list and dropping it on a new position within the drumkit. Doing so will not change anything to the sequence you have created for that instrument, nor will it change anything to the song or pattern you are working on. It <span class="bold"><strong> will</strong></span> however, have an impact on the <span class="bold"><strong>MIDI note mapping</strong></span> : in the table below you can find the link between the instrument position, the MIDI note and the qwerty keyboard keys.</p><p><span class="bold"><strong>Important Notes</strong></span> :</p><p>The name of the instrument depends on the drumkit that is loaded. This list below refers to the GMkit that is loaded by default. </p><p>Try to follow the GM midi standard as accurately as possible. This will ensure that switching between drumkits goes smoothly. You are of course free to place your instruments anywhere in your drumkit, and sometimes it isn't even possible to follow the GM standard, but it makes life a lot easier if you do.</p><p>Keep in mind that it is the <span class="emphasis"><em>position</em></span> of the instrument (within the loaded drumkit) that is linked to a MIDI-note/keyboard-key and <span class="emphasis"><em>not the name</em></span> of the instrument. </p><div class="informalfigure"><a name="fig.InstrumentMapping"></a><div class="mediaobject"><img src="img/InstrumentMapping.png"></div></div><p>Here's a quick reference of the above bindings for your convenience. </p><div class="informalfigure"><a name="fig.letters_keyboard"></a><div class="mediaobject"><img src="img/tastiera.png"></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.pattern_editor.sequence_area"></a>7.3. Pattern Editor Sequence area</h3></div></div></div><p>This is where it all happens, this is where you can make music :-)</p><p>In this area you can see your selected pattern and add notes for any instrument. The simplest way to create a pattern is by adding notes using your mouse (and the 'Fill/Clear notes' function described above). Where you can add notes depends on the used pattern size and resolution.</p><p>If you are using Hydrogen as a pure 'drum' you just want Hydrogen to 'hit' the instrument wherever there's a 'dot' in the pattern. If you are using Hydrogen as an 'instrument', the length of the note becomes very important. There are 2 ways to define the length of a note : </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>you can add a note by left-clicking, and then can 'stretch' that note by right-click-dragging it. This will change the dot into a rectangle that represents the duration of that note. </p></li><li class="listitem"><p>Alternatively, you can add a stop-note by Shift+left-clicking. This adds a blue dot which represents the end of the note. </p></li></ul></div><p>
</p><div class="informalfigure"><a name="fig.NoteOff_NoteLength"></a><div class="mediaobject"><img src="img/NoteOff_NoteLength.png"></div></div><p> (Figure above, from left
>right : a 'normal' note, a note in 'note length' mode, a note in 'note off' mode) </p><p>As in the Song Editor, the arrow keys can also be used to move around the pattern, and notes can be placed or removed with Return. </p><p>Notes can be selected by dragging over them with the mouse (or <span class="bold"><strong>Shift+arrow keys</strong></span>), and can be deleted with 'Delete', or moved by dragging (or Return followed by arrow key movements) the notes to a new location. This allows notes to be moved between different instruments, or to adjust their timing. Movement in the horizontal direction is constrained by the currently selected grid resolution, however this can be overridden by holding down <span class="bold"><strong>Alt</strong></span> while moving notes. </p><p>Moving a selection of notes with <span class="bold"><strong>Ctrl</strong></span> held down will copy them to the new location rather than moving, as in the Song Editor. </p><p>Selected notes can also be copied to the clipboard with <span class="bold"><strong>Ctrl+C</strong></span>, and pasted with <span class="bold"><strong>Ctrl+V</strong></span>. When pasting, the relative positions of the input cursor at the time of the Copy and Paste operation will set the new position of pasted notes. </p><p>So far we have only used the mouse or keyboard editing to create a pattern, but you can also record your beats by clicking the Record button <span class="inlinemediaobject"><img src="img/Rec_button.png"></span> (see <a class="xref" href="#sect.main_menu" title="4. Menú principal">Sección 4</a>) and simply playing your pattern on your MIDI drum or your pc keyboard (see instrument mapping above). This is probably a more musical way of creating a pattern, but it's up to you to decide what works best for you. (Also see <a class="xref" href="#chap.create_song" title="Capítulo 3. Una nueva canción">Capítulo 3</a> for a basic walk-through of how the pattern editor works) </p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.pattern_editor.note_properties"></a>7.4. Pattern Editor Note Properties</h3></div></div></div><p>Clicking on an instrument or adding/removing a note next to it will select this instrument. Once an instrument is selected the note properties for this instrument will be shown in the form of vertical lines in the bottom window. The lines represent the value for the selected property of each note of the selected instrument. You can select a different note-property from the note property drop-down list (located bottom-left). There are 4 note properties available : </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: opencircle; "><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>Velocity</strong></span> : how hard the note is played (the volume of the note)</p><p>Note that the color of the note-dot and the vertical bar will change according to the velocity value you have defined. A light shade of gray means a low velocity (low volume) and the higher you set the velocity the darker the color will be, turning red when you reach the point of clipping. </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>Pan</strong></span> : with this parameter you can move the stereo image position of the note (how loud it will be in the left/right output).</p><p>Note that the effect of <span class="emphasis"><em>note Pan</em></span> depends on the <span class="emphasis"><em>instrument Pan</em></span> knob, which is set in the mixer. The interaction is similar to a <span class="emphasis"><em>"matryoshka"</em></span>: </p><div class="informalfigure"><a name="matryoshkaPanning"></a><div class="mediaobject"><img src="img/matrioskaPanH2.png"></div></div><p> the <span class="emphasis"><em>note Pan</em></span> value moves the <span class="bold"><strong><span class="emphasis"><em>Resultant Pan</em></span></strong></span> in a smaller pan range centered at <span class="emphasis"><em>instrument Pan</em></span>, whose extension depends on <span class="emphasis"><em>instrument Pan</em></span> value: if <span class="emphasis"><em>instrument Pan</em></span> is central, <span class="emphasis"><em>note Pan</em></span> moves the signal in the whole stereo range (really from Left to Right); if <span class="emphasis"><em>instrument Pan</em></span> is sided, <span class="emphasis"><em>note Pan</em></span> moves the signal in a progressively smaller stereo range centered at <span class="emphasis"><em>instrument Pan</em></span>; if <span class="emphasis"><em>instrument Pan</em></span> is HARD-sided, <span class="emphasis"><em>note Pan</em></span> doesn't have any effect. </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>Lead/Lag</strong></span> : Lead and Lag allows a slight note lead or lag in respect of the actual beat. The range is ca. 5 ticks which equals around ca. 10 ms at a tempo of 120bpm. Changing the lead/lag can make a huge difference to the way your pattern sounds and feels. It's a groove thing ;-) </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>Notekey</strong></span> : if you select this note parameter the area where you can modify the parameter will change into a 'piano keyboard' </p><div class="informalfigure"><a name="fig.NoteKey"></a><div class="mediaobject"><img src="img/NoteKey.png"></div></div><p>The striped black and white area represents a piano keyboard and in the gray area you can choose the octave. By moving the dots on the octave scale and the 'keyboard', you can choose any note value. </p><p>(Note that the pattern editor in piano roll mode (see <a class="xref" href="#sect.pattern_editor.piano_mode" title="7.5. Pattern Editor Piano mode">Sección 7.5</a>) can also be used to change the note value of existing notes) </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>Probability</strong></span> : changing the Probability property of a note provides a way for Hydrogen to automatically create some variation in patterns. By setting the probability to less than 1.0, a note may be randomly skipped: a note with probability 1.0 will <span class="emphasis"><em>always</em></span> be played, a note with probability of 0.0 will <span class="emphasis"><em>never</em></span> be played. </p></li></ul></div><p>
</p><p>Clicking or dragging the value lines in the note properties editor will set the property value. But often you'll want to set the properties of several notes at once, so there are a few ways to do this. </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><span class="bold"><strong>Drawing with the mouse:</strong></span></p><p>Pressing the mouse button over the first note's property, you can hold down the mouse button and drag over multiple notes. This is great for quickly creating a crescendo from a filled set of notes. </p></li><li class="listitem"><p><span class="bold"><strong>Selecting multiple notes:</strong></span>
</p><p>The mouse or keyboard can be used to select multiple notes, which can then be modified all together by dragging them together. This can be useful for creating really consistent quiet grace notes. </p></li></ul></div><p>
</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.pattern_editor.piano_mode"></a>7.5. Pattern Editor Piano mode</h3></div></div></div><p>Drum mode (see <a class="xref" href="#fig.PatternEditor_DrumMode" title="Figura 2.7. Pattern Editor in Drum mode">Figura 2.7</a>) focuses on using Hydrogen as a drum machine. If you are using Hydrogen as an instrument there is a big chance that the Piano mode is for you. It gives you a complete 'piano keyboard' so you can easily put down your tunes.</p><p>You can compare the Piano mode to the Note properties Notekey (described above), only here you have a complete piano keyboard, so you don't have to select the octave first.</p><div class="figure"><a name="fig.PatternEditor_PianoMode"></a><p class="title"><b>Figura 2.9. Pattern Editor in Piano mode</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/PatternEditor_PianoMode.png" alt="Pattern Editor in Piano mode"></div></div></div><br class="figure-break"></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect.mixer"></a>8. Mezclador</h2></div></div></div><p>The Mixer window can be opened by pressing Alt+M, by clicking Mixer in the Tools menu, or by clicking the Mixer button on the main toolbar. </p><p>The Mixer consists of 3 sections (left
>right) : the instrument channel strips, the FX plugin rack and the master fader section. The Hydrogen Mixer works very much like a hardware mixer does : it lets you set the volume, pan, FX and several other things for every instrument. </p><div class="figure"><a name="fig.mixer"></a><p class="title"><b>Figura 2.10. El Mezclador</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/Mixer.png" alt="El Mezclador"></div></div></div><p><br class="figure-break">
</p><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.mixer.channel_strips"></a>8.1. Instrument channel strips</h3></div></div></div><p>From top to bottom : the 2 top elements on the strip are a 'play' button / 'trig' led combination. ( <span class="inlinemediaobject"><img src="img/btn_play_on_mixer.png"></span> ) The play button lets you trigger the instrument at maximum velocity (handy for checking clipping), and the trig led lights up whenever this instrument is triggered (from the song sequence, or by an external midi controller). Right of this button/led you will find another led that shows you what instrument is currently selected. This is also the instrument that is selected in the pattern editor. As soon as you change one of the settings of a channel strip the instrument will be selected.</p><p>Just below you can find the Mute <span class="inlinemediaobject"><img src="img/btn_mute_on.png"></span> and Solo <span class="inlinemediaobject"><img src="img/btn_solo_on.png"></span> buttons and the Pan(orama) knob. Note that the Mute and Solo states are also reflected in the Song editor.</p><p>Next are 4 pre-fader FX send knobs that determine how much of this instrument will be sent to the effect plugins in the FX rack. </p><div class="informalfigure"><a name="fig.FX_send_knobs"></a><div class="mediaobject"><img src="img/FX_send_knobs.png"></div></div><p> Just below that you can find an LCD peak-value display, and finally the volume fader and VU meter for that instrument.</p><p><span class="bold"><strong>IMPORTANT NOTE</strong></span> : keep in mind that the volume and pan settings that you find on the Mixer are global settings. The per-note velocity and pan settings in the Pattern editor are settings that are relative to the settings in the Mixer window !</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.fx_rack_LADSPA"></a>8.2. FX rack and LADSPA plugins</h3></div></div></div><p>The FX rack has 4 bays where you can load a LADSPA effect plugin, but before you can load any plugins these must be installed (surprised ? ;-)</p><p>There are dozens of plugins available for download from various sources : </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>SWH-Plugins available at <a class="ulink" href="http://plugin.org.uk" target="_top">http://plugin.org.uk</a>. </p><p>(Note : if you want to compile these plugins you need the FFTW tarball from <a class="ulink" href="http://www.fftw.org" target="_top">http://www.fftw.org</a>)</p></li><li class="listitem"><p>CMT disponible en <a class="ulink" href="http://www.ladspa.org" target="_top">http://www.ladspa.org</a>.</p></li><li class="listitem"><p>TAP disponible en <a class="ulink" href="http://tap-plugins.sf.net" target="_top">http://tap-plugins.sf.net</a>.</p></li><li class="listitem"><p>Calf plugins <a class="ulink" href="http://calf.sourceforge.net/" target="_top">http://calf.sourceforge.net/</a>.</p></li><li class="listitem"><p>....</p></li></ul></div><p>
</p><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Los Plugins Matan</h3><p>A badly designed LADSPA plugin is capable of hanging, crashing, freezing, screeching, overflowing buffers, and even phoning home. If you start having issues with Hydrogen, disable your plugins and see if things improve. Some plugins are not designed for real-time use, and some are just plain better than others.</p></div><p>Once you have installed some plugins you can select one by clicking the <span class="inlinemediaobject"><img src="img/edit_off.png"></span> button. (if you do not see the FX rack, make sure that the <span class="inlinemediaobject"><img src="img/showFX_on.png"></span> button (in the Master section) is enabled)</p><p>Now the FX selector window will pop up : </p><div class="figure"><a name="fig.select_effect"></a><p class="title"><b>Figura 2.11. Select an Effect</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/MixerFXSelect.png" alt="Select an Effect"></div></div></div><p><br class="figure-break"> Once you have selected a plugin you will immediately have access to its parameters: </p><div class="informalfigure"><a name="figLADSPA_FX_Properties"></a><div class="mediaobject"><img src="img/LADSPA_FX_Properties.png"></div></div><p> You can select another plugin by clicking the 'Select FX' button. If you quickly want to enable/disable the effect click the 'Deactivate' button (or the Bypass ( <span class="inlinemediaobject"><img src="img/bypass_over.png"></span>) button in the FX rack). This can be handy for a quick A/B comparison.</p><p>After you have selected the FX and tweaked it's parameters you can use the FX return knob to increase/decrease how much of this FX will be returned to the master output.</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.master"></a>8.3. Master section</h3></div></div></div><p>The Master section contains the Master volume fader with VU meters and three global Humanize settings for Velocity, Timing and Swing (in order to add a 'human feel' to the song): </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>Velocity : adds a certain randomness to the note velocity. The higher you turn this knob, the more the velocity will be randomized. </p></li><li class="listitem"><p>Timing : adds a certain randomness to the note timing (lead/lag). The higher you turn this knob, the more the timing will be randomized.</p></li><li class="listitem"><p>Swing : this knob will add a certain amount of swing to the song.</p></li></ul></div><p> Note that Hydrogen can also be switched to 'per instrument output' mode (see <a class="xref" href="#sect.preferences.audio_tab" title="3.2. La pestaña de Sistema de Audio">Sección 3.2</a>), and in this mode all channel strip outputs will be available in Jack (not just the Master output). This allows you to route the individual instruments directly into any other Jack enabled application (eg Ardour) and gives you a lot more flexibility.</p><p>On the bottom-right of the Master section the 'FX' button <span class="inlinemediaobject"><img src="img/showFX_on.png"></span> will show/hide the FX rack, and the 'Peak' button <span class="inlinemediaobject"><img src="img/showPeaks_on.png"></span> will enable/disable the VU meters. </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Nota</h3><p>The VU meter fall off speed can be configured in the preferences window (see <a class="xref" href="#sect.preferences.appearance_tab" title="3.4. La pestaña de Apariencia">Sección 3.4</a>)</p></div><p>
</p><p>In the upper part of Master section there is a small "cog" icon button:</p><div class="informalfigure"><a name="mixerSettingsButton"></a><div class="mediaobject"><img src="img/mixerSettingsButton.png"></div></div><p>click it to open the Mixer Settings window: </p><div class="informalfigure"><a name="mixerSettingsDialog"></a><div class="mediaobject"><img src="img/mixerSettingsDialog.png"></div></div><p> here you can select the <span class="bold"><strong>Pan Law</strong></span> used by Hydrogen Mixer. </p><p>The Pan Law is the relationship between the pan knob and the apparent stereo position of sound. Basically the Right channel <span class="emphasis"><em>gain</em></span> increases from 0 to the max level turning the pan knob from left to right. Left gain is symmetric. </p><p>Hydrogen features one the most customizable and accurate Pan Law set. </p><p>You will find four categories: <span class="emphasis"><em>linear</em></span>, <span class="emphasis"><em>polar</em></span>, <span class="emphasis"><em>ratio</em></span>, <span class="emphasis"><em>quadratic</em></span>. Every category gives a different "scale" or "sensibility" to the pan knob: the same knob position will make the sound appear more lateral or central depending on the category, from the most lateral (<span class="emphasis"><em>linear</em></span>) to the most central (<span class="emphasis"><em>quadratic</em></span>). </p><p>For each category you will find four options, that define a <span class="emphasis"><em>constraint</em></span> between the gains of the two channels: </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><span class="bold"><strong>Balance Law (0dB)</strong></span>: when you move the pan knob from center to right, the right gain stays constant at max level while the left gain decreases from max level to 0. </p><p>It is ideal for balancing a DUAL-channel track. It has ZERO center compensation: the sound will be <span class="emphasis"><em>louder</em></span> when the pan knob is at <span class="emphasis"><em>center</em></span>, unless channels are out of phase, so you may have to re-adjust the volume manually with the mixer fader. </p></li><li class="listitem"><p><span class="bold"><strong>Constant Power (-3dB)</strong></span>: the total <span class="emphasis"><em>power</em></span> (which is proportional to the <span class="emphasis"><em>square</em></span> of the gain) is constant for any position of the pan knob. </p><p>Compared to the Balance Law, each channel gain is divided by the square root of 2 when pan knob is at center (-3.0103 dB center compensation). In a common room, this pan law <span class="emphasis"><em>may</em></span> give the general perception of uniform volume for any pan knob position (panning a MONO track). </p></li><li class="listitem"><p><span class="bold"><strong>Constant Sum (-6dB)</strong></span>: the sum of left and right gains is constant for any position of the pan knob. </p><p>Compared to the Balance Law, each channel gain is halved (-6.0206 dB) when pan knob is at center. This makes perfectly balanced mono exports. If you are in an ideal anechoic room (where there are no acoustic reflections) and you seat perfectly at the same distance from the speakers, with Constant Sum the volume will be really constant for any pan position, because of the linear <span class="emphasis"><em>super-position</em></span> of sound waves (panning a MONO track). </p></li><li class="listitem"><p><span class="bold"><strong>Constant k-Norm (Custom dB center compensation)</strong></span>: you can experiment adjusting the center compensation to your taste! </p><p>Note that some hi-end studio mixers - used in well tuned rooms - have center compensation between -3dB and -6dB. </p></li></ul></div><p>
</p><p>The four constraint options should not change the perception of the <span class="emphasis"><em>stereo angle</em></span>, but the <span class="emphasis"><em>volume</em></span> only (depending on the pan knob). </p><p>Hydrogen sets the <span class="emphasis"><em>ratio Balance Law</em></span> by default because that was the old law used until version 1.0. The Pan Law is something you should choose <span class="emphasis"><em>before</em></span> starting the mix and keep untouched. It is saved in the songfile but not in preferences, so it is not remembered when you create a new song. </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Nota</h3><p>Unlike in advanced mixers, Hydrogen panning makes no distinction if a track is mono or dual-channel. If the drumkit you are using is made of true stereo samples, you don't want a negative center compensation probably, so you should select a Balance Law.</p></div></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect.sound_library"></a>9. Sound Library (Drumkit/Pattern/Song Manager)</h2></div></div></div><p>First of all a little history on the Sound library and Drumkits. Hydrogen began as a dedicated drum machine but has evolved into a versatile sound synthesizer/sequencer that is capable of generating and manipulating all sorts of sounds. Hence the original "Drumkit" terminology is slightly misleading. You can load any kind of sound into a "Drumkit" and manipulate that sound just like playing a regular synthesizer. This is also the main reason why the Piano mode was added to the pattern editor (see <a class="xref" href="#sect.pattern_editor.piano_mode" title="7.5. Pattern Editor Piano mode">Sección 7.5</a>).</p><p>In this manual (and in other documentation) "Drumkit" and "Soundlibrary" frequently mean the same thing, but not always. The diagram below shows the actual relation between the Soundlibrary and Drumkits: </p><div class="figure"><a name="fig.SoundlibraryHierarchy"></a><p class="title"><b>Figura 2.12. Soundlibrary/Drumkit hierarchy</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/SoundlibraryHierarchy_V4.png" alt="Soundlibrary/Drumkit hierarchy"></div></div></div><p><br class="figure-break"> As you can see the Soundlibrary contains all Drumkits (System and User drumkits), your saved Patterns and your saved Songs. Each Drumkit is a collection of a number of instruments (snare, kick, sampled voice, bass sound ...) and in its turn an instrument can consist of multiple layered samples. Note that every block has a number of parameters (continue reading for more details).</p><p>This said. let's take a look at the Soundlibrary interface and see what it can do for you:</p><p>The Sound Library saves you time in managing your drum kits, favourite patterns, and favourite songs. When making new songs and new drum kits, it allows you to reuse and mix the instruments and patterns from other kits and songs. </p><div class="figure"><a name="fig.soundlibrary"></a><p class="title"><b>Figura 2.13. The Soundlibrary</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/SoundLibrary.png" alt="The Soundlibrary"></div></div></div><p><br class="figure-break">
</p><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.systemdrumkits"></a>9.1. Drumkits del sistema</h3></div></div></div><p>This lists the drumkits that were installed by your system administrator. The location of these System Drumkits is determined by the compile-time prefix. On Unix-like operating systems, this is usually <code class="filename">/usr/share/hydrogen/data/drumkits</code>, or possibly <code class="filename">/usr/local/share/hydrogen/data/drumkits</code>. These kits are available to all users on the system, and users are usually not able to add to them.</p><p>Para cargar un drumkit desde aquí, haz clic derecho sobre el drumkit y selecciona <span class="guimenuitem">Cargar</span>. Esto reemplazará el drumkit actual con el que has seleccionado. Para cargar sólo un instrumento de ese drumkit, haz clic izquierdo sobre el <span class="guibutton">plus</span> a la izquierda del nombre del drumkit para mostrar todos los instrumentos. Con el botón izquierdo del ratón, haz clic y arrastra los instrumentos al drumkit actual. El instrumento se añadirá al drumkit que tienes cargado actualmente.</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.userdrumkits"></a>9.2. (Adding) User Drumkits</h3></div></div></div><p>Estos son tus propios drumkits que puedes gestionar tú mismo. Normalmente se guardan en <code class="filename">$HOME/.hydrogen/data/drumkits</code>. Cuando estás creando un nuevo drumkit, puedes guardarlo aquí seleccionando <span class="guimenu">Instrumentos</span> → <span class="guimenuitem">Guardar biblioteca </span>.</p><p>You can import existing drumkits from other users via <span class="guimenu">Instruments</span> → <span class="guimenuitem">Import library</span>. The Import window will pop up with the Internet tab selected. By default the link to the drumkit list (on hydrogen-music.org) will be filled in, and after pressing the 'Update list' button you will get a complete list of all drumkits that are available for download. In the status column you can see if a kit is installed or not. </p><div class="figure"><a name="fig.import_drumkit"></a><p class="title"><b>Figura 2.14. Import Drumkit</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/Sound_Library_import.png" alt="Import Drumkit"></div></div></div><p><br class="figure-break"> If you select one of the drumkits you will see info about this kit in the right pane of the Import window: name, description, author and also the license type. </p><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Aviso</h3><p>If you are using Hydrogen for commercial purposes, (creating songs and selling these on-line or in any other way) you need to pay special attention to the license type of the drumkit(s) you are using. </p><p> If the exact license is not available for a drumkit, do _NOT_ assume that it is a CC (or other open and free license type). </p><p> Even if the kit is CC licensed you should always check with the author before using the kit in your songs. </p><p>DISCLAIMER : hydrogen is not responsible for the drumkits that are made available for download by our users, either via the hydrogen-music.org site or via any other channel.</p></div><p> You can install a drumkit by selecting it and clicking 'Download and Install'. </p><div class="informalfigure"><a name="fig.downloading_soundlibrary"></a><div class="mediaobject"><img src="img/Downloading_SoundLibrary.png"></div></div><p> Once the kit has been downloaded it will be available in the Sound Library under "User drumkits". </p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.sl.songs"></a>9.3. Canciones en la Biblioteca de Sonidos</h3></div></div></div><p>To save songs in the Sound Library, put them in your data directory underneath the <code class="filename">songs</code> folder (usually <code class="filename">$HOME/.hydrogen/data/songs)</code>. To remove them, remove the file from that folder.</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.sl.patterns"></a>9.4. Patrones en la Biblioteca de Sonidos</h3></div></div></div><p>Before you save a pattern to the sound library, be sure to give it a title and a category. Right-click on the pattern, select "<span class="guimenuitem">Properties</span>" and enter the details. You can use one of the categories already provided, or create your own categories by simply typing in a category name. The category name is important, because the patterns will be filed by category in the Sound Library.</p><p>You can add a pattern to the sound library by right clicking the title of the pattern in the song editor, and selecting "<span class="guimenuitem">Save Pattern</span>". It will now appear in the Sound Library underneath "<span class="guilabel">Patterns</span>" and the category that you assigned to the pattern.</p></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect.instrument_editing"></a>10. Edición de Drumkits e Instrumentos</h2></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.instrument_editing.concepts"></a>10.1. Conceptos</h3></div></div></div><p>The synthesizer in Hydrogen is a sample-based synthesizer. A sample is a piece of pre-recorded audio (usually between 0.1 sec and 3 sec). To play a note, the sample is simply played back at the right time. There are a few concepts and terms that you should understand when you are putting together a drumkit. (See <a class="xref" href="#glossary" title="Glosario">Glosario</a> for more detailed explanations.) </p><div class="variablelist"><p class="title"><b>Términos del Sintetizador de Samples</b></p><dl class="variablelist"><dt><span class="term">Sample</span></dt><dd><p>A short recording of a sound, typically between 0.1 and 3.0 seconds long.</p></dd><dt><span class="term">Ganancia (Gain)</span></dt><dd><p>Ajuste de volumen.</p></dd><dt><span class="term">Intensidad</span></dt><dd><p>La fuerza con la que golpeas una nota.</p></dd><dt><span class="term">ADSR Envelope Generator (Generador de Envolventes ADSR)</span></dt><dd><p>An Attack/Decay/Sustain/Release envelope generator. After you trigger a note, Hydrogen will <span class="emphasis"><em>attack</em></span> the note by increasing its volume from 0 to the full velocity of the note. After reaching full velocity, it will <span class="emphasis"><em>decay</em></span> the note by lowering the volume until it reaches the <span class="emphasis"><em>sustain</em></span> level. When the note is <span class="emphasis"><em>released</em></span>, Hydrogen reduces the volume from the sustain level back down to 0. See <a class="ulink" href="http://en.wikipedia.org/wiki/ADSR_envelope" target="_top">ADSR Envelope</a> for more info</p></dd><dt><span class="term">Attack (Ataque)</span></dt><dd><p>La cantidad de <span class="bold"><strong>tiempo</strong></span> para ir de 0 hasta la intensidad máxima.</p></dd><dt><span class="term">Decay (decaimiento)</span></dt><dd><p>La cantidad de <span class="bold"><strong>tiempo</strong></span> para ir de la intensidad máxima al volumen de sustain.</p></dd><dt><span class="term">Sustain</span></dt><dd><p>El <span class="bold"><strong>nivel</strong></span> (el volumen) en el que la nota se sostiene entre el sustain y el release. Es un porcentaje de la intensidad. No depende del tiempo.</p></dd><dt><span class="term">Release</span></dt><dd><p>La cantidad de <span class="bold"><strong>tiempo</strong></span> para ir del volumen de sustain de vuelta a 0.</p></dd></dl></div><p>Los samples típicos utilizados en Hydrogen son: el sonido de un golpe simple de batería, el sonido de un golpe simple de plato, el sonido de un golpe simple de cencerro. Cuando metes una nota en el patrón (o reproduces una nota usando MIDI), Hydrogen reproducirá el sonido que hayas cargado. Así que para crear un drumkit tienes que reunir grabaciones cortas del bombo, cada tom, cada plato, el hi hat abierto, el hi hat cerrado, la caja (con bordonero y sin bordonero), golpes del borde, etc. </p><p>Sin embargo, no hay reglas en cuanto a qué puede ser un sample. Es común utilizar Hydrogen para disparar sonidos que no son de batería, tales como: clips de audio de personas hablando, un clip de una canción, efectos de sonido, clips de audio de películas, personas famosas hablando. ¡Se creativo! </p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.instrument_editing.new_kit"></a>10.2. Crear un Nuevo Drumkit</h3></div></div></div><p>In the next paragraphs we will show you how to create a complete drumkit. Keeping in mind the 'Soundlibrary hierarchy' (see <a class="xref" href="#fig.SoundlibraryHierarchy" title="Figura 2.12. Soundlibrary/Drumkit hierarchy">Figura 2.12</a>) we will use a top-down approach, so we will start at the Drumkit level and work our way down to the samples.</p><p>Creating a new drumkit with Hydrogen is done with the Instrument Editor. You can load samples, set envelope parameters, set the gain, and other advanced features like mute groups, a low-pass resonance filter, and pitch randomization.</p><p>TIP : Instead of creating your own drumkit, you can also use or download existing drumkits using the <a class="xref" href="#sect.sound_library" title="9. Sound Library (Drumkit/Pattern/Song Manager)">Instrument rack</a>.</p><p>Lets make a brand new drum kit :</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>select <span class="guimenu">Instruments</span> → <span class="guimenuitem">"Clear All"</span> . This will give you a bank of 32 blank instruments. To delete instruments, right-click on on each instrument and select "<span class="guimenuitem">Delete Instrument</span>". To add more instruments, select <span class="guimenu">Instruments</span> → <span class="guimenuitem">"Add instrument"</span> .</p></li><li class="listitem"><p>Selecciona un instrumento para empezar a editarlo. Esto se hace haciendo clic izquierdo sobre el nombre del instrumento en la lista de instrumentos (a la izquierda). Verás que el nombre del instrumento en el Editor de Instrumentos coincide con el que has seleccionado.</p></li><li class="listitem"><p>Once you have your drum kit working the way you want, select <span class="guimenuitem">Instruments</span> → <span class="guimenuitem">"Save library"</span> . You will be prompted for the name of the kit to save. If you wish to <span class="emphasis"><em>overwrite</em></span> an existing kit, you will need to type in the same name as the kit that you want to replace.</p></li><li class="listitem"><p>Drumkits are automatically stored in the <code class="filename">data</code> directory (i.e. <code class="filename">$HOME/.hydrogen/data/drumkits</code>).</p></li><li class="listitem"><p>To export a drumkit (for sharing with others), it must first be loaded into your Sound Library. Then, select <span class="guimenuitem">Instruments</span> → <span class="guimenuitem">"Export library"</span> from the menu. Select the drum kit that you wish to export, and give it a file name to save it to.</p></li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.instrument_editing.parameters"></a>10.3. Parámetros de Instrumentos</h3></div></div></div><p>In the instrument editor, click on the <span class="guibutton">General</span> button. Here you can adjust several parameters that apply to the instrument (applies to all layers as well). </p><div class="figure"><a name="instrumenteditor.general"></a><p class="title"><b>Figura 2.15. The Instrument editor General view</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/Instrument_General.png" alt="The Instrument editor General view"></div></div></div><p><br class="figure-break"> The parameters are:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><span class="bold"><strong>Parámetros de la envolvente (envelope)</strong></span>: <span class="guibutton">Attack</span>, <span class="guibutton">Decay</span>, <span class="guibutton">Sustain</span>, <span class="guibutton">Release</span>. (Ver <a class="xref" href="#def.envelopegenerator" title="Generador de la Envolvente (Envelope Generator)">Generador de la Envolvente (Envelope Generator)</a>)</p></li><li class="listitem"><p><span class="bold"><strong><span class="guibutton">Ganancia (Gain)</span></strong></span>: El volumen general del instrumento.</p></li><li class="listitem"><p><span class="bold"><strong><span class="guibutton">Grupo de silencio (Mute Group)</span></strong></span>: El grupo de silencio al que pertenece este instrumento (ver <a class="xref" href="#def.mutegroup" title="Grupo de Silencio (Mute Group)">Grupo de Silencio (Mute Group)</a>).</p></li><li class="listitem"><p><span class="bold"><strong><span class="guibutton">Auto Stop-Note</span></strong></span></p></li><li class="listitem"><p><span class="bold"><strong><span class="guibutton">Apply Velocity</span></strong></span></p></li><li class="listitem"><p><span class="bold"><strong>Parámetros de Filtro</strong></span>: <span class="guibutton">Circunvalar (Byp</span>ass), <span class="guibutton">Corte (Cutoff)</span>, <span class="guibutton">Resonancia (Resonance)</span>.</p></li><li class="listitem"><p><span class="bold"><strong>Pitch Shift Parameters</strong></span>: <span class="guibutton">Pitch</span>, <span class="guibutton">Fine</span>, <span class="guibutton">Random</span> </p></li><li class="listitem"><p><span class="bold"><strong><span class="guibutton">Midi out Channel and Note</span></strong></span></p></li><li class="listitem"><p><span class="bold"><strong><span class="guibutton">Hi-Hat Pressure Group</span></strong></span>: Group and Range. </p></li></ul></div><p>Es importante que entiendas <a class="xref" href="#sect.instrument_editing.concepts" title="10.1. Conceptos">Sección 10.1</a> para poder continuar.</p><div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="sect.instrument_editing.envelope_parameters"></a>10.3.1. Parámetros de la Envolvente (Envelope)</h4></div></div></div><p>Cuando se dispara el instrumento, su volumen pasa por una Envolvente ADSR (de aquí en adelante, ADSR envelope). Los parámetros funcionan de la siguiente manera:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><span class="bold"><strong>Attack</strong></span> — the amount of <span class="emphasis"><em>time</em></span> that the volume of the sample goes from 0 to the full velocity of the note. If the value is 0, the sample will play immediately at full velocity. If the value is 1.0, the sample volume will use the maximum time available for the attack parameter. <a href="#ftn.fn.adsrtimes" class="footnote" name="fn.adsrtimes"><sup class="footnote">[1]</sup></a>
</p></li><li class="listitem"><p><span class="bold"><strong>Decay</strong></span> — la cantidad de <span class="emphasis"><em>tiempo</em></span> para que el volumen del sample baje de la intensidad máxima hasta el volumen de sustain. Si el valor es 0, el sample inmediatamente saltará del volumen de attack al volumen de sustain. Si el valor es 1, el volumen del sample utilizará el máximo tiempo disponible para el parámetro de decay.<a href="#ftn.fn.adsrtimes" class="footnoteref"><sup class="footnoteref">[1]</sup></a></p></li><li class="listitem"><p><span class="bold"><strong>Sustain</strong></span> — el <span class="emphasis"><em>volumen</em></span> reproducido para la nota tras terminar la fase de decay, y hasta que la nota se "libera" (release). Si se configura a 0, la nota estará silenciada. Si se configura a 1.0, la nota sonará a la intensidad máxima.</p></li><li class="listitem"><p><span class="bold"><strong>Release</strong></span> — el <span class="emphasis"><em>tiempo</em></span> necesario para apagar la nota desde el volumen de sustain hasta 0 (silencio). Si se deja en 0, la nota se silenciará en el tiempo mínimo (unos 5 ms). Si se deja en 1, se reducirá en el tiempo máximo disponible.<a href="#ftn.fn.adsrtimes" class="footnoteref"><sup class="footnoteref">[1]</sup></a></p></li></ul></div><p>Si el sample es más corto que los tiempos especificados, terminará sin importar la fase de ADSR en el que se encuentre. Si la nota es sostenida, <span class="emphasis"><em>no</em></span> silenciará la nota mientras lo sostengas. Sólo sostiene el parámetro de ganancia (volumen) durante ese tiempo.</p></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="sect.instrument_editing.gain_and_mute_group"></a>10.3.2. Ganancia y Grupo de Silencio (Mute Group)</h4></div></div></div><p>La ganancia determina el volumen general del sample. Esta ganancia se aplica después de la ganancia que has configurado para la capa, y antes de la ganancia configurada para el mezclador. Con la ganancia a 0, el instrumento estará silenciado. Con la ganancia a 1.0, el volumen de los samples no se ajustará (por ej. 0 dB). Si la ganancia se configura a más, los samples se amplificarán.</p><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Aviso</h3><p>Es muy fácil poner el mando de <span class="guibutton">Ganancia</span> demasiado alto, haciendo que el sample quede clipeado (distorsionado). Acuérdate de probar la ganancia con notas de intensidad máxima. Si aquí se te clipea la señal, seguramente empeorará según lo procesa Hydrogen.</p></div><p>Hydrogen proporciona más grupos de silencio de los necesitarás jamás (más de 256). Un grupo de silencio es un agrupamiento de instrumentos que son mútuamente exclusivos — sólo puede sonar un instrumento en un momento dado. Si un instrumento está sonando y otro del grupo se dispara, el primero se silenciará inmediatamente y sonará el segundo instrumento. Esto es útil sobre todo para instrumentos como el hi hat, donde el sonido abierto y el cerrado son instrumentos diferentes.</p><p>If the mute group is set to "<span class="guilabel">Off</span>", then the instrument is not part of any mute grouping. If the mute group is set to any number, then that is the group that the instrument is a part of. To set other instruments into the same grouping, set their mute group parameter to the same number. (For example, to group all the high-hat instruments, you can set all their mute group parameters to 1. To have a snare drum mute group, set their mute group parameters to 2.)</p></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="sect.instrument_editing.auto_stop_note"></a>10.3.3. Auto Stop-Note</h4></div></div></div><p>If this box is checked Hydrogen will immediately stop any playing sample that belongs to this instrument whenever the instrument is re-triggered.</p><p>This option is particularly useful when you are using long samples like a crash or some existing audio that you have sampled (like a looped voice in a dance/electro song) For the crash you will need to use the Auto Stop-Note when you are sequencing multiple notes in fast succession and want to make it sound realistic. If you do not check this option the cymbal will start to sound like multiple cymbals instead of only one (since the sample of each individual hit will be played completely). For the voice sample this option is useful if you are trying to get that 'stuttering' effect. </p></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="sect.instrument_editing.apply_velocity"></a>10.3.4. Apply Velocity</h4></div></div></div><p>This lets the user decide if Hydrogen will apply the note velocity to the sample being played. </p><p>When activated, Hydrogen will apply the note velocity to the sample gain in addition to the layer gain, the instrument gain, the component gain or the instrument volume. If all the layer samples are normalized, this option should be used. By default this option will be selected as this is the way older version of Hydrogen used to work. </p><p>When not activated, the note velocity will only be used to select the sample to be played, but the sample gain will not be changed. This is useful for set of samples that already have their gain "hard-coded". </p></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="sect.instrument_editing.filter"></a>10.3.5. Filter parameters</h4></div></div></div><p>El filtro es un low-pass resonance filter. Si no deseas usarlo, haz clic en el botón de <span class="guibutton">BYP</span> para que se ponga rojo. Si no está rojo el filtro se encuentra activo. El parámetro de corte (cutoff) determina la frecuencia de corte para el filtro. El parámetro de resonancia determina cuánta resonancia tiene la frecuencia de corte. Si la resonancia se deja en 0, el filtro no es más que un simple low-pass filter.</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Nota</h3><p>La frecuencia de corte del filtro varía con la tasa de muestreo de tu tarjeta de sonido. El rango del mando (0 a 1.0) está optimizado para una tasa de muestreo de 48,000 kHz.</p></div></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="sect.instrument_editing.pitch_shift_parameters"></a>10.3.6. Pitch Shift parameters</h4></div></div></div><p>The first two knobs control the pitch shift offset. You can use it to change the tuning of the instrument. "Pitch" is the Coarse control and has quantized steps of half-tones from -24 to +24. "Fine" is the Fine control and has quantized steps of cents of half-tones from -0.50 to +0.50. </p><p>The "random" parameter allows you to randomly vary the pitch of the sample every time it is triggered. The value is set between 0 and 1.0. The pitch change is fairly small, almost always between ±1 half-steps × value. Using this sparingly can help your sequences to sound more like a real drummer. </p></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="sect.instrument_editing.midi_out_settings"></a>10.3.7. Midi out settings</h4></div></div></div><p>Hydrogen is capable of generating midi messages that you can use to trigger any external midi device or application. To do this you simply need to configure the Midi out channel and Note for every instrument. You need to have a sample loaded (an empty WAV file is fine) and make sure the proper Midi routing/wiring is in place and you're set. As you can see this is a very flexible approach that enables you to trigger samples or sounds from multiple devices and/or apps.</p><p>From now on every time a note is played for that instrument (in the Hydrogen sequencer) a midi message will be sent to your external app/device and trigger a sound. This way you can use Hydrogen as a pure sequencer for other apps, or combine the internal Hydrogen sampler with multiple external apps/devices.</p></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="sect.instrument_editing.HH_pressure_group"></a>10.3.8. Hi-Hat Pressure Group</h4></div></div></div><p>The Hi-Hat is a particular instrument of the drumkit as its sound can be changed by pressing the foot pedal. </p><p>For e-drummer owner, the hihat pressure group enables to group different hihat instruments together, for example closed, half closed, fully open. </p><p>Pressure Group: you can assign more instruments to the same group. You can create many groups: for example one group for the different opening levels of a hihat when playing the top of it, another group when playing the edge. Another example: timpanis - create a group for each timpani and the pressure will change the note. </p><p>Range: set the minimum and maximum pressure for each instrument. Each instrument of a given group should seat in its own separate pressure range. The range will decide at what pressure level the instrument will be played. For example, if your closed hi-hat has range from 0 to 20, when the hi-hat pedal is pressed between 0 and 20 the closed hi-hat is played. </p></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.instrument_editing.new_instrument"></a>10.4. Crear un Instrumento y Capas</h3></div></div></div><p>Para cada instrumento en un drumkit, puedes cargar varios samples y configurar diferentes parámetros del sintetizador. Esta sección te ayudará paso a paso para crear un nuevo instrumento y cargar los samples.</p><p>Para empezar a crear un instrumento, selecciona <span class="guimenu">Instrumentos</span> → <span class="guimenuitem">Añadir instrumento</span>. Esto te da un instrumento en blanco para comenzar.</p><p>Ahora, necesitas dos samples. Cualquier archivo .WAV o .FLAC servirá. Hydrogen proporciona varios en el directorio <code class="filename">data/drumkits</code> .</p><p>En el editor de instrumentos, haz clic en <span class="guibutton">Capas</span>. Puedes cargar varias capas en el instrumento. Cuál se reproduce depende de la intensidad de la nota entrante. Haz clic en <span class="guibutton">Cargar Capa</span> y dirige el <span class="guimenu">Navegador de Archivos de Audio</span> a tu sample. Fíjate que el <span class="guimenu">Navegador de Archivos de Audio</span> te permitirá una vista previa del sample antes de cargarlo. También te permitirá cargar más de un sample a la vez. Pero por ahora, sólo carga uno.</p><p>Tras cargar el sample, verás que ahora hay un <span class="guilabel">1</span> arriba, y que el rectángulo de más arriba se ha vuelto azul claro. Para cargar un segundo sample, haz clic en la ranura justo debajo, y luego haz clic en <span class="guibutton">Cargar Capa</span> para meter otro sample.</p><p>Tras insertar los dos samples, probablemente verás que sólo el <span class="emphasis"><em>primer</em></span> sample se reproduce cuando disparas el instrumento. Esto es porque tienes que configurar los rangos de <span class="emphasis"><em>intensidad</em></span> para las capas. Mueve el ratón hacia los laterales de los rectángulos azul claro y verás que sale un cursor para arrastrar hacia la derecha o la izquierda. Ahora arrastra el sample hacia la derecha o la izquierda (como una cortina). Ahora verás cómo aparece la Capa 2.</p><div class="figure"><a name="instrumenteditor.layers"></a><p class="title"><b>Figura 2.16. The Instrument editor Layers view</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/Instrument_Layers.png" alt="The Instrument editor Layers view"></div></div></div><br class="figure-break"><p>The velocity setting for the layer is 0-velocity on the left, and full velocity on the right. Set up Layer 1 to sound for soft notes, and Layer 2 to sound for hard notes (i.e. Layer 1 on the left and Layer 2 on the right).</p><p>Ahora, en la zona de patrones, configura un patrón simple que reproduce este instrumento. Ajusta las configuraciones de intensidad en cada nota para que puedan sonar los diferentes samples. Ahora pon el patrón en modo bucle y notarás la diferencia entre los samples. (Para aprender sobre cómo editar un patrón, consulta <a class="xref" href="#sect.pattern_editor" title="7. Editor de Patrones">Sección 7</a>)</p><p>Para cada capa puedes configurar la <span class="guibutton">Ganancia</span> y la <span class="guibutton">Altura tonal</span>. La altura tonal también tiene un ajuste <span class="guibutton">Fino</span>.</p><p>Usa el ajuste de <span class="guibutton">Ganancia</span> para controlar el volumen del sample. Esto es necesario porque es muy difícil tener un conjunto de samples que suenen al mismo volumen. Al ajustar esto, los samples que estaban grabados demasiado bajo se pueden subir para igualarlos a los samples altos (que has tenido que bajar). </p><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Aviso</h3><p>Es muy fácil poner el mando de <span class="guibutton">Ganancia</span> demasiado alto, haciendo que el sample quede clipeado (distorsionado). Acuérdate de probar la ganancia con notas de intensidad máxima. Si aquí se te clipea la señal, seguramente empeorará según lo procesa Hydrogen.</p></div><p>La altura tonal (pitch) del sample se puede modificar con los controles correspondientes. El mando de <span class="guibutton">Altura Tonal (Pitch)</span> ajusta la altura tonal en semitonos. (Así que -12 baja 1 octava). El mando a la derecha ajusta la altura ±50 cents. (Un semitono son 100 cents.)</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Nota</h3><p>The pitch is adjusted by playing the sample back faster or slower. This is called the Doppler Effect. So, if you have a 1-second sample that you turn down -12 (1 octave), your sample will only last for 0.5-seconds. If you do not want this to happen you should use rubberband instead (see <a class="xref" href="#sect.layer_editing.section2" title="10.5.2. Sample Editor rubberband">Sección 10.5.2</a>)</p></div><p>You can hear the sample in a layer by clicking the layer id (just below the 'General' and 'Layers' buttons) and the 'Delete Layer' button will delete the currently selected layer.</p><div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="sect.instrument_editing.new_instrument.sample_selection"></a>10.4.1. Sample Selection</h4></div></div></div><p>Certain set of samples contain different sample versions of the same sound for the same note/velocity in order to make it more natural - drummers for example never hit the drum set twice the same way. This functionality is making Hydrogen compatible with this type of sample collection. </p><div class="informalfigure"><a name="fig.sample_selection"></a><div class="mediaobject"><img src="img/Instrument_Layers_sampleSelection.png"></div></div><p>To use this functionality, you need to first a few samples that share the same velocity range in Hydrogen. The second step is to select how Hydrogen will chose the sample when a note within a certain velocity is played. </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><span class="bold"><strong>First in Velocity</strong></span> — will select the first sample available in the velocity set. This is the way previous versions of Hydrogen were working. </p></li><li class="listitem"><p><span class="bold"><strong>Round Robin</strong></span> — will cycle through the different samples one after another as note in the same velocity range is played. </p></li><li class="listitem"><p><span class="bold"><strong>Random</strong></span> — will select a random sample inside the velocity range for each note played. </p></li></ul></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.layer_editing"></a>10.5. Sample Editor</h3></div></div></div><p>So far we have created a multilayered Drumkit, set a number of instrument parameters, played with velocity settings and so on. Now it's time to go one step deeper and edit the samples using one of the newest Hydrogen features: the Sample Editor.</p><p>The Sample Editor allows you to tweak and manipulate your samples. This is a function that will really speed up the creation of a drumkit since you can do the fine-tuning of the sample within Hydrogen. In pre-0.9.5 builds the typical workflow would be to prepare your sample in an external sound editor, import the sample in Hydrogen, test it, go back to the audio editor, import again, test ... The sample editor allows you to do most of the sample manipulation within Hydrogen. This mean less switching between Hydrogen and your audio editor and more time to make music !</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Nota</h3><p>The changes you make to your samples in the Sample Editor are <span class="bold"><strong>non-destructive </strong></span> and are saved <span class="bold"><strong>per song</strong></span>. So the original sample will not be changed, and you can reuse the same sample in multiple songs with different Sample Editor settings.</p></div><div class="figure"><a name="sample.editor"></a><p class="title"><b>Figura 2.17. The Sample Editor</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/SampleEditor_V5.png" alt="The Sample Editor"></div></div></div><br class="figure-break"><p>The Sample Editor consists of 3 sections (as indicated in the figure above):</p><div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="sect.layer_editing.section1"></a>10.5.1. Sample Editor in/out points</h4></div></div></div><p>In this section you can set the start, stop and loop points for the sample by dragging the the 3 markers: </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>S-marker (green) : indicates the Start-point (in-point) of the sample.</p></li><li class="listitem"><p>E-marker (red) : indicates the End-point (out-point) of the sample.</p></li><li class="listitem"><p>L-marker (blue) : determines the loop-in point of your sample</p></li></ul></div><p> You can easily move one of the markers by grabbing them close to the letter that marks them. Whenever you grab one of the markers you will see a detail view of the position of that marker on the second (smaller) window on the right, making it easy to find the zero-crossings in the sample. This detail window also has a slider next to it that allows you to zoom in and out on the vertical axis. Think of it as a sort of volume 'zoom'. </p><p>Underneath these 2 windows you can find (from left
>right) : the position of the Start marker, the position of the Loop marker, the Loop mode, the number of loops and the position of the End marker. The position of the markers is expressed in number of samples from the very beginning of the sample. These values will change if you drag the markers, but you can also fine-tune the marker position by using the up/down arrows of the spinboxes, the up/down keys on your keyboard, or by using your mouse scroll wheel while hovering above the spinboxes.</p><p>Apart from the marker positions there are 2 settings that apply to the Sample Editor's loop function: loop mode and loop number. With the loop function you can repeat the part of your sample <span class="emphasis"><em>that is in between the Loop- and the End-marker</em></span>. The way it is looped is determined by the Loop mode (forward, reverse or ping-pong) and the number of times it is looped is determined by the Loop number.</p><p>If you want to hear a preview of the tweaking you have done so far, you first need to press the 'Apply Changes' button (@ the bottom of section 3) and then the Play button to hear the result.</p></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="sect.layer_editing.section2"></a>10.5.2. Sample Editor rubberband</h4></div></div></div><p>This section of the Sample Editor allows you to control the Rubberband settings. Rubberband is a tool that can change the tempo of a sample without changing the sample's pitch (and vice versa).</p><p>If you are using Ubuntu you can install rubberband from the Software Center (rubberband-cli). For other linux distros check your package manager. For other platforms please check <a class="ulink" href="http://breakfastquay.com/rubberband/" target="_top">the rubberband site </a>. After installing rubberband you should check if the path to the rubberband cli is configured correctly (see <a class="xref" href="#sect.preferences.general_tab" title="3.1. The General tab">Sección 3.1</a>).</p><p>If rubberband is installed correctly you will have access to the rubberband settings, and an extra button named 'RUB' will be available in the Main Toolbar, right of the BPM LCD display: </p><div class="informalfigure"><a name="rubberband_button"></a><div class="mediaobject"><img src="img/MainControls_Rubberband_btn.png"></div></div><p>
</p><p>Back to the rubberband settings : </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: opencircle; "><li class="listitem" style="list-style-type: circle"><p>Sample length to beat : when set to 'off', rubberband functionality is disabled. Normally this parameter should be set to the length of the part of the sample between the Start and End marker, expressed in number of beats.</p></li><li class="listitem" style="list-style-type: circle"><p>Pitch : this setting allows you to change the pitch of the sample, expressed in semitones,cent.</p></li><li class="listitem" style="list-style-type: circle"><p>Crispness : this setting does not affect tempo or pitch, but changes the way the sample sounds.</p></li></ul></div><p>
</p><p><span class="bold"><strong>Note</strong></span>: If you want Hydrogen to recalculate the sample length on the fly (using rubberband) you must enable the 'RUB' button (see figure above).</p></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="sect.layer_editing.section3"></a>10.5.3. Sample Editor volume/pan</h4></div></div></div><p>In the bottom section of the Sample Editor you can see the end result of the tweaks you have made by pressing the Apply Changes button. You can also change the the Volume and Panorama (Pan) of your sample here. This is done by creating 'envelopes' like the ones you find in numerous DAW's for automation. To edit an envelope you first need to select 'Volume' or 'Panorama'in the upper right corner of section 3. The Volume envelope is blue, and the pan envelope is yellow. Left clicking in the bottom window will ad a node to an envelope and also allows you to drag an existing node. Right-clicking a node will delete it. Don't forget to Apply Changes before you play your tweaked sample.</p></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.instrument_editing.tips"></a>10.6. Consejos a la hora de Editar Instrumentos</h3></div></div></div><p>With all of the different parameters available to tweak, it can be difficult to set up something that sounds nice when you're done. Here are a few tips on setting up an instrument:</p><p><span class="bold"><strong>Turn down the gain.</strong></span> Every gain knob (i.e. an amplifier), this is a <span class="emphasis"><em>gain stage</em></span>. With every gain stage you have, it's easy to overdrive your signal — which means the signal gets distorted by clipping. In addition, if you have two samples that, by themselves, peg your meters — what do you think happens when you combine them? That's right, you overdrive the signal again.</p><p>Si las cosas suenan mal y distorsionadas, empieza por bajar la ganancia de la capa... sobre todo si es mayor de 1.0. Luego baja la ganancia del instrumento. Luego cualquier ganancia de los efectos LADSPA. Luego el fader del mezclador. Luego el fader de la salida master.</p><p><span class="bold"><strong>Prueba los samples a la máxima intensidad.</strong></span> El sample sonará más alto si la intensidad es mayor. Así que si lo configuras todo para que suene bien con una intensidad de 0.7, ¿qué pasará cuando tengas una intensidad máxima de 1.0? (<span class="emphasis"><em>Una pista: saturación.</em></span>)</p><p><span class="bold"><strong>Intenta usar samples con -6 dB máx.</strong></span> Visualmente, esto son samples que llegan a su pico máximo sólo a la mitad del rango completo. Si no, deja la ganancia en aproximadamente 0.5.</p><p><span class="bold"><strong>Remove all DC offsets from the sample.</strong></span> In a sample editor, there is usually a line down the center of your sample's waveform. This is the zero-line. The beginning of your sample should be on this line. The end of your sample should also be on this line. However, if your signal is a little above or a little below this line, you will hear a click at the beginning and the end of your sample whenever it is played. If your sample editor doesn't provide any tools to fix a DC offset problem, you can eliminate the noise by putting a slight fade-in/out at the ends of your sample.</p><p><span class="bold"><strong>El ADSR no será más largo que tu sample.</strong></span> Si tienes un sample corto, no importa cómo configures el attack y el delay — el sample dejará de reproducirse.</p><p><span class="bold"><strong>Things change with the sample rate.</strong></span> If you have a really nice setup with all your parameters painstakingly tweaked... things <span class="emphasis"><em>will</em></span> change if you change the sample rate of your audio card. Many of Hydrogen's internal settings and parameters are based on how many samples go by, not on how many seconds go by. The sorts of things that change are: anything time-base (like attack and release) and anything frequency based (like the cutoff frequency).</p></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect.midi"></a>11. Midi</h2></div></div></div><p>In this section you can find more info about defining MIDI actions and how they can be useful for you. Before you can work with midi actions you should have your Midi devices, drivers and connections configured correctly (see <a class="xref" href="#sect.preferences.midi_tab" title="3.3. La pestaña de Sistema Midi">Sección 3.3</a>). </p><p>Lets take a look at the available options : </p><div class="informalfigure"><a name="midi_actions"></a><div class="mediaobject"><img src="img/Midi_Actions.png"></div></div><p>
</p><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.midi.events"></a>11.1. Midi Events</h3></div></div></div><p>An Event is an incoming Midi message, coming from a MIDI controller or an external sequencer.</p><p>If you look at the Events list you will see that there are 3 types of Events available (as described in the Midi standard): </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: opencircle; "><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>NOTE</strong></span>: input coming from a regular black/white key of a keyboard or a drumpad </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>CC</strong></span>: controller commands coming from faders or rotary controllers </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>MMC_x</strong></span>: <a class="ulink" href="http://en.wikipedia.org/wiki/MIDI_Machine_Control" target="_top"> machine control events</a> coming from play/stop... buttons on a controller </p></li></ul></div><p>The Param. (parameter) value to the right of the Event is the identifier of the note/button/controller that is linked to this Action. This parameter can be entered manually, or automatically by using the Midi learn function (see <a class="xref" href="#sect.preferences.midi_tab" title="3.3. La pestaña de Sistema Midi">Sección 3.3</a>). </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Nota</h3><p>You can also activate the Midi learn function by Shift-clicking most of the gui elements. A 'Waiting for Midi input...' popup informs you that Hydrogen is now waiting for you to press a key or turn/move a controller. </p><p>If you Shift-click on a gui element that does not support Midi automation a popup will inform you. </p></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.midi.actions"></a>11.2. Midi Actions</h3></div></div></div><p>Next is a list of the available Actions: an Action describes what Hydrogen should do when a specific Midi Event is detected.</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Nota</h3><p>** Some of the Midi Actions require that the Action Parameter is configured. The Parameter usually references a specific channel, instrument, FXsend... Keep in mind that the Parameter value is <span class="emphasis"><em>zero-based</em></span>. So if you want to reference channel 1 you have to enter '0' in the Parameter field (1 for channel 2, 2 for channel 3 ...)</p></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: opencircle; "><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>PLAY</strong></span> : start playback </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>PLAY/STOP_TOGGLE</strong></span> : toggles between PLAY and STOP. Execute this action will start playback, execute it again and playback will stop + the playhead will return to the start of the song </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>PLAY/PAUSE_TOGGLE</strong></span> : toggles between PLAY and PAUSE. (the playhead will not return to the start of the song, but will stay at its current position) </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>STOP</strong></span> : stops playback and returns to the start of the song </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>PAUSE</strong></span> : pauses the song </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>MUTE</strong></span> : mutes the the Master output (sequencer keeps running) </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>UNMUTE</strong></span> : unmutes the Master output (sequencer keeps running) </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>MUTE_TOGGLE</strong></span> : toggles between MUTE and UNMUTE (sequencer keeps running) </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>NEXT_BAR</strong></span> : jumps to the next bar in the song </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>PREVIOUS_BAR</strong></span> : jumps to the previous bar in the song </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>BPM_INCR</strong></span> : increments the tempo of the song </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>BPM_DECR</strong></span> : decrements the tempo of the song </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>BPM_CC_RELATIVE</strong></span> : changes the tempo relative to the current tempo, using a controller </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>MASTER_VOLUME_RELATIVE</strong></span> : changes the Master output volume, relative to the current setting (e.g. if you are using rotary encoders) </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>MASTER_VOLUME_ABSOLUTE</strong></span> : changes the Master output volume to the absolute value of the midi control (use with midi fader or pot) </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>STRIP_VOLUME_RELATIVE</strong></span> : see MASTER_VOLUME_RELATIVE, but applies to the channel strip defined in the Action Parameter ** </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>STRIP_VOLUME_ABSOLUTE</strong></span> : see MASTER_VOLUME_ABSOLUTE, but applies to the channel strip defined in the Action Parameter ** </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>EFFECTx_LEVEL_RELATIVE</strong></span> : changes the volume level of effect 'x'; the value you enter in the Action Parameter determines the channel strip this action applies to ** </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>SELECT_NEXT_PATTERN</strong></span> : selects the pattern that is defined in the Action Parameter ** </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>SELECT_AND_PLAY_NEXT_PATTERN</strong></span> : combines the SELECT_NEXT_PATTERN with PLAY </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>PAN_RELATIVE</strong></span> : changes the panorama setting, relative to the current value; the value you enter in the Action Parameter determines the channel strip this action applies to ** </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>PAN_ABSOLUTE</strong></span> : changes the panorama setting to the absolute value that the linked controller sends to Hydrogen </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>BEATCOUNTER</strong></span> : sets the tempo (see <a class="xref" href="#sect.tap_tempo" title="5.1. Tap Tempo y Contador de Pulsaciones (BeatCounter)">Tap Tempo and BeatCounter</a> </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>TAP_TEMPO</strong></span> : sets the tempo (see <a class="xref" href="#sect.tap_tempo" title="5.1. Tap Tempo y Contador de Pulsaciones (BeatCounter)">Tap Tempo and BeatCounter</a> </p></li><li class="listitem" style="list-style-type: circle"><p><span class="bold"><strong>SELECT_INSTRUMENT</strong></span> : selects one of the instruments in the drumkit </p></li></ul></div></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect.osc"></a>12. OSC</h2></div></div></div><p>Open Sound Control (OSC) is a protocol for communication among programs, computers, and hardware, like synthesizers or multimedia devices, via networking protocols such as UDP or TCP. It can be thought of as a replacement for the MIDI protocol with rich benefits, like supporting symbolic and high-resolution numerical argument data, providing an URL-style naming scheme in combination with a pattern matching language, and allowing to bundle messages for a better handling of timing and simultaneous processing.</p><p>Hydrogen is able to receive OSC messages. This allows you to control it using various devices, like hardware OSC controllers, smartphones, tablets, or any PC. For Linux-based systems you can test these interactions using the command line program <span class="emphasis"><em>oscsend</em></span> and Hydrogen's port number you can find in the OSC tab in the Preferences dialog. </p><p><span class="emphasis"><em>oscsend localhost 9000 /Hydrogen/NEW_SONG s /tmp/new.h2song</em></span></p><p>To enable OSC support in Hydrogen, open the Preferences dialog and switch to the OSC tab. Make sure that the "Enable OSC support" checkbox is activated, otherwise Hydrogen will not listen for incoming OSC messages.</p><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.osc.messages"></a>12.1. Controlling Hydrogen via OSC</h3></div></div></div><p>If you want to control Hydrogen via OSC, you may send messages to the following addresses: </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>/Hydrogen/STRIP_VOLUME_ABSOLUTE/</p></li><li class="listitem"><p>/Hydrogen/PAN_ABSOLUTE/</p></li><li class="listitem"><p>/Hydrogen/FILTER_CUTOFF_LEVEL_ABSOLUTE/</p></li><li class="listitem"><p>/Hydrogen/STRIP_MUTE_TOGGLE/</p></li><li class="listitem"><p>/Hydrogen/STRIP_SOLO_TOGGLE/</p></li><li class="listitem"><p>/Hydrogen/PLAY</p></li><li class="listitem"><p>/Hydrogen/PLAY_STOP_TOGGLE</p></li><li class="listitem"><p>/Hydrogen/PLAY_PAUSE_TOGGLE</p></li><li class="listitem"><p>/Hydrogen/STOP</p></li><li class="listitem"><p>/Hydrogen/PAUSE</p></li><li class="listitem"><p>/Hydrogen/RECORD_READY</p></li><li class="listitem"><p>/Hydrogen/RECORD_STROBE</p></li><li class="listitem"><p>/Hydrogen/RECORD_STROBE_TOGGLE</p></li><li class="listitem"><p>/Hydrogen/RECORD_EXIT</p></li><li class="listitem"><p>/Hydrogen/MUTE</p></li><li class="listitem"><p>/Hydrogen/MUTE_TOGGLE</p></li><li class="listitem"><p>/Hydrogen/UNMUTE</p></li><li class="listitem"><p>/Hydrogen/NEXT_BAR</p></li><li class="listitem"><p>/Hydrogen/PREVIOUS_BAR</p></li><li class="listitem"><p>/Hydrogen/BPM_INCR</p></li><li class="listitem"><p>/Hydrogen/BPM_DECR</p></li><li class="listitem"><p>/Hydrogen/MASTER_VOLUME_ABSOLUTE</p></li><li class="listitem"><p>/Hydrogen/MASTER_VOLUME_RELATIVE</p></li><li class="listitem"><p>/Hydrogen/STRIP_VOLUME_RELATIVE</p></li><li class="listitem"><p>/Hydrogen/SELECT_NEXT_PATTERN</p></li><li class="listitem"><p>/Hydrogen/SELECT_NEXT_PATTERN_PROMPTLY</p></li><li class="listitem"><p>/Hydrogen/SELECT_AND_PLAY_NEXT_PATTERN</p></li><li class="listitem"><p>/Hydrogen/BEATCOUNTER</p></li><li class="listitem"><p>/Hydrogen/TAP_TEMPO</p></li><li class="listitem"><p>/Hydrogen/PLAYLIST_SONG</p></li><li class="listitem"><p>/Hydrogen/PLAYLIST_NEXT_SONG</p></li><li class="listitem"><p>/Hydrogen/PLAYLIST_PREV_SONG</p></li><li class="listitem"><p>/Hydrogen/TOGGLE_METRONOME</p></li><li class="listitem"><p>/Hydrogen/SELECT_INSTRUMENT</p></li><li class="listitem"><p>/Hydrogen/UNDO_ACTION</p></li><li class="listitem"><p>/Hydrogen/REDO_ACTION</p></li><li class="listitem"><p>/Hydrogen/NEW_SONG s /full/path/to/new.h2song</p></li><li class="listitem"><p>/Hydrogen/OPEN_SONG s /full/path/to/existing.h2song</p></li><li class="listitem"><p>/Hydrogen/SAVE_SONG</p></li><li class="listitem"><p>/Hydrogen/SAVE_SONG_AS s /full/path/to/copy.h2song</p></li><li class="listitem"><p>/Hydrogen/QUIT</p></li><li class="listitem"><p>/Hydrogen/TIMELINE_ACTIVATION i 0</p></li><li class="listitem"><p>/Hydrogen/TIMELINE_ADD_MARKER if 1 120</p></li><li class="listitem"><p>/Hydrogen/TIMELINE_DELETE_MARKER i 1</p></li><li class="listitem"><p>/Hydrogen/JACK_TRANSPORT_ACTIVATION i 0</p></li><li class="listitem"><p>/Hydrogen/JACK_TIMEBASE_MASTER_ACTIVATION i 0</p></li><li class="listitem"><p>/Hydrogen/SONG_MODE_ACTIVATION i 0</p></li><li class="listitem"><p>/Hydrogen/LOOP_MODE_ACTIVATION i 0</p></li><li class="listitem"><p>/Hydrogen/RELOCATE i 4</p></li></ul></div><p> For more information about the actions invoked, please see the corresponding documentation in the source code. </p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sect.osc.feeback"></a>12.2. Sending OSC feedback to other applications</h3></div></div></div><p>Hydrogen is able notify other applications via OSC if a parameter changes, for example if a fader has been moved. It does not matter at this point if the fader has been moved via the GUI, an incoming OSC message or via MIDI. </p><p>To enable/disable OSC feedback, a checkbox exists on the OSC tab of the Preferences dialog. If the checkbox is enabled, Hydrogen sends out OSC feedback messages to all OSC client, which are known to Hydrogen. </p><p>Clients are registered automatically by Hydrogen upon the first message received from the client. </p><p>The OSC messages send by Hydrogen will be associated with the following paths </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>/Hydrogen/MASTER_VOLUME_ABSOLUTE</p></li><li class="listitem"><p>/Hydrogen/TOGGLE_METRONOME</p></li><li class="listitem"><p>/Hydrogen/MUTE_TOGGLE</p></li><li class="listitem"><p>/Hydrogen/STRIP_VOLUME_ABSOLUTE/[x]</p></li><li class="listitem"><p>/Hydrogen/PAN_ABSOLUTE/[x]</p></li><li class="listitem"><p>/Hydrogen/STRIP_MUTE_TOGGLE/[x]</p></li><li class="listitem"><p>/Hydrogen/STRIP_SOLO_TOGGLE/[x]</p></li></ul></div><p> The last part [x] of the URI specifies a particular instrument. </p></div></div><div class="footnotes"><br><hr style="width:100; text-align:left;margin-left: 0"><div id="ftn.fn.adsrtimes" class="footnote"><p><a href="#fn.adsrtimes" class="para"><sup class="para">[1] </sup></a>Los parámetros de ataque, decaimiento (decay) y release ("liberación") están determinados por el número de <span class="emphasis"><em>samples de audio</em></span>. Esto significa que los cambios de tiempo dependen de la tasa de muestreo de tu tarjeta de sonido. El tiempo máximo para cada uno de ellos es de 100,000 samples de audio (normalmente 2.27 seg a 44.1 kHz).</p></div></div></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="chap.create_song"></a>Capítulo 3. Una nueva canción</h1></div></div></div><div class="toc"><p><b>Tabla de contenidos</b></p><dl class="toc"><dt><span class="section"><a href="#sect.song_vs_pattern">1. Modo "Canción" y modo "Patrón"</a></span></dt><dt><span class="section"><a href="#sect.create_pattern">2. Un nuevo patrón</a></span></dt><dt><span class="section"><a href="#sect.create_sequence">3. Una nueva secuencia</a></span></dt><dt><span class="section"><a href="#sect.create_song.adjust_mixer">4. Configura desde el mezclador</a></span></dt></dl></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect.song_vs_pattern"></a>1. Modo "Canción" y modo "Patrón"</h2></div></div></div><p>This section is a quick-and-dirty walkthrough to Hydrogen. Refer to the tutorial for a more detailed overview.</p><p>Hydrogen has 2 main modes: "Pattern" mode and "Song" mode (refer to <a class="xref" href="#sect.main_toolbar" title="5. Barra de herramientas principal">Sección 5</a> for the buttons that activate each mode). When "Pattern" mode is activated the current pattern is continuously repeated. This mode is very well suited to tweak your pattern until it's just right, since the pattern you are working on is constantly repeated. This way you can immediately hear the changes you have made. In "Song" mode the whole song is played. This is useful when putting together the patterns to create the structure of the song.</p></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect.create_pattern"></a>2. Un nuevo patrón</h2></div></div></div><p>We'll start from the empty song with an empty pattern created when Hydrogen starts up: "pattern" mode should be selected by default. Now let's click on the <span class="quote">“<span class="quote">Play</span>”</span>button, and while the pattern is playing let's add notes by left_mouse_clicking in the grid of the Song Editor (<a class="xref" href="#fig.pattern_editor.2" title="Figura 3.1. El Editor de Patrones">Figura 3.1</a>). Adjust the grid resolution and BPM speed if needed. Remember 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 <span class="quote">“<span class="quote">off</span>”</span> from the Grid Resolution LCD in which case you're free to place notes wherever you prefer). <span class="bold"><strong>Be sure to select the correct pattern in the Song Editor before adding notes in the Pattern Editor!</strong></span></p><div class="figure"><a name="fig.pattern_editor.2"></a><p class="title"><b>Figura 3.1. El Editor de Patrones</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/PatternEditor.png" alt="El Editor de Patrones"></div></div></div><br class="figure-break"></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect.create_sequence"></a>3. Una nueva secuencia</h2></div></div></div><p>Once patterns are created (<a class="xref" href="#fig.insert_patterns" title="Figura 3.2. Inserting Patterns in the Song sequence">Figura 3.2</a>), we can copy/paste/delete them using the Select Mode (see <a class="xref" href="#sect.song_editor.main_controls" title="6.1. Main controls">Sección 6.1</a>). </p><div class="figure"><a name="fig.insert_patterns"></a><p class="title"><b>Figura 3.2. Inserting Patterns in the Song sequence</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/SongEditor.png" alt="Inserting Patterns in the Song sequence"></div></div></div><br class="figure-break"></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect.create_song.adjust_mixer"></a>4. Configura desde el mezclador</h2></div></div></div><p>Por supuesto siempre podemos utilizar la ventana del mezclador, bien a la hora de crear o reproducir patrones.</p><p>The Mixer frame (<a class="xref" href="#fig.mixer.2" title="Figura 3.3. El Mezclador">Figura 3.3</a>) is made of 32 independent tracks, each of these is bound to an instrument, plus a "Master Output" control and a "FX" button to show and hide the effects panel. Every line features 3 buttons ( <span class="inlinemediaobject"><img src="img/btn_play_on_mixer.png"></span> <span class="inlinemediaobject"><img src="img/btn_solo_on.png"></span> <span class="inlinemediaobject"><img src="img/btn_mute_on.png"></span> ), pan adjust ( <span class="inlinemediaobject"><img src="img/MixerPan.png"></span> ), current maximum peak, volume fader and name of the track. Clicking on <span class="inlinemediaobject"><img src="img/btn_solo_on.png"></span> will play the selected instrument, cutting the others. The "Mute" button <span class="inlinemediaobject"><img src="img/btn_mute_on.png"></span> , simply mute <span class="emphasis"><em>that</em></span> instrument. The maximum peak indicates the maximum volume reached from the instrument. The peak must be in a range of 0.0 and 1.0 (in <a class="xref" href="#fig.mixer.2" title="Figura 3.3. El Mezclador">Figura 3.3</a> you can see a few volumes too loud). Peaks outside that range will get distorted (especially with OSS audio driver). Keep an eye on each vu-meter and if distortion appears, turn the volume down for that instrument. </p><div class="figure"><a name="fig.mixer.2"></a><p class="title"><b>Figura 3.3. El Mezclador</b></p><div class="figure-contents"><div class="mediaobject"><img src="img/Mixer.png" alt="El Mezclador"></div></div></div><br class="figure-break"></div></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="chap.shortcuts"></a>Capítulo 4. Shortcut lists</h1></div></div></div><div class="table"><a name="sect.shortcut.table"></a><p class="title"><b>Tabla 4.1. Shortcut table</b></p><div class="table-contents"><table class="table" summary="Shortcut table" border="1"><colgroup><col align="left" class="cShortcut"><col align="left" class="cDescription"></colgroup><thead><tr><th align="left">shortcut</th><th align="left">description</th></tr></thead><tbody><tr><td align="left">[CTRL] + [N]</td><td align="left">New Project</td></tr><tr><td align="left">[CTRL] + [O]</td><td align="left">Open File</td></tr><tr><td align="left">[CTRL] + [D]</td><td align="left">Open Demo</td></tr><tr><td align="left">[CTRL] + [S]</td><td align="left">Save Song</td></tr><tr><td align="left">[CTRL] + [SHIFT] + [S]</td><td align="left">Save Song as</td></tr><tr><td align="left">[CTRL] + [P]</td><td align="left">Export Pattern as</td></tr><tr><td align="left">[CTRL] + [M]</td><td align="left">Export MIDI file</td></tr><tr><td align="left">[CTRL] + [E]</td><td align="left">Export Song (see <a class="xref" href="#sect.song_editor.export_song" title="6.6. Exporting your song">Export Song</a>)</td></tr><tr><td align="left">[CTRL] + [L]</td><td align="left">Export LilyPond file</td></tr><tr><td align="left">[CTRL] + [Q]</td><td align="left">Quit Hydrogen</td></tr><tr><td align="left">[CTRL] + [Z]</td><td align="left">Undo an action</td></tr><tr><td align="left">[CTRL] + [SHIFT] + [Z]</td><td align="left">Redo an action</td></tr><tr><td align="left">[ALT] + [D]</td><td align="left">Show Director (see <a class="xref" href="#sect.song_editor.director" title="6.3. Director">Director</a>)</td></tr><tr><td align="left">[ALT] + [M]</td><td align="left">Show Mixer (see <a class="xref" href="#sect.mixer" title="8. Mezclador">Mixer</a>)</td></tr><tr><td align="left">[ALT] + [I]</td><td align="left">Show Instrument rack (see <a class="xref" href="#sect.sound_library" title="9. Sound Library (Drumkit/Pattern/Song Manager)">Instrument rack</a>)</td></tr><tr><td align="left">[ALT] + [A]</td><td align="left">Show Automation path</td></tr><tr><td align="left">[ALT] + [F]</td><td align="left">Toggle fullscreen mode</td></tr><tr><td align="left">[CTRL] + [ALT] + [I]</td><td align="left">Set Input mode to Instrument</td></tr><tr><td align="left">[CTRL] + [ALT] + [D]</td><td align="left">Set Input mode to Drumkit</td></tr><tr><td align="left">[ALT] + [P]</td><td align="left">Show Preferences (see <a class="xref" href="#sect.preferences" title="3. Preferences">Preferences</a>)</td></tr><tr><td align="left">[ALT] + [?]</td><td align="left">Show Manual</td></tr><tr><td align="left">[Backspace]</td><td align="left">Restart song or pattern from the beginning</td></tr><tr><td align="left">[Space]</td><td align="left">Play / Pause</td></tr><tr><td align="left">[CTRL] + [Space]</td><td align="left">Play / Pause at the current cursor position</td></tr><tr><td align="left">[,]</td><td align="left">Use Beatcounter (see <a class="xref" href="#sect.tap_tempo" title="5.1. Tap Tempo y Contador de Pulsaciones (BeatCounter)">Tap Tempo and BeatCounter</a>)</td></tr><tr><td align="left">[\]</td><td align="left">Use Tap Tempo (see <a class="xref" href="#sect.tap_tempo" title="5.1. Tap Tempo y Contador de Pulsaciones (BeatCounter)">Tap Tempo and BeatCounter</a>)</td></tr><tr><td align="left">[+]</td><td align="left">Increase tempo by 0.1 BPM</td></tr><tr><td align="left">[-]</td><td align="left">Decrease tempo by 0.1 BPM</td></tr><tr><td align="left">[F5]</td><td align="left">Jump to previous song in playlist</td></tr><tr><td align="left">[F6]</td><td align="left">Jump to next song in playlist</td></tr><tr><td align="left">[F9]</td><td align="left">Jump to previous bar in the song</td></tr><tr><td align="left">[F10]</td><td align="left">Jump to next bar in the song</td></tr><tr><td align="left">[F12]</td><td align="left">Panic button (stops the song and mutes all playing sounds) </td></tr></tbody></table></div></div><br class="table-break"></div><div class="glossary"><div class="titlepage"><div><div><h1 class="title"><a name="glossary"></a>Glosario</h1></div></div></div><p>This is a glossary of general terms encountered when using Hydrogen, synthesizers, drums, or samplers. The definitions here provide more detail and explanation than the simplified ones in the text. For example, the text of the manual would have you believe that an ADSR is the only kind of envelope generator and could only ever control the volume. While the simplified definitions help new users start using Hydrogen quickly, they can lack the nuances presented here.</p><dl><dt><a name="def.adsr"></a><span class="glossterm">ADSR</span></dt><dd class="glossdef"><p>Un tipo de generador de envolventes que te permite controlar los parámetros de <a class="link" href="#def.attack" title="Attack">Attack</a>, <a class="link" href="#def.decay" title="Decay">Decay</a>, <a class="link" href="#def.sustain" title="Sustain">Sustain</a>, y <a class="link" href="#def.release" title="Liberación (Release)">Release</a>. Generalmente, los parámetros son proporcionales a la <a class="link" href="#def.velocity" title="Intensidad">intensidad</a>.</p><p>En Hydrogen, el 'ADSR envelope generator' sólo controla el volumen (atenuación).</p><p>Lee más sobre esto en el Artículo de Wikipedia (en inglés) <a class="ulink" href="http://en.wikipedia.org/wiki/ADSR_envelope" target="_top">ADSR Envelope</a></p><p>Ver también <a class="glossseealso" href="#def.envelopegenerator">Generador de la Envolvente (Envelope Generator)</a>, <a class="glossseealso" href="#def.attack">Attack</a>, <a class="glossseealso" href="#def.decay">Decay</a>, <a class="glossseealso" href="#def.sustain">Sustain</a>, <a class="glossseealso" href="#def.release">Liberación (Release)</a>.</p></dd><dt><a name="def.attack"></a><span class="glossterm">Attack</span></dt><dd class="glossdef"><p>Esta es la primera fase de un 'ADSR envelope', y es la cantidad de <span class="emphasis"><em>tiempo</em></span> necesario para subir el parámetro de 0 a la máxima intensidad tras disparar la nota.</p><p>Ver también <a class="glossseealso" href="#def.adsr">ADSR</a>.</p></dd><dt><a name="def.attenuation"></a><span class="glossterm">Atenuación</span></dt><dd class="glossdef"><p>En filtros y mezcladores, esto es la reducción de la señal (volumen).</p><p>Ver también <a class="glossseealso" href="#def.rolloff">Roll-off</a>.</p></dd><dt><a name="def.bandpassfilter"></a><span class="glossterm">Band-Pass Filter</span></dt><dd class="glossdef"><p>A filter that preserves a certain band of frequencies, and attenuates (silences) all others. This is often done by combining a high-pass and a low-pass filter.</p><p>Ver también <a class="glossseealso" href="#def.filter">Filtro</a>, <a class="glossseealso" href="#def.highpassfilter">Filtro 'High-Pass'</a>, <a class="glossseealso" href="#def.lowpassfilter">Filtro Low-Pass</a>.</p></dd><dt><a name="def.clipping"></a><span class="glossterm">Saturación (Clipping)</span></dt><dd class="glossdef"><p>Un fenómeno que afecta a una señal cuando es demasiado grande para lo que sea que lo recibe. Los picos de la señal (que normalmente son curvas redondeadas) se cortan al máximo volumen (clipeados). Esto distorsiona el sonido y normalmente no es deseable.</p><p>Un ejemplo de saturación es cuando reproduces música a un volumen mayor de lo que puede soportar el altavoz. Algunas partes de la música suenan desgarradas y borrosas.</p></dd><dt><a name="def.cutoff"></a><span class="glossterm">Frecuencia de Corte (Cutoff Frequency)</span></dt><dd class="glossdef"><p>En los filtros high-pass y low-pass, esta es la frecuencia que divide entre entre aquellas que pasan, y aquellas que se atenúan (silenciadas). En un filtro de 'high-pass resonance', o uno de 'low-pass resonance', el corte es también la zona de frecuencias que se amplifican.</p><p>Por ejemplo, si tienes un filtro low-pass y configuras una frecuencia de corte alta (por ej. 20kHz)... el filtro no afectará al sonido. Todas las frecuencias audibles pasarán sin modificarse. Al bajar la frecuencia de corte a algo como 40 Hz (la cuerda gruesa de un bajo), suena como si alguien tapara el altavoz con una manta. Las frecuencias altas se están atenuando por encima de los 30 Hz.</p><p>Ver también <a class="glossseealso" href="#def.filter">Filtro</a>, <a class="glossseealso" href="#def.highpassfilter">Filtro 'High-Pass'</a>, <a class="glossseealso" href="#def.lowpassfilter">Filtro Low-Pass</a>, <a class="glossseealso" href="#def.resonancefilter">Filtro de Resonancia</a>.</p></dd><dt><a name="def.decay"></a><span class="glossterm">Decay</span></dt><dd class="glossdef"><p>Tras alcanzar la máxima intensidad del 'attack', esto es la cantidad de <span class="emphasis"><em>tiempo</em></span> necesario para bajar el parámetro hasta el nivel del sustain.</p><p>Ver también <a class="glossseealso" href="#def.adsr">ADSR</a>.</p></dd><dt><a name="def.dc-offsety"></a><span class="glossterm">DC-offsety</span></dt><dd class="glossdef"><p>DC offset, or DC coefficient is the mean value of the waveform.</p><p>DC offset is usually undesirable. For example, in audio processing, a sound that has DC offset will not be at its loudest possible volume when normalized (because the offset consumes headroom), and this problem can possibly extend to the mix as a whole, since a sound with DC offset and a sound without DC offset will have DC offset when mixed. It may also cause other artifacts depending on what is being done with the signal.</p></dd><dt><a name="def.envelopegenerator"></a><span class="glossterm">Generador de la Envolvente (Envelope Generator)</span></dt><dd class="glossdef"><p>Una manera de controlar (cambiar) un parámetro a lo largo del tiempo como respuesta al disparo, sostenimiento y liberación de una nota.</p><p>¿Se te acaba de nublar la vista? Intentémoslo de nuevo:</p><p>Imagina que estás tocando una nota en el teclado y tienes la otra mano en un mando (volumen, filtro de corte, etc.). Según tocas la nota, giras e mando (hacia arriba, luego abajo... o viceversa). Haces lo mismo con cada nota. Esto es lo que hace el 'envelope generator'. Consulta también <a class="link" href="#def.adsr" title="ADSR">ADSR</a></p></dd><dt><a name="def.fader"></a><span class="glossterm">Fader</span></dt><dd class="glossdef"><p>Un control deslizante utilizado para ajustar la atenuación (volumen) en un mezclador. Los faders siempre tienen un potenciómetro de "audio", lo que significa que los cambios de atenuación tienen lugar en una escala exponencial.</p></dd><dt><a name="def.filter"></a><span class="glossterm">Filtro</span></dt><dd class="glossdef"><p>Un dispositivo que cambia un sonido atenuando frecuencias específicas. Un control de tono es un ejemplo de un filtro simple de 'low pass'.</p><p>Ver también <a class="glossseealso" href="#def.bandpassfilter">Band-Pass Filter</a>, <a class="glossseealso" href="#def.highpassfilter">Filtro 'High-Pass'</a>, <a class="glossseealso" href="#def.lowpassfilter">Filtro Low-Pass</a>, <a class="glossseealso" href="#def.resonancefilter">Filtro de Resonancia</a>.</p></dd><dt><a name="def.gain"></a><span class="glossterm">Ganancia</span></dt><dd class="glossdef"><p>En un amplificador, determina cuánto se amplifica una señal (volumen). A mayor valor de ganancia, más volumen.</p></dd><dt><a name="def.highpassfilter"></a><span class="glossterm">Filtro 'High-Pass'</span></dt><dd class="glossdef"><p>Un filtro que atenúa (silencia) frecuencias bajas, pero que permite el paso de frecuencias altas.</p><p>Ver también <a class="glossseealso" href="#def.filter">Filtro</a>, <a class="glossseealso" href="#def.cutoff">Frecuencia de Corte (Cutoff Frequency)</a>.</p></dd><dt><a name="def.instrument"></a><span class="glossterm">Instrumento</span></dt><dd class="glossdef"><p>En Hydrogen, un instrumento es un único generador de ruido (como puede ser un bombo o un tom).</p></dd><dt><a name="def.layer"></a><span class="glossterm">Capa</span></dt><dd class="glossdef"><p>En un instrumento, puedes cargar varios samples diferentes <span class="bold"><strong>capa</strong></span>), y hacer que suene un sample diferente dependiendo de la intensidad de la nota. Sólo sonará un sample a la vez.</p><p>Supón que tienes un sample de un golpe suave de timbal base. Si simplemente reproduces el sample más alto — <span class="emphasis"><em>no</em></span> sonará igual que un golpe fuerte en un tom de verdad. Si quieres imitar esto en tu instrumento, puedes cargar un sample par los golpes suaves, y otro sample para los fuertes.</p><p>Ver también <a class="glossseealso" href="#def.instrument">Instrumento</a>.</p></dd><dt><a name="def.lowpassfilter"></a><span class="glossterm">Filtro Low-Pass</span></dt><dd class="glossdef"><p>A filter that attenuates (silences) high frequencies, but allows low frequencies to pass through.</p><p>Ver también <a class="glossseealso" href="#def.filter">Filtro</a>, <a class="glossseealso" href="#def.cutoff">Frecuencia de Corte (Cutoff Frequency)</a>.</p></dd><dt><a name="def.mute"></a><span class="glossterm">Silencio (Mute)</span></dt><dd class="glossdef"><p>Para no hacer sonido. Una función del instrumento que evita cualquier salida de audio.</p></dd><dt><a name="def.mutegroup"></a><span class="glossterm">Grupo de Silencio (Mute Group)</span></dt><dd class="glossdef"><p>Un grupo de instrumentos (samples) que debería silenciarse inmediatamente cuando se dispara otro instrumento del mismo grupo.</p><p>Esto se utiliza normalmente para los hi-hats, donde hay un instrumento (sample) diferente para cuando está abierto y cerrado. Con un hi-hat real, el sonido abierto parará en cuanto lo cierres. Sin embargo, si utilizas dos samples — el sonido de abierto continuará aún después de disparar el sonido de cerrado. Al colocar ambos instrumentos en el mismo grupo (grupo #1, por ejemplo)... al disparar el sonido de cerrado el de abierto se parará automáticamente (y vice versa).</p></dd><dt><a name="def.octave"></a><span class="glossterm">Octava</span></dt><dd class="glossdef"><p>Un rango de frecuencias donde la más alta es exáctamente el doble de la más baja.</p><p>Por ejemplo, el rango de 20 Hz a 40 Hz es una octava. Como lo es de 120 Hz a 240 Hz, y de 575 Hz a 1150 Hz. Mientras que las diferencias de frecuencia son muy variadas (20 Hz, 120 Hz, y 575 Hz, respectivamente), para el oído humano <span class="emphasis"><em>suenan</em></span> como si les separara la misma distancia.</p></dd><dt><a name="def.release"></a><span class="glossterm">Liberación (Release)</span></dt><dd class="glossdef"><p>Tras soltar/liberar la nota, esto es la cantidad de <span class="emphasis"><em>tiempo</em></span> necesario para reducir el parámetro del nivel de sustain a 0.</p><p>Ver también <a class="glossseealso" href="#def.adsr">ADSR</a>.</p></dd><dt><a name="def.resonance"></a><span class="glossterm">Resonancia</span></dt><dd class="glossdef"><p>Al referirnos al filtro de resonancia, esto es el parámetro que determina cuánta ganancia se da a las frecuencias en el corte.</p><p>Ver también <a class="glossseealso" href="#def.resonancefilter">Filtro de Resonancia</a>.</p></dd><dt><a name="def.resonancefilter"></a><span class="glossterm">Filtro de Resonancia</span></dt><dd class="glossdef"><p>Un filtro que amplifica un estrecho rango de frecuencias. Típicamente formará parte de un filtro high-pass o low-pass, donde las frecuencias amplificadas se centran en la frecuencia de corte.</p><p>Ver también <a class="glossseealso" href="#def.filter">Filtro</a>, <a class="glossseealso" href="#def.cutoff">Frecuencia de Corte (Cutoff Frequency)</a>, <a class="glossseealso" href="#def.resonance">Resonancia</a>.</p></dd><dt><a name="def.rolloff"></a><span class="glossterm">Roll-off</span></dt><dd class="glossdef"><p>Esta es la cantidad de atenuación (supresión) aplicada a las frecuencias según cambia la frecuencia (normalmente medido en dB/octava).</p><p>For example, in a low-pass filter the frequencies below the cutoff frequency are not attenuated (they pass-through with the same volume). Same with the cutoff frequency. As you go above the cutoff frequency, the frequencies that are near the cutoff frequency are not attenuated very much at all. However, the frequencies that are much higher than the cutoff are attenuated (suppressed) a lot. This is usually approximated by a straight line (on a log scale) and measured in in dB of attenuation per octave of frequency.</p><p>Ver también <a class="glossseealso" href="#def.attenuation">Atenuación</a>, <a class="glossseealso" href="#def.filter">Filtro</a>.</p></dd><dt><a name="def.sample"></a><span class="glossterm">Sample</span></dt><dd class="glossdef"><p>Una corta grabación de un sonido, típicamente con entre .1 y 3.0 segundos de duración.</p></dd><dt><a name="def.sustain"></a><span class="glossterm">Sustain</span></dt><dd class="glossdef"><p>El <span class="emphasis"><em>nivel</em></span> en el que se sostiene el parámetro tras terminar el tiempo de decay. Este nivel se mantendrá hasta que la nota se suelta.</p><p>Ver también <a class="glossseealso" href="#def.adsr">ADSR</a>.</p></dd><dt><a name="def.velocity"></a><span class="glossterm">Intensidad</span></dt><dd class="glossdef"><p>La fuerza con la que golpeas una nota.</p><p>Los dispositivos MIDI deben enviar esta información junto con la nota. Los sintetizadores utilizan esta información para ajustar varios parámetros en el sample (normalmente el volumen). En Hydrogen, sólo se utiliza para determinar el volumen al que se reproduce el sample.</p></dd></dl></div></div></body></html>