Re: Get amplitudes of pcm datas

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le Tue, 28 Jan 2014 08:39:47 +0100,
Boris Kurtis Bignumb-bi-kumb <boris.kumb@xxxxxxxxx> a écrit :

> I'm writing a simple word recognizer program. And to use my algorithm
> i need tout cet the amplitudes of the voice. Does anyone knows how to
> decode data in the buffer?

Use python & numpy

a = np.fromfile(filename)
amax = max(a.max(), abs(a.min())

RB



------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user





[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux