| View previous topic :: View next topic |
| Author |
Message |
Knifa
Joined: 27 Dec 2005 Posts: 4
|
Posted: Sat Jan 14, 2006 1:46 am Post subject: voice:frequency() |
|
|
What format is this function in? 0-255 could mean anything.
Wouldn't it make more sense if it was in as the playback rate, as in, 44khz and the like? |
|
| Back to top |
|
 |
MikeHaggar
Joined: 18 Jul 2005 Posts: 116
|
Posted: Sun Jan 15, 2006 4:03 am Post subject: |
|
|
| hm... frequency goes from 0 to 88000 if you believe the music test script... so I'd guess you use 44000 (or 44100?) for 44khz... |
|
| Back to top |
|
 |
Knifa
Joined: 27 Dec 2005 Posts: 4
|
Posted: Sun Jan 15, 2006 10:51 am Post subject: |
|
|
| It says the range for it on the documentation is 0 to 255. |
|
| Back to top |
|
 |
mrn
Joined: 02 Nov 2005 Posts: 116
|
Posted: Tue Jan 17, 2006 2:25 am Post subject: |
|
|
I've got an idea.
What U need is to
1. generate a wave file with a 1kHz sinewave inside.
(use Goldwave or send me a mail, I'll make it 4u)
then, by
2. playing back this wavefile on the PSP with different parameteers and measuring the freqency we can
3. re-estimate the sampling frequency the particular parameter corresponds to.
ie. example:
20 ~ 8kHz
40 ~ 16kHz
60 ~ 24kHz, etcetc |
|
| Back to top |
|
 |
|