×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    144

    Audio Problem - 8 bit wav

    Dear Devs,

    I am trying to mix sound
    using the example here: http://wiki.forum.nokia.com/index.ph...-channel_audio

    the code works fine.
    My problem is with audio.
    I created my audio with Goldwave
    and saved it to 8-bit mono wav, just like the example suggests.

    However, I am getting a distorted sound!

    Is there a special way I should move 8 bit sounds from the pc to the phone?

    thanks!
    Stavros

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: Audio Problem - 8 bit wav

    The
    Quote Originally Posted by Wiki article
    Code:
    for (TInt i = 0; i < size; i++)
            {
            TInt v = tbuf[i];
            v -= 128;
            buf[i] = (TInt16)(v * 256);
            }
    part apparently assumes that your audio data is 8-bit, unsigned. Check if Goldwave has such option.

  3. #3
    Registered User
    Join Date
    Sep 2008
    Posts
    144

    Re: Audio Problem - 8 bit wav

    thanks

    Goldwave does that, but the result is not **istenable**
    I copied the wav files from the SoundMixed example
    into my project, and they work fine.

    I guess I need to find a better audio tool
    s.

  4. #4
    Registered User
    Join Date
    Sep 2008
    Posts
    144

    Re: Audio Problem - 8 bit wav

    Goodmorning,

    This is what wavlab understands when opening
    the sample wav files from Nokia's sample mixer example:

    "file format: unknown"
    "properties: stereo 16 bit, / 0 KHz"
    "Length: -1ms / 0 B"

    Please throw some light on this...


    Stavros

  5. #5
    Registered User
    Join Date
    Sep 2008
    Posts
    144

    Re: Audio Problem - 8 bit wav

    Dear Devs,

    I managed to make correct 8 bit sounds:
    Recorded something, then saved it with 8 bit mono 16KHz unsigned using Wavelab.

    The problem now is the sound quality and the artifacts.
    I borrowed from the wiki soundmixer example.

    when mixing notes on different "channels", the sound quality is very bad, and artifacts are heard.

    Is there any other technique or practice for playing/mixing sounds in higher quality?

    thank you
    Stavros

Similar Threads

  1. [REQ App] Capture Key, Brightness solution!
    By rilley in forum Symbian
    Replies: 24
    Last Post: 2010-04-11, 21:32
  2. 8/16 bit audio data for AudioStreamExample
    By pk_volt in forum Streaming and Video
    Replies: 0
    Last Post: 2009-07-25, 08:57
  3. Problem regarding Nokia 6630 Audio....
    By skumar_rao in forum Mobile Java General
    Replies: 4
    Last Post: 2007-07-09, 10:00
  4. Half Duplex Audio Streaming
    By subhrajyotisaha in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2006-05-25, 04:39
  5. 7650 basic audio recording format
    By gamit in forum Symbian
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×