nokia-sound-mixer-problem-1
Link to ZIP file mentioned in Mail:
http://www.dstech.in/system/files/snd2.zip
Mail I sent copy-pasted:
---
As mentioned at the conference-- my company has been facing a slight technical problem-- and any inputs from your side about the same will be greatly appreciated.
---
We face the following problem, due to which a product of ours has been delayed since the last several weeks:
We built our code for sound playback and mixing using the techniques and APIs demonstrated in the as per the "Sound Mixer Example for S60 3rd Edition" ( http://www.forum.nokia.com/info/sw.nokia.com/id/7bbe94f9-119c-475e-942b-... )-- and were successful in sound playback using the sound samples that came with the mentioned sound-mixer demo.
The above example uses sound samples in 8-bit unsigned PCM format.
Our sound samples are in WAV and MP3 format-- and the samples within the WAV files are in 16-bit signed PCM format.
To replace the sounds with our own sounds, we tried the following:-
(1) We tried to convert the wav and mp3 files to 8-bit unsigned pcm files--- and extract the sample data.
We felt that after encoding our own sound pieces in 8-bit unsigned PCM format-- we could playback our own sound files using techniques demonstrated in sound mixer sample.
We have been unable to satisfactorily encode our sound files as 8-bit unsigned PCM format-- because after after encoding as 8-bit unsigned PCM format-- the playback sounds like noise with hisses and crackling sounds- and our sound is not played back.
We have seen sound samples-- used in freeware Symbian games-- and on the net-- encoded in 8-bit unsigned pcm format-- and used as input to sound mixer example-- which work great and playback properly in sound mixer example.
We can send you our 3 or 4 files-- as well as Sound Mixer Example source code which successfully plays back sounds encoded by someone else but not ours.
Could you please have someone examine our sound samples--- as well as the Sound Mixer source code--- and tell us how to encode our files as 8-bit unsigned PCM files which play properly in the Nokia Sound mixer example.
What we will need from you is:
(a) what tools to encode our sound files to be playable by sound mixer code?
(b) what are the commands/steps involved ?
(c) what are the precautions/what were we earlier doing wrong ?
OR ALTERNATIVELY:
(2) We considered changing the sound formats specified to the sound playback API in SoundMixer example-- to 16-bit signed PCM.
This should work; because documentation states the underlying platform also supports playback of signed 16-bit PCM sound.
While we were able to extract the sample data- from our WAV or Mp3 files- we have till now been unable to understand what parameters to sound playback API to change-- so that it plays back our files as 16-bit signed PCM samples.
We can send our sound files (with 16-bit signed PCM samples)-- and can you have someone change part of the Sound Mixer Example's code--
(a) tell us what parameters to change so that instead of current 8-bit-unsigned-PCM APIs expect 16-bit signed PCM data ?
(b) tell us how to (what tools ? what commands ?) encode our sound files so that they can be played back properly in the sound mixer example ?
You will find a ZIP file with some sound samples we want to put into sound-mixer example:
http://www.dstech.in/nokia-sound-mixer-problem-1
Do let us know.
Thanks in Advance and Best Regards,
Nalin Savara
CEO and Technical Director
DS Technologies Pvt Ltd.
Mo: +91-9811109407
Web: http://www.dstech.in | http://www.dstech.mobi
| Attachment | Size |
|---|---|
| snd2.zip | 46.4 KB |
