Popular recipes tagged "sound" but not "apple"http://code.activestate.com/recipes/tags/sound-apple/2015-10-22T18:24:08-07:00ActiveState Code RecipesUse PyAudio to play a list of WAV files (Python)
2015-10-22T18:24:08-07:00Vasudev Ramhttp://code.activestate.com/recipes/users/4173351/http://code.activestate.com/recipes/579116-use-pyaudio-to-play-a-list-of-wav-files/
<p style="color: grey">
Python
recipe 579116
by <a href="/recipes/users/4173351/">Vasudev Ram</a>
(<a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/music/">music</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/python2/">python2</a>, <a href="/recipes/tags/sound/">sound</a>).
</p>
<p>This recipe shows how to use PyAudio, a 3rd-party Python audio toolkit, to play a list of WAV files on your computer. This is an enhanced version of a basic WAV code example on the PyAudio site. You can specify either one WAV filename on the command line, like this:</p>
<p>py pyaudio_play_wav.py chimes.wav</p>
<p>or specify a text file containing names of WAV files to play, like this:</p>
<p>py pyaudio_play_wav.py -f wav_fil_list.txt</p>
<p>The only dependency is PyAudio, which you can install with pip.</p>
A SOX 1KHz Sinewave Generator Using A Windows, (TM), Batch File... (Batch)
2013-05-02T17:48:18-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/578516-a-sox-1khz-sinewave-generator-using-a-windows-tm-b/
<p style="color: grey">
Batch
recipe 578516
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/generator/">generator</a>, <a href="/recipes/tags/sound/">sound</a>, <a href="/recipes/tags/sound_exchange/">sound_exchange</a>, <a href="/recipes/tags/sox/">sox</a>, <a href="/recipes/tags/windows/">windows</a>).
</p>
<p>32 bit Windows to Windows 7...</p>
<p>This batch file generates a 65536 byte binary file to give 8 seconds of pure sinewave at the earphone/speaker output(s)...</p>
<p>It uses ONLY a default Windows 32 bit installation, to Windows 7, except for the installation of SOX...</p>
<p>Obtain SOX from here:-</p>
<p><a href="http://sox.sourceforge.net/" rel="nofollow">http://sox.sourceforge.net/</a></p>
<p>Notepad was the _main_ editor... ;o)</p>
<p>Hopefully the code section does NOT corrupt the binary part which is 8 bytes in size.
If it does then let me know on here and I will post a pointer from where to grab it...</p>
<p>Enjoy...</p>
DEMO - Generate A Crude 1KHz Sinewave Using A BASH Script. (Bash)
2013-03-01T19:41:47-08:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/578477-demo-generate-a-crude-1khz-sinewave-using-a-bash-s/
<p style="color: grey">
Bash
recipe 578477
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/bash/">bash</a>, <a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/generator/">generator</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/shell/">shell</a>, <a href="/recipes/tags/sinewave/">sinewave</a>, <a href="/recipes/tags/sound/">sound</a>).
</p>
<p>A very simple crude sinewave generator using a BASH script inside a Linux Terminal.</p>
<p>The file required is generated inside the code and requires /dev/audio to work.</p>
<p>Ensure you have this device, if not the download oss-compat from your OS's repository...</p>
<p>It lasts for about 8 seconds before exiting and saves a 65536 byte file to your working directory/drawer/folder as sinewave.raw.</p>
<p>Use an oscilloscope to check the waveform generated...</p>
<p>It is entirely Public Domain and you may do with it as you please...</p>
<p>Enjoy finding simple solutions to often very difficult problems... ;o)</p>
<p>Bazza, G0LCU...</p>
Play a Sound File in Python using PyGame (Python)
2013-01-08T18:08:55-08:00Captain DeadBoneshttp://code.activestate.com/recipes/users/4184772/http://code.activestate.com/recipes/578410-play-a-sound-file-in-python-using-pygame/
<p style="color: grey">
Python
recipe 578410
by <a href="/recipes/users/4184772/">Captain DeadBones</a>
(<a href="/recipes/tags/pygame/">pygame</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/sound/">sound</a>).
</p>
<p>This is how you can play an ogg sound file in python using the pygame library. This is part of an article about <a href="http://thelivingpearl.com/2013/01/08/morse-code-and-dictionaries-in-python-with-sound/">Morse Code and Dictionaries in Python</a></p>
Samuel F. B. Morse's Code (Python)
2012-12-06T04:20:31-08:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578364-samuel-f-b-morses-code/
<p style="color: grey">
Python
recipe 578364
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/code/">code</a>, <a href="/recipes/tags/demonstration/">demonstration</a>, <a href="/recipes/tags/morse/">morse</a>, <a href="/recipes/tags/morse_code/">morse_code</a>, <a href="/recipes/tags/morse_practice_oscillator/">morse_practice_oscillator</a>, <a href="/recipes/tags/sound/">sound</a>).
</p>
<p>Many people have heard of Morse['s] Code, and it still is a helpful skill to have in certain context, as advanced as technology has become. The following recipe shows two sample ways that it can be implemented and shows some diversity in how problems can be solved in Python or many other languages for that matter.</p>
Countdown Timer (Python)
2012-12-06T03:24:35-08:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578363-countdown-timer/
<p style="color: grey">
Python
recipe 578363
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/demonstration/">demonstration</a>, <a href="/recipes/tags/sound/">sound</a>, <a href="/recipes/tags/timer/">timer</a>, <a href="/recipes/tags/utility/">utility</a>).
</p>
<p>Ever wanted to set a timer that went off after a specified number of hours / minutes / seconds? This Windows recipe runs on the command line and does that with the arguments it accepts. Simple but effective, the program works well for remembering food in the oven among other things.</p>
A Crude Baby Alarm For Standard Text Mode Python And Linux. (Python)
2012-08-02T18:05:29-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/578232-a-crude-baby-alarm-for-standard-text-mode-python-a/
<p style="color: grey">
Python
recipe 578232
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/alarm/">alarm</a>, <a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/baby_alarm/">baby_alarm</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/sound/">sound</a>).
</p>
<p>This is a simple audio monitor that records about 1/2 second of sound then immediately plays it back in a continuous loop.</p>
<p>If you are testing with a laptop's, (etc), internal microphone be aware that acoustic feedback might occur...</p>
<p>This could be a use for your now aging netbook... ;o)</p>
<p>Bazza, G0LCU...</p>
Sound Generator Using WAV file (Python)
2012-06-19T00:41:22-07:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/578168-sound-generator-using-wav-file/
<p style="color: grey">
Python
recipe 578168
by <a href="/recipes/users/4172570/">FB36</a>
(<a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/sound/">sound</a>).
</p>
<p>This is an example for generating sound using wave files.
It is equivalent to:</p>
<p>from winsound import Beep</p>
<p>Beep(freq, duration * 1000)</p>
<p>But of course wave files can also be used to generate any other kinds of sounds. </p>
Flash_N_Fade Using Standard Text Mode Python For Linux And Windows... (Python)
2012-07-15T18:38:43-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/578216-flash_n_fade-using-standard-text-mode-python-for-l/
<p style="color: grey">
Python
recipe 578216
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/fade/">fade</a>, <a href="/recipes/tags/flash/">flash</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/sound/">sound</a>, <a href="/recipes/tags/windows/">windows</a>).
</p>
<p>This DEMO shows how to fade text in shades of grey and also flash with inverse_flash along with simultaneous differing frequency beeps.</p>
<p>There are 2 code snippets that WILL need to be separated before use. One is a Linux version and the other a Windows 32 bit version. There is an AMIGA version but that is for much later.</p>
<p>There are NO notes inside the code so you will have to see the code as to how it works. It is SOOO simple that notes are/were unnecessary...</p>
<p>Bazza, G0LCU...</p>
Random Sound FX Using WAV File (Python)
2012-07-01T19:54:17-07:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/578180-random-sound-fx-using-wav-file/
<p style="color: grey">
Python
recipe 578180
by <a href="/recipes/users/4172570/">FB36</a>
(<a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/sound/">sound</a>).
</p>
<p>It generates random sound effects using AM and FM.</p>
Metronome 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>
Amplitude Modulation - Tremolo, Was:- An Audio/Sound Snippet For Linux... ;o) (Python)
2012-01-21T14:18:28-08:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/578013-amplitude-modulation-tremolo-was-an-audiosound-sni/
<p style="color: grey">
Python
recipe 578013
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/amplitude/">amplitude</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/mod/">mod</a>, <a href="/recipes/tags/modulation/">modulation</a>, <a href="/recipes/tags/sound/">sound</a>, <a href="/recipes/tags/tremolo/">tremolo</a>).
Revision 2.
</p>
<p>This IS for the big guns as well as the amatuer...</p>
<p>I am always being told that too many comments inside any code is bad and that professional coders are clever enough to work out what a program does without comments...</p>
<p>So here goes! This snippet of code hits /dev/dsp in Linux and has no comments as to what it does.
Make sure that /dev/dsp is available in your Linux install - if not then install oss.compat from your repository.</p>
<p>It needs Python 2.6 minimum, but may well work on a much earlier version</p>
<p>Don't run the code first but have a go at working out what it does and see if you are correct... ;o)</p>
<p>You can email me if you think you are/were correct:- <a href="http://wisecracker_at_tesco.net" rel="nofollow">wisecracker_at_tesco.net</a></p>
<p>Bear in mind I don't think this has ever been done before by hitting the /dev/dsp __directly__.</p>
<p>NOTE:- NO imports are required at all!!!</p>
<p>It runs for about 7 seconds before exiting...</p>
<p>Another BIG PLUS for Linux.</p>
<p>(I have a feeling poeple on here might like this, possibly even vote it up. ;)</p>
<p>Answer now at the bottom of this page...</p>
<p>Enjoy...</p>
<p>Bazza, G0LCU...</p>
Morse Code (Python)
2012-01-12T23:45:12-08:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578012-morse-code/
<p style="color: grey">
Python
recipe 578012
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/demonstration/">demonstration</a>, <a href="/recipes/tags/example/">example</a>, <a href="/recipes/tags/experiment/">experiment</a>, <a href="/recipes/tags/morse/">morse</a>, <a href="/recipes/tags/morse_code/">morse_code</a>, <a href="/recipes/tags/program/">program</a>, <a href="/recipes/tags/sound/">sound</a>).
Revision 3.
</p>
<p>After seeing another recipe recently that helps people with Morse Code, I was inspired to clean up the following code just a bit to make it worthy for the rest of the world. After being executed, it waits for lines of text to be entered, compiles each one in turn into timing codes, and plays them back with a simple execution</p>
Simple Morse Code Practice Oscillator. (Python)
2012-01-09T22:49:05-08:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/578010-simple-morse-code-practice-oscillator/
<p style="color: grey">
Python
recipe 578010
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/code/">code</a>, <a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/morse/">morse</a>, <a href="/recipes/tags/morse_code/">morse_code</a>, <a href="/recipes/tags/morse_practice_oscillator/">morse_practice_oscillator</a>, <a href="/recipes/tags/sound/">sound</a>).
Revision 2.
</p>
<p>This is not for the big guns, but for the Amateur coder AND radio enthusiast.</p>
<p>It is a DEMO Morse Code Practice Oscillator that will allow the user to practice
sending Morse code using the "o" and "p" keys as a PSEUDO-paddle key. It is set to
around 8 WPM, (Words Per Minute). The code allows "O" and "P" to be used at around
12 WPM, when "Caps Lock" is turned on. Read the code for more informtion.</p>
<p>It is for at least standard text mode Python 2.5.2 to 2.7.2 using PCLinuxOS 2009 and
Debian 6.0.0. It may well work at a much earlier version. I do have a version for
Python 3.x.x but that will be uploaded elsewhere.</p>
<p>It is written in such a way that youngsters can understand what is going on.</p>
<p>Enjoy finding simple solutions to often very difficult problems... ;o)</p>
<p>Bazza, G0LCU...</p>
Simple Morse Code Generator And Tutor. (Python)
2012-01-09T22:51:12-08:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/578009-simple-morse-code-generator-and-tutor/
<p style="color: grey">
Python
recipe 578009
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/code/">code</a>, <a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/generator/">generator</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/morse/">morse</a>, <a href="/recipes/tags/morse_code/">morse_code</a>, <a href="/recipes/tags/sound/">sound</a>).
Revision 2.
</p>
<p>This is not for the big guns, but for the Amateur coder AND radio enthusiast.</p>
<p>It is a DEMO Morse Code Generator and tutor that will generate the tones required for
the original standard letters A to Z and numbers 0 to 9. Puctuation is NOT included but
hey it is SOOOO simple to modify the code that I will let you, (the ones interested),
do that for yourselves... ;o)
Read the code for more informaton.</p>
<p>It is for at least standard text mode Python 2.5.2 to 2.7.2 using PCLinuxOS 2009 and
Debian 6.0.0. It may well work at a much earlier version. I do have a version for
Python 3.x.x but that will be uploaded elsewhere.</p>
<p>As it stands it _sends_ at around 8 WPM, (Words Per Minute).</p>
<p>It is written in such a way that youngsters can understand what is going on.</p>
<p>Enjoy finding simple solutions to often very difficult problems... ;o)</p>
<p>Bazza, G0LCU...</p>
Yet Another Python Generator... (Python)
2011-12-19T08:14:55-08:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/577990-yet-another-python-generator/
<p style="color: grey">
Python
recipe 577990
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/generator/">generator</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/signal/">signal</a>, <a href="/recipes/tags/sound/">sound</a>, <a href="/recipes/tags/source/">source</a>, <a href="/recipes/tags/sweep/">sweep</a>).
</p>
<p>Aha, but not what big guns were expecting...</p>
<p>LF Audio Sweep Generator.</p>
<p>Another kids level project to do for yourselves...</p>
<p>This is a Python DEMO to show the power of the sound card using Linux to
generate an Audio Sweep Signal from 4KHz down to 100Hz and back again.</p>
<p>Written in such a way that anyone can understand how it works...
This is for Linux and Python 2.x.x. Read the code for much more information, and......
A Python 3.x.x version is here:-</p>
<p><a href="http://www.linuxformat.com/forums/viewtopic.php?t=14411" rel="nofollow">http://www.linuxformat.com/forums/viewtopic.php?t=14411</a></p>
<p>Enjoy finding simple solutions to often VERY difficult problems...</p>
<p>Bazza, G0LCU...</p>
For AMIGA-Heads Only. Generating An Audio Signal In Text Mode Python. (Python)
2011-11-30T21:23:20-08:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/577971-for-amiga-heads-only-generating-an-audio-signal-in/
<p style="color: grey">
Python
recipe 577971
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/amiga/">amiga</a>, <a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/e_uae/">e_uae</a>, <a href="/recipes/tags/sound/">sound</a>, <a href="/recipes/tags/winuae/">winuae</a>).
</p>
<p>This DEMO is not for the big guns. It is aimed at those who still use
a minimum of an ancient classic AMIGA A1200(HD), E-UAE, WinUAE, of which
there are still a lot of us about...</p>
<p>No comments about the use of "eval()" as Python Version 1.4.0 does not
have "int()" and this is designed to work on all versions of Python
available for the above platform. See the code for minimum requirements
and much more information.</p>
<p>MANY THANKS to Irmen de Jong for porting early versions of Python to
the classic AMIGA to give we lowly users a taste of what was/is to come.</p>
<p>This code will probably make the professionals cough a little, but, boy
what fun it is to see how powerful Python can be on an open platform
like the AMIGA.</p>
<p>Written in such a way that anyone can understand how it works...</p>
<p>I really don't care how you vote this as it is for those, including
professionals, who enjoy messing with AMIGA variants purely for fun and
relaxation, and, to......</p>
<p>Enjoy finding simple solutions to often VERY difficult problems... ;o)</p>
<p>Bazza, G0LCU...</p>
A DEMO Frequency Counter With A Difference - Text Mode Python. (Python)
2011-11-21T18:00:43-08:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/577955-a-demo-frequency-counter-with-a-difference-text-mo/
<p style="color: grey">
Python
recipe 577955
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/counter/">counter</a>, <a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/frequency/">frequency</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/sound/">sound</a>).
</p>
<p>Hi experts...</p>
<p>I think that this is a first... ;o)</p>
<p>Another kids level project to do for yourselves...</p>
<p>This is yet another Python DEMO to show the power of the sound card using
Linux as an audio frequency counter.</p>
<p>It is a kids level project that uses the sound card as an input through the
microphone socket to measure up to >3500Hz from a symmetrical waveform, sine
square or triangle. See the comments inside the code for more details...</p>
<p>The only external hardware required is a test lead; oh my, this is technical
stuff... ;o)</p>
<p>This is for Python 2.x.x, (probably even down to 1.5.2) but it would be
just as easy to make it work on 3.x.x. I've already done it......</p>
<p>......But I'll let the big guns do that for you...</p>
<p>Enjoy finding simple solutions to often VERY difficult problems...</p>
<p>Be aware of word wrapping etc...</p>
<p>Bazza, G0LCU...</p>
Another Extremely Unusual Text Mode Python Upload... (Python)
2011-12-04T11:55:44-08:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/577973-another-extremely-unusual-text-mode-python-upload/
<p style="color: grey">
Python
recipe 577973
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/sound/">sound</a>).
Revision 2.
</p>
<p>DC, (Direct Current), Input For Text Mode Python 3.x.x.</p>
<p>A kids level project to do for yourselves...</p>
<p>This is a Python DEMO to show the power of the sound card using Linux to
accept a DC, (Direct Current), input. It is a kids level project that uses
the sound card microphone input as a detector for an audio VCO output.</p>
<p>Written in such a way that anyone can understand how it works...</p>
<p>The DEMO circuits inside the code are SOOO simple a dexterous 10 year
old could make it in less than a couple of hours and have it up and running
so as to start using it... The DEMO code is a simple, slow, positive logic,
TTL level Logic Probe.</p>
<p>(My own VCO circuit is almost as simple but has 5 transistors.)</p>
<p>This is for Linux and Python 3.x.x. Read the code for much more information, and......</p>
<p>Enjoy finding simple solutions to often VERY difficult problems...</p>
<p>Bazza, G0LCU...</p>
And Now For Something COMPLETELY Different Using Text Mode Python... (Python)
2011-10-26T19:24:32-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/577924-and-now-for-something-completely-different-using-t/
<p style="color: grey">
Python
recipe 577924
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/sound/">sound</a>).
</p>
<p>Hi experts...</p>
<p>A kids level project to do for yourselves...</p>
<p>This is a Python DEMO to show the power of the sound card using Linux for
a specific usage that I need(ed). It is a kids level project that uses the
sound card as a variable DC Voltage reference for projects like stabilised
linear PSUs. Why linear? Relatively clean RF wise...</p>
<p>The TEST circuit is inside the code and is SOOO simple a dexterous 10 year
old could make it in less than an hour and have it up and running to start
using...</p>
<p>My own circuit is just as simple, isolated, and, gives me MUCH more voltage
range than the one inside the code... How did I do it? ;o)</p>
<p>This is for Python 2.x.x, (probably even down to 1.5.2) but it would be
just as easy to make it work on 3.x.x.
I'll let the big guns do that...</p>
<p>Enjoy finding simple solutions to often VERY difficult problems...</p>
<p>Be aware of word wrapping etc...</p>
<p>Bazza, G0LCU...</p>