Popular recipes tagged "frequency"http://code.activestate.com/recipes/tags/frequency/2011-11-21T18:00:43-08:00ActiveState Code RecipesA 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>
Frequency Analyser (Python)
2011-08-11T09:26:56-07:00Stijn de Graafhttp://code.activestate.com/recipes/users/4178055/http://code.activestate.com/recipes/577837-frequency-analyser/
<p style="color: grey">
Python
recipe 577837
by <a href="/recipes/users/4178055/">Stijn de Graaf</a>
(<a href="/recipes/tags/analysis/">analysis</a>, <a href="/recipes/tags/analyze/">analyze</a>, <a href="/recipes/tags/character/">character</a>, <a href="/recipes/tags/cryptography/">cryptography</a>, <a href="/recipes/tags/frequency/">frequency</a>).
</p>
<p>Calculates the frequency of characters within a block of text. In the context of cryptography, these values can be compared to a frequency table in order to attempt to ascertain the original message.</p>
Frequency measurement convenience class (Python)
2009-01-05T07:01:11-08:00Willi Richerthttp://code.activestate.com/recipes/users/4003859/http://code.activestate.com/recipes/576607-frequency-measurement-convenience-class/
<p style="color: grey">
Python
recipe 576607
by <a href="/recipes/users/4003859/">Willi Richert</a>
(<a href="/recipes/tags/frequency/">frequency</a>, <a href="/recipes/tags/measurement/">measurement</a>).
</p>
<p>From time to time one needs to calculate the average frequency of concurrently running processes/threads. This class just does this.</p>