Popular recipes tagged "meta:loc=181"http://code.activestate.com/recipes/tags/meta:loc=181/2013-03-15T18:30:37-07:00ActiveState Code RecipesAnalog stopclock (Python) 2013-03-15T18:30:37-07:00prashanth.chengihttp://code.activestate.com/recipes/users/4185699/http://code.activestate.com/recipes/578493-analog-stopclock/ <p style="color: grey"> Python recipe 578493 by <a href="/recipes/users/4185699/">prashanth.chengi</a> (<a href="/recipes/tags/analog/">analog</a>, <a href="/recipes/tags/chess/">chess</a>, <a href="/recipes/tags/clock/">clock</a>). </p> <p>A very simple tkinter analog stopclock</p> For MacBook_Pro-Heads Only. Simple LF Audio Oscilloscope Using Standard Text Mode Python. (Python) 2012-10-07T14:15:55-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/578282-for-macbook_pro-heads-only-simple-lf-audio-oscillo/ <p style="color: grey"> Python recipe 578282 by <a href="/recipes/users/4177147/">Barry Walker</a> (<a href="/recipes/tags/anim/">anim</a>, <a href="/recipes/tags/apple/">apple</a>, <a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/display/">display</a>, <a href="/recipes/tags/macbook_pro/">macbook_pro</a>, <a href="/recipes/tags/oscilloscope/">oscilloscope</a>, <a href="/recipes/tags/pyaudio/">pyaudio</a>, <a href="/recipes/tags/scope/">scope</a>, <a href="/recipes/tags/sound/">sound</a>). </p> <p>For MacBook_Pro-Heads Only. Simple LF Audio Oscilloscope Using Standard Text Mode Python.</p> <p>SimpleScope_OSX.py</p> <p>Do you remember this upload from myself on 26-06-2011...</p> <p><a href="http://code.activestate.com/recipes/577771-simple-lf-audio-oscilloscope-using-standard-text-m/?in=user-4177147" rel="nofollow">http://code.activestate.com/recipes/577771-simple-lf-audio-oscilloscope-using-standard-text-m/?in=user-4177147</a></p> <p>Well here is an August 2012 vintage MacBook Pro 13 inch version of it for OSX 10.7.5...</p> <p>This is proof of concept code for a kids level project I am doing for a MacBook Pro, 13 inch, OSX 10.7.5. A DEMO to show how to display a waveform using standard text mode Python. "pyaudio" must be installed for this to work. Levels are set using the standard audio mixers, (System Preferences -> Sound).</p> <p>Just whistle a signal of say 300Hz to 3KHz, (normal voice spectrum), using say, the internal mic, and watch a waveform appear inside the X-Y graticule.</p> <p>Read the code for more information.</p> <p>$VER: SimpleScope_OSX.py_Version_0.00.10_(C)2012_B.Walker_G0LCU.</p> <p>This code is GPL2, but, the hardware information is Public Domain.</p> <p>(I am looking into including Windows and Linux variants too using pyaudio to access the sound system.)</p> <p>Enjoy finding simple solutions to often very difficult problems.</p> <p>Bazza, G0LCU...</p> Four Bit Vertical Coloured Analogue Bar Graph Generator DEMO... (Python) 2011-04-23T20:50:55-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/577675-four-bit-vertical-coloured-analogue-bar-graph-gene/ <p style="color: grey"> Python recipe 577675 by <a href="/recipes/users/4177147/">Barry Walker</a> (<a href="/recipes/tags/analogue/">analogue</a>, <a href="/recipes/tags/anim/">anim</a>, <a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/bargraph/">bargraph</a>, <a href="/recipes/tags/color/">color</a>, <a href="/recipes/tags/colour/">colour</a>, <a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/display/">display</a>, <a href="/recipes/tags/linux/">linux</a>). </p> <p>This is a(n) LED style "VU" meter in the vertical plane instead of the horizontal one in the recipe below:-</p> <p><a href="http://code.activestate.com/recipes/577612-seven-bit-colored-analogue-bar-graph-generator-dem/?in=lang-python" rel="nofollow">http://code.activestate.com/recipes/577612-seven-bit-colored-analogue-bar-graph-generator-dem/?in=lang-python</a></p> <p>It is another "AT A GLANCE" display with an overload error beep too.</p> <p>This is for Linux only and tested on Python 2.6.x although it should work on earlier 2.x.x versions.</p> <p>A Python 3.x.x version can be found here:-</p> <p><a href="http://www.linuxformat.com/forums/viewtopic.php?t=13637" rel="nofollow">http://www.linuxformat.com/forums/viewtopic.php?t=13637</a></p> <p>This is issued as Public Domain and you may do with it as you please.</p> <p>Enjoy finding simple solutions to often very difficult problems...</p> Cryptogram (Python) 2010-04-21T22:09:55-07:00Michael Tobishttp://code.activestate.com/recipes/users/4173740/http://code.activestate.com/recipes/577205-cryptogram/ <p style="color: grey"> Python recipe 577205 by <a href="/recipes/users/4173740/">Michael Tobis</a> (<a href="/recipes/tags/cipher/">cipher</a>, <a href="/recipes/tags/game/">game</a>, <a href="/recipes/tags/maketrans/">maketrans</a>). Revision 2. </p> <p>Some flexible substitution cryptogram encryption/decryption tools and a cipher generator.</p> Rating class with mapping interface (Python) 2004-01-14T09:10:42-08:00Dmitry Vasilievhttp://code.activestate.com/recipes/users/1571302/http://code.activestate.com/recipes/265879-rating-class-with-mapping-interface/ <p style="color: grey"> Python recipe 265879 by <a href="/recipes/users/1571302/">Dmitry Vasiliev</a> (<a href="/recipes/tags/algorithms/">algorithms</a>). Revision 2. </p> <p>Rating with items sorted by value and accessed by key or rating index.</p>