Git Product home page Git Product logo

gendrumkit's Introduction

genDrumkit

Python3 tool to convert virtual drumkits for (home-)recording from one format into another one

License

MIT (See License)

Wiki

https://github.com/peter-zenk/genDrumkit/wiki

Usage

Usage: genDrumkit [-h] [--kit_name DRUMKIT_NAME] [--output_dir OUT_DIR] [--impFmt {DUMMY,HG}] [--expFmt {DG}] [--channel_map CHANNEL_MAP] [--hg_db HG_DB] [--hg_xml HG_XML]
                  [--hg_midi_start HG_MIDI_START] [--hg_stereo] [--hg_mode {KIT,TPL}] [--src_dir SRC_DIR] [--sample_src_pol {USE,TRG}] [--sample_level {normalized,scaled}]
                  [--log_level {DEBUG,INFO,WARNING,ERROR,CRITICAL}]

Create a drum kit

optional arguments:
  -h, --help            show this help message and exit

General:
  Common options

  --kit_name DRUMKIT_NAME, -kn DRUMKIT_NAME
                        Drum kit name: Default: ''
  --output_dir OUT_DIR, -od OUT_DIR
                        Directory path where output is generated. Default: '.'
  --impFmt {DUMMY,HG}, -imp {DUMMY,HG}
                        Drum kit import format. Default: HG (Hydrogen)
  --expFmt {DG}, -exp {DG}
                        Drum kit export format. Default: DG (DrumGizmo)
  --channel_map CHANNEL_MAP, -cm CHANNEL_MAP
                        Channel/Instrument map file. Default 'map.csv'

Hydrogen:
  Options for Hydrogen importer

  --hg_db HG_DB, -hgd HG_DB
                        Hydrogen DB file. (*.h2drumkit). Default ''
  --hg_xml HG_XML, -hgx HG_XML
                        Hydrogen XML file. Ignored, if Hydrogen DB is specified. Default ''
  --hg_midi_start HG_MIDI_START, -hgmi HG_MIDI_START
                        Hydrogen midi start for default mapping. Default: 36
  --hg_stereo, -hgs     Connect channels and instruemnts via stereo. Default: mono
  --hg_mode {KIT,TPL}, -hgmo {KIT,TPL}
                        Hydrogen execution mode. KIT: create drumkit, LST: create map list template. Default 'KIT'

Audio samples:
  Options for audio sample handling

  --src_dir SRC_DIR, -sd SRC_DIR
                        Directory path to sample sources (top level). Default: 'sample_src_dir'
  --sample_src_pol {USE,TRG}, -ssp {USE,TRG}
                        Policy to build src sample path. TRG: structure like target, USE: use name as is. Default: 'USE'
  --sample_level {normalized,scaled}, -sl {normalized,scaled}
                        Samples are scaled or normalized. Default: 'normalized'

Report:
  Reporting and debug options

  --log_level {DEBUG,INFO,WARNING,ERROR,CRITICAL}, -ll {DEBUG,INFO,WARNING,ERROR,CRITICAL}
                        Set logging level. Default: INFO

Known Issues, Missing Features

https://github.com/peter-zenk/genDrumkit/wiki/Bugs,-Issues,-Features

gendrumkit's People

Contributors

peter-zenk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

bradleybluebean

gendrumkit's Issues

Unable to run genDrumkit

Describe the bug
A clear and concise description of what the bug is.
After install it, the command returns:

Traceback (most recent call last):
File "/usr/bin/genDrumkit", line 4, in
import('pkg_resources').run_script('genDrumkit==0.1.3', 'genDrumkit')
File "/usr/lib/python3.10/site-packages/pkg_resources/init.py", line 651, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3.10/site-packages/pkg_resources/init.py", line 1455, in run_script
exec(script_code, namespace, namespace)
File "/usr/lib/python3.10/site-packages/genDrumkit-0.1.3-py3.10.egg/EGG-INFO/scripts/genDrumkit", line 13, in
ModuleNotFoundError: No module named 'gen_drum_kit'

To Reproduce
Steps to reproduce the behavior:

  1. Download source code
  2. run python setup.py build
  3. python sudo setup.py install
  4. run genDrumkit

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Template generation should be independent from input

Describe the bug
Today the *.csv mapping template file can only be generated for the Hydrogen input reader:
--hg_mode TPL

In contrast it should be possible to generate it independently from the input format.
The right place to do would be in the drum DB generator or as a dedicated output generator

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.