Hydrogen
NAME
Audio::Hydrogen - work with Hydrogen songs and drumkits
SYNOPSIS
DESCRIPTION
This provides the facilities for creating and manipulating drumkit and song data of the Hydrogen drum software.
I originally wrote this with no other purpose than as a test for XML::Class so it may well be missing some features that you would like to see, but please see the examples for things that you can do with it.
This top level class doesn't provide much on its own as most of the detail is in the other classes.
METHODS
method drumkits
This returns a list of all the drumkits found in the places that
Hydrogen would store them, it is a list of DrumkitInfo
classes
which simply have two attributes, name
(which is the name of
the Drumkit,) and path
which is an IO::Path for tne full
path of the drumkit directory, these is a single method drumkit
which returns the Audio::Hydrogen::Drumkit object.
If you have drumkits in a non-standard location you can add that
path to the data-paths
attribute before search for the drumkits.