Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Artistic Software

    Simple Metronome 0.4

    Download button

    No screenshots available
    Downloads: 11,876  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.0/5)
    23 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Kurt Rosenfeld | More programs
    GPL / FREE
    December 20th, 2006, 16:18 GMT
    ROOT / Artistic Software

     Read user reviews (0)  Refer to a friend  Subscribe

    Simple Metronome description

    Simple Metronome (simetro) is a console program that provides basic metronome functions and supports accent patterns.

    Simple Metronome (simetro) is a console program that provides basic metronome functions and supports accent patterns.

    If all you want is a 100 bpm metronome, do this:

    ../simetro 100 9 | ecasound -f:s16,2,44100,i -i:stdin

    A sightly fancier example would use simetro like this:

    ./simetro 240 6232

    1st arg: 240 ticks per minute. 2nd arg: a string of one or more digits, possibly annotated with other non-digit characters. 0 is silent. 5 is medium. 9 is loud. The pattern 9099 means loud-rest-loud-loud. The example pattern, 240 6232, represents normally accented sixteenth notes at 60 beats per minute. The length of the second argument determines the length of the pattern.

    Typical accent strings (second arg):
    5, 73, 733, 8242, 8222, 832-632

    For your convenience, you can add non-numeric characters (annotation) to the accent string. These characters are ignored by simetro. So 832-632 and 832632 are equivalent. The groove and military examples in the examples/ directory illustrate this. noaccent-100bpm is the simplest example. tabla is a fanciest example.

    The first argument is "ticks per minute" so if you are representing your rhythm with one tick per beat, than the ticks per minute will be equal to the beats per minute. But if, for example, your ticks are 16th notes, then the ticks per minute will be four times the beats per minute.

    There are two methods for hearing the output waveform.

    1) Pipe the output to a realtime raw audio player.
    2) Send the output to a file. Convert to WAV. Play WAV file.

    Using Ecasound, you can do it like this:

    ./simetro 240 6232 | ecasound -f:s16,2,44100,i -i:stdin

    This is probably the most practical configuration. Ecasound is good code and I recommend it. Or you can use some other program that can play an audio stream from stdin. Srp also works:

    ./simetro 240 6232 | srp > /dev/null

    It starts immediately, does not create any files, and stops with CTRL-C. srp is part of my Simple Multitrack package which can be found at http://freshmeat.net/projects/simple-multitrack/ and runs on Linux/OSS and on Mac OS X. Other programs undoubtedly provide the same capability.

    On Solaris 9, I use this bash command for realtime (but low quality) output:

    alias rawplay="sox -t sw -r 44100 -c 2 - -t raw -r 8012 -u -b -c 1 /dev/audio"
    ./simetro 300 5222 | rawplay

    If you want to make a file and play it (method 2), you can do this:

    ./simetro 240 6232 | dd bs=1024 count=10k > rawfile
    sox -t sw -r 44100 -c 2 rawfile outfile.wav

    sox is an audio format converter. You can get it here:
    http://sox.sourceforge.net/

    Please email your comments, suggestions, and bug reports to me. My email address is on my webpage: http://w140.com/kurt Please include the word simetro in your subject to skip the spam filter.

    What's New in This Release:

    · Rhythms can now be specified in a more convenient free-form syntax.
    · It is easier to read and easier to write rhythms in the new syntax.
    · More examples are included.
    · Ecasound is used in the examples for sending the audio stream to the sound card.



    Product's homepage

      


    TAGS:

    metronome functions | accent patterns | bpm metronome | Metronome | simetro | accent

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM