Hey Jazi,

The "h2cli.exe" is a command line application used for e.g. exporting a large set of .h2song files to audio or to check, install, and extract .h2drumkit files. By itself - without arguments - the application doesn't really do anything.

I finally found some time to look into it and found a couple of bugs. Hopefully this version works better https://ci.appveyor.com/api/buildjobs/vaeccahrgtahkyxt/artifacts/Hydrogen-2.0.0-pre-alpha-4cfebf9f8-win64.exe

All the best,

Phil

On 8/16/25 02:18, jazi4--- via Hydrogen-devel wrote:
Hi Phil

Installed and tried on another Windows 10 PC and obtained these verbose logs:

C:\Windows\system32>"C:\Program Files\Hydrogen\h2cli.exe" -V Error

C:\Windows\system32>(E) [Filesystem::check_permissions] C:/Users/A User/.hydrogen/hydrogen.conf is not a file
(E) [PortAudioDriver::connect] Can't use device '', using default stream
(E) [PortAudioDriver::connect] Can't use device '', using default stream

There was  no further output.

then

"C:\Program Files\Hydrogen\h2cli.exe" -V Debug

C:\Windows\system32>(I) [Logger::Logger] Starting Hydrogen version [2.0.0-pre-alpha-8b2e673ba] (I) [Logger::Logger] Using log file [C:/Users/A User/.hydrogen/hydrogen.log] (I) [Filesystem::check_sys_paths] system wide data path C:/Program Files/Hydrogen/data/ is usable. (I) [Filesystem::check_usr_paths] user path C:/Users/A User/.hydrogen/data/ is usable.
(I) [Filesystem::info] Tmp dir                    : C:/Temp/hydrogen/
(I) [Filesystem::info] Click file                 : C:/Program Files/Hydrogen/data/click.wav (I) [Filesystem::info] Empty song                 : C:/Users/A User/.hydrogen/data/emptySong.h2song (I) [Filesystem::info] Empty playlist             : C:/Users/A User/.hydrogen/data/emptyPlaylist.h2playlist (I) [Filesystem::info] Demos dir                  : C:/Program Files/Hydrogen/data/demo_songs/ (I) [Filesystem::info] Documentation dir          : C:/Program Files/Hydrogen/data/doc/ (I) [Filesystem::info] System drumkit dir         : C:/Program Files/Hydrogen/data/drumkits/ (I) [Filesystem::info] Empty sample               : C:/Program Files/Hydrogen/data/emptySample.wav (I) [Filesystem::info] Default config             : C:/Program Files/Hydrogen/data/hydrogen.default.conf (I) [Filesystem::info] Internationalization dir   : C:/Program Files/Hydrogen/data/i18n/ (I) [Filesystem::info] Images dir                 : C:/Program Files/Hydrogen/data/img/ (I) [Filesystem::info] XSD dir                    : C:/Program Files/Hydrogen/data/xsd/ (I) [Filesystem::info] Pattern XSD                : C:/Program Files/Hydrogen/data/xsd/drumkit_pattern.xsd (I) [Filesystem::info] Drumkit XSD                : C:/Program Files/Hydrogen/data/xsd/drumkit.xsd (I) [Filesystem::info] Playlist XSD               : C:/Program Files/Hydrogen/data/xsd/playlist.xsd (I) [Filesystem::info] Drumkit Map XSD            : C:/Program Files/Hydrogen/data/xsd/drumkit_map.xsd (I) [Filesystem::info] User config                : C:/Users/A User/.hydrogen/hydrogen.conf (I) [Filesystem::info] User Click file            : C:/Program Files/Hydrogen/data/click.wav (I) [Filesystem::info] Cache dir                  : C:/Users/A User/.hydrogen/data/cache/ (I) [Filesystem::info] Reporitories Cache dir     : C:/Users/A User/.hydrogen/data/cache/repositories/ (I) [Filesystem::info] User drumkit dir           : C:/Users/A User/.hydrogen/data/drumkits/ (I) [Filesystem::info] Patterns dir               : C:/Users/A User/.hydrogen/data/patterns/ (I) [Filesystem::info] Playlist dir               : C:/Users/A User/.hydrogen/data/playlists/ (I) [Filesystem::info] Plugins dir                : C:/Users/A User/.hydrogen/data/plugins/ (I) [Filesystem::info] Scripts dir                : C:/Users/A User/.hydrogen/data/scripts/ (I) [Filesystem::info] Songs dir                  : C:/Users/A User/.hydrogen/data/songs/ (E) [Filesystem::check_permissions] C:/Users/A User/.hydrogen/hydrogen.conf is not a file (I) [Preferences::load] Loading preferences from [C:/Program Files/Hydrogen/data/hydrogen.default.conf] (W) [XMLNode::read_string] Using default value C:/Users/A User for lastExportPatternAsDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User for lastExportSongDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User for lastSaveSongAsDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User/.hydrogen/data/songs/ for lastOpenSongDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User/.hydrogen/data/patterns/ for lastOpenPatternDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User for lastExportLilypondDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User for lastExportMidiDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User for lastImportDrumkitDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User for lastExportDrumkitDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User for lastOpenLayerDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User for lastOpenPlaybackTrackDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User/.hydrogen/data/songs/ for lastAddSongToPlaylistDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User/.hydrogen/data/playlists/ for lastPlaylistDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User for lastPlaylistScriptDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User for lastImportThemeDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User for lastExportThemeDirectory (I) [Preferences::create_instance] Couldn't load user-level configuration from [C:/Users/A User/.hydrogen/hydrogen.conf]. Falling back to system-level one in [C:/Program Files/Hydrogen/data/hydrogen.default.conf]
(I) [::int main(int, char**)] Using QT version 5.15.17
(I) [::int main(int, char**)] Using data path: C:/Program Files/Hydrogen/data/ (E) [OscServer::OscServer] Could not start OSC server on port 9000, using port 14319 instead. (I) [SoundLibraryDatabase::updateDrumkits] Drumkit [GMRockKit] loaded from [C:/Program Files/Hydrogen/data/drumkits/GMRockKit] (I) [SoundLibraryDatabase::updateDrumkits] Drumkit [TR808EmulationKit] loaded from [C:/Program Files/Hydrogen/data/drumkits/TR808EmulationKit]
(I) [Song::Song] INIT 'Untitled Song'
(I) [Effects::getPluginList] *** [getPluginList] reading directory: C:/Users/A User/.hydrogen/data/plugins/
(I) [Effects::getPluginList] Loaded 0 LADSPA plugins
(I) [AudioEngine::startAudioDriver] [nullptr|nullptr]
(I) [Preferences::checkJackSupport] JACK support enabled.
(I) [AudioEngine::createAudioDriver] [nullptr|nullptr] Creating driver [PortAudio]
(I) [PortAudioDriver::connect] [connect]
(E) [PortAudioDriver::connect] Can't use device '', using default stream
(E) [PortAudioDriver::connect] Can't use device '', using default stream
(I) [PortAudioDriver::connect] Opened device ''
(I) [PortAudioDriver::connect] PortAudio outpot latency: 0.180317 s
(I) [AudioEngine::startMidiDriver] [PortAudio|nullptr]
(I) [OscServer::start] Osc server started. Listening on port 14319
(I) [::int main(int, char**)] Starting with empty song
(I) [Song::Song] INIT 'Untitled Song'
(I) [Drumkit::unloadSamples] Unloading drumkit GMRockKit instrument samples
(I) [Drumkit::loadSamples] Loading drumkit GMRockKit instrument samples
(I) [AudioEngine::setSong] [PortAudio|nullptr] Set song: Untitled Song
(I) [Song::~Song] DESTROY 'Untitled Song'


Then tried
"C:\Program Files\Hydrogen\h2cli.exe" -V Warning
Access is denied.

There was a blue popup windows saying "this App can't run on your PC"
and it would not let me run h2cli.exe again ??!!

So did used this instead:

C:\Windows\system32>"C:\Program Files\Hydrogen\hydrogen.exe" -V Warning

C:\Windows\system32>
Hydrogen 2.0.0-pre-alpha-8b2e673ba [Aug  9 2025]  [http://www.hydrogen-music.org]
Copyright 2002-2008 Alessandro Cominu
Copyright 2008-2025 The hydrogen development team
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. (E) [Filesystem::check_permissions] C:/Users/A User/.hydrogen/hydrogen.conf is not a file (W) [XMLNode::read_string] Using default value C:/Users/A User for lastExportPatternAsDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User for lastExportSongDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User for lastSaveSongAsDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User/.hydrogen/data/songs/ for lastOpenSongDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User/.hydrogen/data/patterns/ for lastOpenPatternDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User for lastExportLilypondDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User for lastExportMidiDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User for lastImportDrumkitDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User for lastExportDrumkitDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User for lastOpenLayerDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User for lastOpenPlaybackTrackDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User/.hydrogen/data/songs/ for lastAddSongToPlaylistDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User/.hydrogen/data/playlists/ for lastPlaylistDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User for lastPlaylistScriptDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User for lastImportThemeDirectory (W) [XMLNode::read_string] Using default value C:/Users/A User for lastExportThemeDirectory
(E) [PortAudioDriver::connect] Can't use device '', using default stream
(E) [PortAudioDriver::connect] Can't use device '', using default stream
(W) [::void NsmClient::createInitialClient()] No NSM URL available: no NSM management

Fatal error in: Initialising Hydrogen
(E) [::void handleFatalSignal(int)] Fatal signal 11

Hope these Verbose logs will assist.

Kind Regards
Jazi


On 13/08/2025 at 9:28 PM, "Philipp Müller" <seno...@posteo.de> wrote:

    Hey Jazi,

    Hmm.. Hard to tell. There were a lot of changes for 2.0 and since
    it is not feature-complete yet, it is not properly tested on all
    platforms either.

    Could you increase the log level [1]? Maybe this will give us some
    extra clues. Failing to connect to the audio interface itself
    should not be the cause of the crash. Do these [::connect] errors
    occur in Hydrogen 1.2.X as well?

    Also, does the crash happen during startup or while you are
    performing a specific user interaction? Is Hydrogen already
    receiving MIDI messages during startup? If so, could you try without.

    I'll check using my Windows laptop too. But I do attend a course
    this week and may not have time to do so till Sunday/Monday.

    Thanks for testing and sorry about the trouble. All the best,

    Phil

    [1]
    
https://github.com/hydrogen-music/hydrogen/wiki/Accessing-log-messages-of-Hydrogen#windows

    On 8/12/25 22:25, jazi4--- via Hydrogen-devel wrote:

        Hi Phil ,
        Great to hear about the Midi Clock.
        Unfortunately Hydrogen-2.0.0-pre-alpha-8b2e673ba-win64.exe
        installation on Windows 10
        would not start - here is the contents of the logfile:

        (E) [Filesystem::drumkit_list] drumkit [Jazz Funk Kit] is not
        usable
        (E) [PortAudioDriver::connect] Can't use device 'Speakers
        (Focusrite Usb Audio)', using default stream
        (E) [PortAudioDriver::connect] Can't use device 'Speakers
        (Focusrite Usb Audio)', using default stream
        (E) [PortAudioDriver::connect] Can't use device 'Speakers
        (Focusrite Usb Audio)', using default stream
        (E) [::static int
        H2Core::AudioEngine::audioEngine_process(uint32_t, void*)]
        [PortAudio|PortMidi] Failed to lock audioEngine in allowed 10
        ms, missed buffer
        (E) [::void handleFatalSignal(int)] Fatal signal 11
        Stop logger

        (I installed it into a different folder from existing Hydrogen
        v1.2.6 Installation)
        Tried 3 different audio outputs and they all had the same
        error "Can't use device 'Speakers (xxxx)', using default stream"
        Any idea what I could do to get it to run withour Error?

        Kind Regards
        Jazi

        On 09/08/2025 at 6:37 PM, "Philipp Müller" <seno...@posteo.de>
        wrote:

            Hey Jazi,

            I have a first draft of a prototype featuring a MIDI clock
            implementation (AppImage [1], macOS [2], Windows exe [3]).

            There is most probably still some work to do in order to
            make the synchronization real tight. Hydrogen is not yet
            designed to offer real time support of MIDI messages [4].

            Could you check how synchronization is handled at your
            end? I managed to borrow a synth supporting MIDI clock
            messages but my setup is far from ideal.

            Please note that this is part of a development code for
            version 2.0. When using the application linked in [1]-[3]
            you can only open your drumkits and those songs touched
            with a more or less recent version of Hydrogen from the
            1.2.X release line. So, better make a backup of the
            `.hydrogen` folder beforehand. See [5] for details.

            All the best,

            Phil

            [1]
            
https://ci.appveyor.com/api/buildjobs/eyx484y447f5lxuo/artifacts/Hydrogen-2.0.0-pre-alpha-8b2e673ba-x86_64.AppImage
            [2]
            
https://ci.appveyor.com/api/buildjobs/l89r8q1jvqqcueea/artifacts/Hydrogen-2.0.0-pre-alpha-8b2e673ba.dmg
            [3]
            
https://ci.appveyor.com/api/buildjobs/8frx59sw2sr9mdn2/artifacts/Hydrogen-2.0.0-pre-alpha-8b2e673ba-win64.exe
            [4] https://github.com/hydrogen-music/hydrogen/pull/2187
            [5]
            
https://github.com/hydrogen-music/hydrogen/wiki/What's-new-in-version-2.0%3F-How-to-migrate%3F

            On 6/16/25 14:42, jazi4--- via Hydrogen-devel wrote:

                Have subscribed to 1644 - this will be a great
                addition and allow
                using Hydrogen in Sync with DAWs and other Apps.
                VST would really only be needed for Apps that have no
                Midi Clock
                sync , where Hydrogen VST version would follow App's
                Transport.
                Running Windows 10 x64
                Jazi

                On 15/06/2025 at 7:17 PM, "Philipp Müller"
                <seno...@posteo.de> wrote:

                    Hey,

                    MIDI Clock is already on the shortlist for the 2.0
                    release (see [1]). If you already have a Github
                    account, you can subscribe to the ticket and will
                    receive notifications when its state does change.

                    VST/LV2 plugin, however, is not planned yet.
                    Actually, I'm a bit at a loss in this regard.
                    Should the whole application as is be converted
                    into a plugin? Or rather just the sequencer while
                    both the pattern and song editor should be omitted?

                    Beta testing would be great! The main branch
                    contains the latest version and I could provide
                    you with an executable if you tell me which OS you
                    are working on.

                    All the best,

                    Phil


                    [1]
                    https://github.com/hydrogen-music/hydrogen/issues/1644

                    On 6/14/25 19:51, jazi4--- via Hydrogen-devel wrote:

                        Hi ,
                        Thank you for creating Hydrogen.
                        I am interested on how you are progressing
                        with Midi Clock ?
                        Also wonder if you will be creating a Hydrogen
                        VST3 Plugin ?
                        I am available to Beta Test your latest versions.
                        Kind Regards
                        Jazi


                        _______________________________________________
                        Hydrogen-devel mailing list
                        Hydrogen-devel@lists.sourceforge.net
                        
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel



                _______________________________________________
                Hydrogen-devel mailing list
                Hydrogen-devel@lists.sourceforge.net
                https://lists.sourceforge.net/lists/listinfo/hydrogen-devel



        _______________________________________________
        Hydrogen-devel mailing list
        Hydrogen-devel@lists.sourceforge.net
        https://lists.sourceforge.net/lists/listinfo/hydrogen-devel



_______________________________________________
Hydrogen-devel mailing list
Hydrogen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
_______________________________________________
Hydrogen-devel mailing list
Hydrogen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to