Scroll to navigation

H2CLI(1) User Commands H2CLI(1)

NAME

h2cli - manual page for h2cli 1.2.4-

SYNOPSIS

h2cli [options]

DESCRIPTION

Hydrogen 1.2.4- [Dec 17 2024] [http://www.hydrogen-music.org] Copyright 2002-2008 Alessandro Cominu Copyright 2008-2024 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.

The CLI of Hydrogen can be used in two different ways. Either for exporting a song into an audio file

h2cli -s /usr/share/hydrogen/data/demo_songs/GM_kit_demo1.h2song \

-d GMRockKit -d auto -o ./example.wav

or for checking, extracting, installing, or upgrading an existing drumkit

h2cli -c /usr/share/hydrogen/data/drumkits/GMRockKit

OPTIONS

Use the selected audio driver - JACK - PulseAudio - ALSA - PortAudio - Auto [default]
Load a song (*.h2song) at startup
Load a playlist (*.h2playlist) at startup
Output to file (export)
Use an alternate system data path
Use an alternate config file
Set bitrate while exporting file
Set bits depth while exporting file
Trade-off between max. quality (0.0) and max. compression (1.0).
Load a drumkit at startup
Interpolation: - 0 (linear) [default] - 1 (cosine) - 2 (third) - 3 (cubic) - 4 (hermite)
Install a drumkit (*.h2drumkit)
Validates a drumkit (*.h2drumkit) against current drumkit format
Validates a drumkit (*.h2drumkit) against current as well as legacy drumkit formats
Upgrades a drumkit. The provided file can be either an absolute path to a folder containing a drumkit, an absolute path to a drumkit file (drumkit.xml) itself, or an absolute path to a compressed drumkit ( *.h2drumkit). If no target folder was specified using the -t option, a backup of the drumkit is created and the original one is upgraded in place. If a compressed drumkit is provided as first argument, the upgraded drumkit will be compressed as well.
Extracts the content of a drumkit (.h2drumkit). If no target is specified using the -t option, this command behaves like --install.
Target folder the extracted (-x) or upgraded (-u) drumkit will be stored in. The folder is created if it does not exists yet.
Custom port for OSC connections
Debug level, if present, may be - None - Error [default] - Warning - Info - Debug - Constructors - Locks
Alternative log file path
Add timestamps to all log messages
Displays help on commandline options.
Displays help including Qt specific options.
Displays version information.
December 2024 h2cli 1.2.4-