python3 work with sound (metronome)

This is the place for queries that don't fit in any of the other categories.

python3 work with sound (metronome)

Postby portia » Mon Jul 01, 2013 10:09 pm

I have seen a few simple implementations of a metronome in python but usually did not like some things (eg. the use of Tkinter, or necessity of having /dev/dsp, etc.)
I'd like to write my own simple CLI metronome. Could you recommend what I should use for generating the tick sound? Any library that would produce/play the sound in very precise intervals. Ideally something supported in/by python3.x and alsa.
Thank you
Posts: 17
Joined: Sun Apr 14, 2013 10:03 pm

Re: python3 work with sound (metronome)

Postby metulburr » Mon Jul 01, 2013 10:28 pm

you could use pygame. I did something similiar only as morse code
we will be moving to on October 1 2016
more details here
User avatar
Posts: 2244
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY

Return to General Coding Help

Who is online

Users browsing this forum: No registered users and 6 guests