statistics about WAVE sinus cycle durations...
Posted: Sat Aug 31, 2013 12:02 pm
I have added a analyze function in PyDC, to display zeror crossing timings in wave files (See: viewtopic.php?f=8&t=4231&p=8980#p8980 )
Here i will post some statistics about wave files from http://archive.worldofdragon.org/archiv ... ragon/wav/
DRAGONDATA_DRAGONSELECTION4.WAV
Seems that this is a very clean WAVE.
For compare:
HelloWorld1 origin.wav have i digitized from my Dragon 32:
HelloWorld1 xroar.wav has the same code as HelloWorld1 origin.wav but created by Xroar:
Here i will post some statistics about wave files from http://archive.worldofdragon.org/archiv ... ragon/wav/
DRAGONDATA_DRAGONSELECTION4.WAV
Code: Select all
Python dragon 32 converter 0.1.0.dev
-------------------------------------------------------------------------------
source file.......: DRAGONDATA_DRAGONSELECTION4.WAV
open wave file 'DRAGONDATA_DRAGONSELECTION4.WAV'...
Framerate: 44100
Number of audio frames: 9797790
channels: 1
samplewidth: 1 (8Bit wave file)
the max volume value is: 255
Ignore sample lower than 5.0% = 12
100.0% wav pos:3.7 min (frame no.: 9797790) - eta: 0.0 ms (rate: 32671Frames/sec)
Found this zeror crossing timings in the wave file:
1002Hz ( 22 Samples) exist: 173446 *****************************************
1050Hz ( 21 Samples) exist: 173446 *****************************************
2005Hz ( 11 Samples) exist: 212689 **************************************************
Notes:
- Hz values are converted to full sinus cycle duration.
- Sample cound is from half sinus cycle.
For compare:
HelloWorld1 origin.wav have i digitized from my Dragon 32:
Code: Select all
source file.......: test_files/HelloWorld1 origin.wav
open wave file 'test_files/HelloWorld1 origin.wav'...
Framerate: 44100
Number of audio frames: 109923
channels: 1
samplewidth: 2 (16Bit wave file)
the max volume value is: 32768
Ignore sample lower than 5.0% = 1638
100.0% wav pos:2.5 sec (frame no.: 109923) - eta: 0.0 ms (rate: 34408Frames/sec)
Found this zeror crossing timings in the wave file:
1Hz (22214 Samples) exist: 1
387Hz ( 57 Samples) exist: 1
551Hz ( 40 Samples) exist: 1
735Hz ( 30 Samples) exist: 1
817Hz ( 27 Samples) exist: 1
882Hz ( 25 Samples) exist: 9 *
919Hz ( 24 Samples) exist: 75 *****
959Hz ( 23 Samples) exist: 168 ************
1002Hz ( 22 Samples) exist: 503 ***********************************
1050Hz ( 21 Samples) exist: 606 ******************************************
1103Hz ( 20 Samples) exist: 523 ************************************
1161Hz ( 19 Samples) exist: 514 ************************************
1225Hz ( 18 Samples) exist: 482 *********************************
1297Hz ( 17 Samples) exist: 96 *******
1378Hz ( 16 Samples) exist: 4
1470Hz ( 15 Samples) exist: 6
1575Hz ( 14 Samples) exist: 9 *
1696Hz ( 13 Samples) exist: 190 *************
1838Hz ( 12 Samples) exist: 598 *****************************************
2005Hz ( 11 Samples) exist: 721 **************************************************
2205Hz ( 10 Samples) exist: 677 ***********************************************
2450Hz ( 9 Samples) exist: 230 ****************
2756Hz ( 8 Samples) exist: 3
Code: Select all
open wave file 'test_files/HelloWorld1 xroar.wav'...
Framerate: 22050
Number of audio frames: 75025
channels: 1
samplewidth: 1 (8Bit wave file)
the max volume value is: 255
Ignore sample lower than 5.0% = 12
100.0% wav pos:3.4 sec (frame no.: 75025) - eta: 0.0 ms (rate: 33204Frames/sec)
Found this zeror crossing timings in the wave file:
394Hz ( 28 Samples) exist: 1
613Hz ( 18 Samples) exist: 1
788Hz ( 14 Samples) exist: 1
919Hz ( 12 Samples) exist: 329 *********
1002Hz ( 11 Samples) exist: 1704 **********************************************
1103Hz ( 10 Samples) exist: 1256 **********************************
1225Hz ( 9 Samples) exist: 1743 ***********************************************
1378Hz ( 8 Samples) exist: 1
1575Hz ( 7 Samples) exist: 322 *********
1838Hz ( 6 Samples) exist: 1851 **************************************************
2205Hz ( 5 Samples) exist: 1397 **************************************
2756Hz ( 4 Samples) exist: 913 *************************