Hi All,

So, I finally decided to learn how to use Hydrogen, since Tim has that nice tutorial up on the website. Inputting the patterns and creating a song was really easy! But I ran into some problems.

I'm using 64 Studio testing, Hydrogen v0.9.3 and Jack Control v0.2.22. I have a PreSonus Firepod, which works great with Ardour and FMIT. I can use the Rosegarden notation editor (haven't really done anything else with Rosegarden, but it does show up correctly in Jack Control). So the firewire device is working with Jack.

Here are the problems I've encountered with Hydrogen:

1. I can't hear anything when I try to play a song back in Hydrogen.

2. Hydrogen doesn't show up in QJackCtrl

3. When I try to export a song, the progress bar goes to 100% immediately. The sample rate is shown as 0, even though in the Hydrogen preferences dialogue, it's 44100, just like Jack. The exported .wav file is always 44 bytes.

4. I then get another error:

"Error starting audio driver" and "Jack driver: cannot connect output port".

Or sometimes Hydrogen will just crash.

5. I looked at the ~/.hydrogen/hydrogen.conf file and it refers to alsa_pcm, but I'm using freebob_pcm with the freebob driver. It also refers to PortMidi as the midi driver (the other choice is ALSA), but Jack reports the midi port as FreeBoB Jack MIDI. The driver I'm using in Jack is freebob.

I also tried importing the Hydrogen file into Rosegarden. That went a little better, I could see that the file contained the beats I input by doing a print preview. But still no sound.

I've attached both my ~/.hydrogen/.hydrogen.conf file and the output of
hydrogen -d jack --verbose - just in case they might help. (I normally start Hydrogen from the footprint menu.)

I see that some other users are having the same problems, there are a few threads in the Hydrogen forums, but no solutions:

http://www.hydrogen-music.org/forum/index.php?p=show&action=show_all&fid=5

Thanks for any help!

Take care,

-Susan


<hydrogen_preferences>
    <version>0.9.3</version>
    <restoreLastSong>true</restoreLastSong>
    <hearNewNotes>true</hearNewNotes>
    <recordEvents>false</recordEvents>
    <quantizeEvents>true</quantizeEvents>
    <usePitchEditor>false</usePitchEditor>
    <recentUsedSongs>
        <song>/usr/home/susan/ShesAWoman.h2song</song>
        <song>/usr/share/hydrogen/data/demo_songs/GM_kit_demo1.h2song</song>
        <song>/usr/home/susan/ShesAWoman.h2song</song>
        <song>/usr/share/hydrogen/data/demo_songs/GM_kit_demo1.h2song</song>
    </recentUsedSongs>
    <lastNews>-</lastNews>
    <audio_engine>
        <audio_driver>Jack</audio_driver>
        <use_metronome>false</use_metronome>
        <metronome_volume>0.5</metronome_volume>
        <maxNotes>512</maxNotes>
        <buffer_size>1024</buffer_size>
        <samplerate>44100</samplerate>
        <oss_driver>
            <ossDevice>/dev/dsp</ossDevice>
        </oss_driver>
        <jack_driver>
            <jack_port_name_1>alsa_pcm:playback_1</jack_port_name_1>
            <jack_port_name_2>alsa_pcm:playback_2</jack_port_name_2>
            <jack_transport_mode>USE_JACK_TRANSPORT</jack_transport_mode>
            <jack_connect_defaults>true</jack_connect_defaults>
            <jack_track_outs>true</jack_track_outs>
        </jack_driver>
        <alsa_audio_driver>
            <alsa_audio_device>hw:0</alsa_audio_device>
        </alsa_audio_driver>
        <midi_driver>
            <driverName>PortMidi</driverName>
            <port_name>None</port_name>
            <channel_filter>-1</channel_filter>
            <ignore_note_off>true</ignore_note_off>
        </midi_driver>
    </audio_engine>
    <gui>
        <QTStyle></QTStyle>
        <interface_mode>Child frame</interface_mode>
        <application_font_family>Sans Serif</application_font_family>
        <application_font_pointsize>10</application_font_pointsize>
        <mixer_font_family>Sans Serif</mixer_font_family>
        <mixer_font_pointsize>9</mixer_font_pointsize>
        <mixer_falloff_speed>1.1</mixer_falloff_speed>
        <patternEditorGridResolution>8</patternEditorGridResolution>
        <patternEditorGridHeight>16</patternEditorGridHeight>
        <patternEditorGridWidth>3</patternEditorGridWidth>
        <patternEditorUsingTriplets>false</patternEditorUsingTriplets>
        <showInstrumentPeaks>true</showInstrumentPeaks>
        <mainForm_properties>
            <visible>true</visible>
            <x>-7</x>
            <y>-154</y>
            <width>1278</width>
            <height>996</height>
        </mainForm_properties>
        <mixer_properties>
            <visible>true</visible>
            <x>120</x>
            <y>572</y>
            <width>829</width>
            <height>284</height>
        </mixer_properties>
        <patternEditor_properties>
            <visible>true</visible>
            <x>50</x>
            <y>97</y>
            <width>706</width>
            <height>461</height>
        </patternEditor_properties>
        <songEditor_properties>
            <visible>true</visible>
            <x>652</x>
            <y>-18</y>
            <width>600</width>
            <height>250</height>
        </songEditor_properties>
        <drumkitManager_properties>
            <visible>false</visible>
            <x>500</x>
            <y>20</y>
            <width>526</width>
            <height>437</height>
        </drumkitManager_properties>
        <audioEngineInfo_properties>
            <visible>false</visible>
            <x>720</x>
            <y>120</y>
            <width>0</width>
            <height>0</height>
        </audioEngineInfo_properties>
        <instrumentEditor_properties>
            <visible>false</visible>
            <x>10</x>
            <y>100</y>
            <width>0</width>
            <height>0</height>
        </instrumentEditor_properties>
        <ladspaFX_properties0>
            <visible>false</visible>
            <x>2</x>
            <y>20</y>
            <width>0</width>
            <height>0</height>
        </ladspaFX_properties0>
        <ladspaFX_properties1>
            <visible>false</visible>
            <x>2</x>
            <y>20</y>
            <width>0</width>
            <height>0</height>
        </ladspaFX_properties1>
        <ladspaFX_properties2>
            <visible>false</visible>
            <x>2</x>
            <y>20</y>
            <width>0</width>
            <height>0</height>
        </ladspaFX_properties2>
        <ladspaFX_properties3>
            <visible>false</visible>
            <x>2</x>
            <y>20</y>
            <width>0</width>
            <height>0</height>
        </ladspaFX_properties3>
        <followPlayhead>true</followPlayhead>
        <UI_Style>
            <songEditor>
                <backgroundColor>95,101,117</backgroundColor>
                <alternateRowColor>128,134,152</alternateRowColor>
                <selectedRowColor>128,134,152</selectedRowColor>
                <lineColor>72,76,88</lineColor>
                <textColor>196,201,214</textColor>
                <pattern1Color>97,167,251</pattern1Color>
            </songEditor>
            <patternEditor>
                <backgroundColor>201,207,225</backgroundColor>
                <alternateRowColor>242,245,255</alternateRowColor>
                <selectedMuteRowColor>169,187,209</selectedMuteRowColor>
                <selectedRowColor>99,160,233</selectedRowColor>
                <muteRowColor>200,200,200</muteRowColor>
                <selectedMuteLockRowColor>255,65,70</selectedMuteLockRowColor>
                <selectedLockRowColor>255,170,75</selectedLockRowColor>
                <muteLockRowColor>0,255,120</muteLockRowColor>
                <lockRowColor>255,65,75</lockRowColor>
                <textColor>40,40,40</textColor>
                <noteColor>40,40,40</noteColor>
                <lineColor>150,150,150</lineColor>
                <line1Color>100,100,100</line1Color>
                <line2Color>130,130,130</line2Color>
                <line3Color>160,160,160</line3Color>
                <line4Color>190,190,190</line4Color>
                <line5Color>190,190,190</line5Color>
            </patternEditor>
        </UI_Style>
    </gui>
    <files>
        <lastSongFilename>/usr/home/susan/ShesAWoman.h2song</lastSongFilename>
    </files>
</hydrogen_preferences>
[EMAIL PROTECTED]:~$ hydrogen -d jack --verbose
Warning: no locale found: /usr/share/hydrogen/data/i18n/hydrogen.en_US.UTF-8
Warning: error loading locale: 
/usr/share/hydrogen/data/i18n/hydrogen.en_US.UTF- 8.qm

Hydrogen 0.9.3 [Jun 19 2007]  [http://www.hydrogen-music.org]
Copyright 2002-2005 Alessandro Cominu


Compiled modules:  (FLAC) (Jack) (Alsa) (OSS) (LRDF)
Verbose log mode = active

Hydrogen comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details

Using data path: /usr/share/hydrogen/data
[INFO]      Preferences         INIT
[INFO]      Preferences         Found LADSPA_PATH enviroment variable
[INFO]      Preferences         [loadPreferences] Loading preferences file 
(GLOB AL) [/usr/share/hydrogen/data/hydrogen.default.conf]
[INFO]      Preferences         [loadPreferences] Loading preferences file 
(USER ) [/home/susan/.hydrogen/hydrogen.conf]
[INFO]      SongReader          [readSong] /usr/home/susan/ShesAWoman.h2song
[INFO]      Song                INIT "Shes A Woman"
[LadspaFX::getPluginList] reading directory: /usr/lib/ladspa/
[LadspaFX::getLadspaFXGroup]
[LadspaFX::getPluginList] reading directory: /usr/lib/ladspa/
JACK tmpdir identified as [/dev/shm]
Enhanced3DNow! detected
SSE2 detected
JACK tmpdir identified as [/dev/shm]
Enhanced3DNow! detected
SSE2 detected
[INFO]      Hydrogen            *** Hydrogen audio engine init ***
[INFO]      Hydrogen            [audioEngine_startAudioDrivers]
[INFO]      Hydrogen            [createDriver] Jack
[INFO]      JackDriver          INIT
[INFO]      JackDriver          Jack SampleRate changed: the sample rate is now 
44100/sec
[INFO]      JackDriver          [connect]
[ERROR]     Hydrogen            [audioEngine_startAudioDrivers] Error starting 
a udio driver [audioDriver::connect()]
[ERROR]     Hydrogen            [audioEngine_startAudioDrivers] Using the NULL 
o utput audio driver
[INFO]      JackDriver          DESTROY
[INFO]      JackDriver          [disconnect]
[INFO]      JackDriver          [deactivate]
[INFO]      JackDriver          jack_deactivate
[INFO]      JackDriver          calling jack_client_close
[INFO]      NullDriver          INIT
[INFO]      NullDriver          connect
[INFO]      NullDriver          [getOut_L()] not implemented yet
[ERROR]     Hydrogen            [audioEngine_startAudioDrivers] m_pMainBuffer_L 
== NULL
[INFO]      NullDriver          [getOut_R()] not implemented yet
[ERROR]     Hydrogen            [audioEngine_startAudioDrivers] m_pMainBuffer_R 
== NULL
[INFO]      Hydrogen            [audioEngine_setupLadspaFX] buffersize=0
[INFO]      Hydrogen            [audioEngine_setupLadspaFX] m_pSong=NULL
[INFO]      Hydrogen            [audioEngine_setSong] Shes A Woman
[INFO]      Hydrogen            [audioEngine_clearNoteQueue()]
[INFO]      Hydrogen            [audioEngine_setupLadspaFX] buffersize=0
[ERROR]     Hydrogen            [audioEngine_setupLadspaFX] nBufferSize=0
[ERROR]     NullDriver          [setBpm] not implemented yet
[INFO]      NullDriver          [locate] not implemented
[INFO]      PatEditPanel        [selectedPatternChangedEvent]
[INFO]      DrumkitManager      INIT
[INFO]      DrumkitManager      [updateDrumkitList]
[WARNING]   LocalFileMng        [readXmlString] Using default value in name
[WARNING]   LocalFileMng        [readXmlString] Using default value in name
[WARNING]   LocalFileMng        [readXmlString] Using default value in name
[INFO]      LayerPreview        INIT
[INFO]      WaveDisplay         INIT
[INFO]      HydrogenApp         [showInfoSplash] Selected news: news-051113.html
[INFO]      Hydrogen            [audioEngine_stopAudioDrivers]
[INFO]      NullDriver          disconnect
[INFO]      NullDriver          DESTROY
[INFO]      DiskWriterDriver    INIT
[INFO]      DiskWriterDriver    [setBpm] 120
[INFO]      DiskWriterDriver    init, 1024 samples
[INFO]      Hydrogen            [audioEngine_setupLadspaFX] buffersize=1024
[INFO]      DiskWriterDriver    [connect]
[INFO]      DiskWriterDriver    DiskWriterDriver thread start
[INFO]      Hydrogen            [audioEngine_process] Buffer size changed. Old 
size = 0, new size = 1024
[ERROR]     Hydrogen            [findPatternInTick] tick = -2147483648. No 
pattern found
[INFO]      Hydrogen            [audioEngine_updateNoteQueue] song pos = -1
[INFO]      Hydrogen            [audioEngine_updateNoteQueue] End of Song
[INFO]      Hydrogen            [audioEngine_process] End of song received, 
calling engine_stop()
[INFO]      DiskWriterDriver    [locate] 0
[INFO]      Hydrogen            [audioEngine_process] End of song.
[INFO]      DiskWriterDriver    DiskWriterDriver thread end
JACK tmpdir identified as [/dev/shm]
Enhanced3DNow! detected
SSE2 detected
JACK tmpdir identified as [/dev/shm]
Enhanced3DNow! detected
SSE2 detected
[INFO]      DiskWriterDriver    [disconnect]
[INFO]      DiskWriterDriver    DESTROY
[INFO]      Hydrogen            [audioEngine_startAudioDrivers]
[INFO]      Hydrogen            [createDriver] Jack
[INFO]      JackDriver          INIT
[INFO]      JackDriver          Jack SampleRate changed: the sample rate is now 
44100/sec
[WARNING]   JackDriver          [setBpm] 120
[INFO]      JackDriver          [connect]
[ERROR]     Hydrogen            [audioEngine_startAudioDrivers] Error starting 
audio driver [audioDriver::connect()]
[ERROR]     Hydrogen            [audioEngine_startAudioDrivers] Using the NULL 
output audio driver
[INFO]      JackDriver          DESTROY
[INFO]      JackDriver          [disconnect]
[INFO]      JackDriver          [deactivate]
[INFO]      JackDriver          jack_deactivate
[INFO]      JackDriver          calling jack_client_close
[INFO]      NullDriver          INIT
[INFO]      NullDriver          connect
[INFO]      NullDriver          [getOut_L()] not implemented yet
[ERROR]     Hydrogen            [audioEngine_startAudioDrivers] m_pMainBuffer_L 
== NULL
[INFO]      NullDriver          [getOut_R()] not implemented yet
[ERROR]     Hydrogen            [audioEngine_startAudioDrivers] m_pMainBuffer_R 
== NULL
[INFO]      Hydrogen            [audioEngine_setupLadspaFX] buffersize=0
[ERROR]     Hydrogen            [audioEngine_setupLadspaFX] nBufferSize=0
[ERROR]     NullDriver          [setBpm] not implemented yet
[ERROR]     MainForm            [errorEvent]
[ERROR]     MainForm            [errorEvent]
[INFO]      LayerPreview        DESTROY
[INFO]      WaveDisplay         DESTROY
[INFO]      DrumkitManager      DESTROY
[INFO]      Hydrogen            [audioEngine_clearNoteQueue()]
[INFO]      Hydrogen            [audioEngine_stopAudioDrivers]
[INFO]      NullDriver          disconnect
[INFO]      NullDriver          DESTROY
[INFO]      Hydrogen            *** Hydrogen audio engine shutdown ***
[INFO]      Song                DESTROY "Shes A Woman"
[INFO]      Preferences         Saving preferences file: 
/home/susan/.hydrogen/hydrogen.conf
[INFO]      Preferences         DESTROY

Bye...
Segmentation fault
_______________________________________________
64studio-devel mailing list
[email protected]
http://lists.64studio.com/mailman/listinfo/64studio-devel

Reply via email to