glicol / glicol-cli

glicol cli: cross-platform music live coding in terminal
https://github.com/chaosprint/glicol
MIT License
136 stars 11 forks source link

support bpm change #13

Closed chaosprint closed 1 year ago

chaosprint commented 1 year ago

the engine has a set bpm method so we can just map it with arg parse

chaosprint commented 1 year ago

done

~ glicol-cli --help                            
Glicol cli tool. This tool will watch the changes in a .glicol file

Usage: glicol-cli [OPTIONS] <FILE>

Arguments:
  <FILE>  path to the .glicol file

Options:
  -s, --scope            Show a scope or not
  -b, --bpm <BPM>        Set beats per minute (BPM) [default: 120]
  -d, --device <DEVICE>  The audio device to use [default: default]
  -h, --help             Print help
  -V, --version          Print version