Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
cli-howto [2015/02/22 13:27] – [Render a midi file to wav files] muldjordcli-howto [2017/04/23 19:23] – [Options] meka
Line 4: Line 4:
  
 This is useful if you wish to use DrumGizmo in a stand-alone fashion, for instance to render a midi file to wav files. Or if you wish to make a jack connection and use DrumGizmo as a drum sampler in conjunction with an electronic drumkit. This is useful if you wish to use DrumGizmo in a stand-alone fashion, for instance to render a midi file to wav files. Or if you wish to make a jack connection and use DrumGizmo as a drum sampler in conjunction with an electronic drumkit.
 +
 +=====Usage=====
 +  $ drumgizmo [OPTIONS] drumkitfile
  
 =====Options===== =====Options=====
Line 50: Line 53:
  
               dummy:               dummy:
 +              
 +      -s, --streaming
 +              Enable diskstreaming
 +
 +      -S, --strimingparms parmlist
 +              Parameters for controling the streaming buffers.
 +              limit=<size> (Limit preloaded drumkit data to the size)
  
        -e, --endpos        -e, --endpos
Line 66: Line 76:
 =====Examples===== =====Examples=====
 ====Render a midi file to wav files==== ====Render a midi file to wav files====
- $ drumgizmo  -i midifile -I file=file.mid,midimap=midimap.xml -o wavfile -O file=prefix drumkit.xml +  $ drumgizmo  -i midifile -I file=file.mid,midimap=midimap.xml -o wavfile -O file=prefix drumkit.xml 
-=====Examples===== +This examples will render the midi file "file.mid" into bunch of wav files called "prefix[channel name][#].wav". Each wav then resembles the microphone that the drumkit was originally recorded with. You can import these into your favorite DAW (Digital Audio Workstation / sound editor) and mix it from there.
-====Render midifile to wav files==== +
-====Recieve midi input from Jack and output to speakers==== +
- +
-=====Notes===== +
-  *How does one define the midimap file? +
-  *How do I define the midi input file?+
  
-  "Usage: %s [options] drumkitfile\n" +====Run drumgizmo as jack client==== 
-  "Options:\n" +  $ drumgizmo -i jackmidi -I midimap=~/DRSKit2_0_1/Midimap_full.xml -jackaudio ~/DRSKit2_0_1/DRSKit_full.xml
-  "  -p, --preload          Load entire kit audio files into memory (uses ALOT of memory).\n" +
-  "  -i, --inputengine      dummy|test|jackmidi|midifile  Use said event input engine.\n" +
-  "  -I, --inputparms       parmlist  Set input engine parameters.\n" +
-  "  -o, --outputengine     dummy|alsa|jack|sndfile  Use said audio output engine.\n" +
-  "  -O, --outputparms      parmlist  Set output engine parameters.\n" +
-  "  -e, --endpos           Number of samples to process, -1: infinite.\n" +
-  "  -v, --version          Print version information and exit.\n" +
-  "  -h, --help             Print this message and exit.\n" +
-  "\n" +
-  "Input engine parameters:\n" +
-  "  jackmidi:  midimap=<midimapfile>\n" +
-  "  midifile:  file=<midifile>, speed=<tempo> (default 1.0),\n" +
-  "             track=<miditrack> (default -1, all tracks)\n" +
-  "             midimap=<midimapfile>, loop=<true|false>\n" +
-  "  test:      p=<hit_propability> (default 0.1)\n" +
-              instr=<instrument> (default -1, random instrument)\n" +
-  "             len=<seconds> (default -1, forever)\n" +
-  "  dummy:\n" +
-  "\n" +
-  "Output engine parameters:\n" +
-  "  alsa:      dev=<device> (default 'default'), frames=<frames> (default 32)\n" +
-  "             srate=<samplerate> (default 441000)\n" +
-  "  wavfile:   file=<filename> (default 'output'), srate=<samplerate> (default 44100)\n" +
-  "  jackaudio:\n" +
-  "  dummy:\n"+
  
cli-howto.txt · Last modified: 2017/05/14 21:27 by meka
Trace:
GNU Free Documentation License 1.3
Valid CSS Driven by DokuWiki Recent changes RSS feed Valid XHTML 1.0