Latest Batch recipes tagged "sound"http://code.activestate.com/recipes/langs/batch/tags/sound/new/2013-05-02T17:48:18-07:00ActiveState Code RecipesA 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>