summaryrefslogtreecommitdiffstats
path: root/khotkeys/shared/voicesignature.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'khotkeys/shared/voicesignature.cpp')
-rw-r--r--khotkeys/shared/voicesignature.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/khotkeys/shared/voicesignature.cpp b/khotkeys/shared/voicesignature.cpp
index 773f28731..b40c8fd6a 100644
--- a/khotkeys/shared/voicesignature.cpp
+++ b/khotkeys/shared/voicesignature.cpp
@@ -210,7 +210,7 @@ TQMemArray<double> VoiceSignature::fft(const Sound& sound, unsigned int start, u
for(uint x=start; x<stop; x++)
{
- Complex s(sound.at(x));
+ Complex s(sound.tqat(x));
double angle=-2*PI*f*x/8000;
s*= Complex( cos(angle) , sin(angle) );
c+=s;
@@ -228,7 +228,7 @@ bool VoiceSignature::window(const Sound& sound, unsigned int *_start, unsigned i
if(length < unit )
return false;
- //Fenętrage
+ //Fen�trage
unsigned int start=0 , stop=0;
double moy=0;
for(uint x=0;x<unit;x++)