Sample Rate

tcak via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 10 06:05:11 PDT 2016


On Saturday, 9 April 2016 at 14:15:38 UTC, Nordlöw wrote:
> Has anybody more than I thought about representing the sample 
> rate of a sampled signal collected from sources such as 
> microphones and digital radio receivers?
>
> With it we could automatically relate DFT/FFT bins to real 
> frequencies and other cool stuff.
>
> Maybe we could make it part of the standard solution for linear 
> algebra processing and units of measurement in D.
>
> Destroy.

I did. I have recorded sound samples by using a voice recorder. 
Than I have used my WavReader module to get sample values.

Then I have converted those samples to JSON.

I have written a Javascript code. It uses Wavelets to decompose 
the signal into frequencies (that was pretty slow). Than, 
amplitude of frequencies were presented in SVG or Canvas with 
colours (transition from Blue to Red).

I was trying to build a voice recognition as a research those 
days. It was in 2013.


More information about the Digitalmars-d mailing list