teotigraphix / as3wavsound

Automatically exported from code.google.com/p/as3wavsound
Other
2 stars 1 forks source link

Enable 16kHz audio playback with provided better upsample algorithm #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The current version of as3wavsound doesn't support playback 16 kHz audio, which 
is really required in many cases, especially for speech recognition.

Even we manually remove the limitation for 16kHz in the audio setting, the 
quality of the current upsample impl in Wav.as is not acceptable (the noise).

So in our case, we implemented an upsample replacement:
https://github.com/englishtown/as3wavsound/blob/feature/upsample/src/org/as3wavs
ound/sazameki/format/wav/Wav.as#L81

Out impl is copied from the following stackoverflow ticket:
http://stackoverflow.com/questions/7995470/how-can-i-resample-wav-file

I suggest you guys could consider use this algorithm to replace your current 
one.

Original issue reported on code.google.com by shijie...@gmail.com on 14 Jan 2014 at 6:08

GoogleCodeExporter commented 9 years ago
Wired, it doesn't support modification after submission? This should be an 
enhancement, not a defect.

Original comment by shijie...@gmail.com on 14 Jan 2014 at 6:11