krzk has joined #linux-exynos
Necrosporus_ has joined #linux-exynos
Necrosporus has quit [Ping timeout: 255 seconds]
libv has quit [Ping timeout: 260 seconds]
libv has joined #linux-exynos
bmbeach has joined #linux-exynos
<
bmbeach>
wizzup: Are you using widely divergent sample rates when you run your test?
tyler-baker has quit [Ping timeout: 244 seconds]
<
bmbeach>
I just ran a test where I created a file 96000 words long of zeros
<
bmbeach>
(so I don't have to listen to the noise(although I don't actually get sound))
<
bmbeach>
and used the following command:
<
bmbeach>
time aplay -t raw -c 1 -r samplerate sound_test
<
bmbeach>
where I varied the samplerate from 8000 to 9600
<
bmbeach>
Now at 8000 Hz you should expect the file to play for 12 seconds
<
bmbeach>
and at 96000 you would expect it to play for 1 sec
<
bmbeach>
(note that I am specifically using mono. You don't have to. you can adjust your
<
bmbeach>
calculations accordingly)
<
bmbeach>
The following is the results
<
bmbeach>
8000 Hz 0m11.649s
<
bmbeach>
96000 0m0.576s
<
bmbeach>
leaving out all the intermediate tests, it seems that at the higher sample rates it is
<
bmbeach>
playing too fast and at the low sample rates it is about right.
<
bmbeach>
I just noticed that I typed 9600 somewhere. I mean 96000
<
bmbeach>
and I should of said I created file 96000 bytes long. The meanings of the aplay parameters
<
bmbeach>
is -t a raw file, no header
<
bmbeach>
-c 1 channel (mono)
<
bmbeach>
and since i didn't specify it aplay defaulted to bytes
bmbeach has left #linux-exynos [#linux-exynos]
tyler-baker has joined #linux-exynos
afaerber has quit [Ping timeout: 252 seconds]
afaerber has joined #linux-exynos
amitk has joined #linux-exynos
afaerber_ has joined #linux-exynos
afaerber has quit [Ping timeout: 268 seconds]
zombah has joined #linux-exynos
_whitelogger_ has joined #linux-exynos
_whitelogger has quit [Remote host closed the connection]
Necrosporus_ is now known as Necrosporus
_whitelogger has joined #linux-exynos
<
Wizzup>
bmbeach: well, just listening to noise doesn't help much, I mean, I am already sure about the wrong speed/clock
<
Wizzup>
I can play noise, but that'd just do the same as I did before
<
Wizzup>
'about right' is not right at all
zombah has quit [Quit: Leaving]
liquidAcid has joined #linux-exynos
dlan_ has joined #linux-exynos
bzyx_ has joined #linux-exynos
dlan has quit [Read error: Connection reset by peer]
Nemykal has quit [Read error: Connection reset by peer]
Nemykal_ has joined #linux-exynos
bzyx has quit [Read error: Connection reset by peer]
twitch153 has quit [Excess Flood]
twitch153 has joined #linux-exynos
krzk has joined #linux-exynos
si1v3r has quit [Ping timeout: 265 seconds]
javier__ has quit [Ping timeout: 265 seconds]
javier__ has joined #linux-exynos
si1v3r has joined #linux-exynos
Nemykal_ has quit [*.net *.split]
dlan_ has quit [*.net *.split]
si1v3r has quit [*.net *.split]
daniels has quit [*.net *.split]
libv has quit [*.net *.split]
Zotan has quit [*.net *.split]
aballier has quit [*.net *.split]
twitch153 has quit [*.net *.split]
meridion has quit [*.net *.split]
dne has quit [*.net *.split]
sjoerd has quit [*.net *.split]
pekka30 has quit [*.net *.split]
indy has quit [*.net *.split]
steev has quit [*.net *.split]
bzyx_ has quit [*.net *.split]
mturquette has quit [*.net *.split]
ojn has quit [*.net *.split]
liquidAcid has quit [*.net *.split]
amitk has quit [*.net *.split]
javier__ has quit [*.net *.split]
bgamari has quit [*.net *.split]
tyler-baker has quit [*.net *.split]
Swabbles has quit [*.net *.split]
afaerber_ has quit [*.net *.split]
Necrosporus has quit [*.net *.split]
leming has quit [*.net *.split]
nashpa has quit [*.net *.split]
steev_ has quit [*.net *.split]
krzk has quit [*.net *.split]