pytronome 1.1 released
Well, today I’ve decided to get back my hubris and to implement some stuff that were in my head for my little project Pytronome – my command-line metronome in Python, if you don’t remember the previous post.
I added support to read a program from a file (useful for scripting complex songs or for just having fun) and also, put two options for download: the already known single-file-with-wave-embedded easy-to-install approach (which some people vehemently protested against
) and the source tarball with the separated wav files, for easy changing the beats and cleaner code (it comes with a patch for generating the single-file script though). I also added an example program file and some extra beats to test.
Visit the project page at Google Code for downloads and more information and let me know what you think.
pytronome.py – a simple metronome in Python
a few months ago i wrote a very simple metronome using Python and the OSS API. i made some improvements on it last week, and decided to make it public now. the code is still ugly, but someday i may improve it…
to install, just download it and put in some dir in your $PATH. it’s quite simple to use:
pytronome.py -n 2 -t 70 -m 3/4
plays 2 times with tempo 70 (seventy beats per minute) and meter 3/4.
defaults are 120 for tempo, 4/4 for meter and plays forever…
here is the –help output
Usage: pytronome.py [options]
Options:
–version show program’s version number and exit
-h, –help show this help message and exit
-n NUMBER, –measures=NUMBER
play NUMBER measures then exit
-m METER, –meter=METER
define meter signature e.g.: 3/4, 4/4
-t TEMPO, –tempo=TEMPO
beats per minute
suggestions, praises and blames are welcome.
update: i’ve set up a project at google code: http://code.google.com/p/eljunior-labs/ .
and now we have a wiki…
