Most viewed recipes tagged "music_accessory"http://code.activestate.com/recipes/tags/music_accessory/views/2012-05-18T19:30:04-07:00ActiveState Code RecipesMetronome For Beginner Musicians... (Python) 2012-05-18T19:30:04-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/578139-metronome-for-beginner-musicians/ <p style="color: grey"> Python recipe 578139 by <a href="/recipes/users/4177147/">Barry Walker</a> (<a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/metronome/">metronome</a>, <a href="/recipes/tags/music_accessory/">music_accessory</a>, <a href="/recipes/tags/sound/">sound</a>). Revision 2. </p> <p>This DEMO code is a simple metronome for the Linux platform. It is for newcomers to playing musical instruments as a timing unit for practicing with.</p> <p>It is issued as Public Domain and you may do with it as you please...</p> <p>The device /dev/dsp IS required for this to work. If your machine lacks this then install oss-compat from you distro's repository.</p> <p>It exploits a flaw in the default /dev/dsp device inside linux...</p> <p>The part of the code the uses Ctrl-C to exit a loop has a flaw. This is not a bug. I will let the big guns explain what is happening if they want to in the comments section.</p> <p>Enjoy finding simple solutions to often very difficult pronblems...</p> <p>Bazza, G0LCU...</p>