×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    May 2007
    Posts
    15

    playing a pcm array on symbian

    hi,

    i want to ask if anyone knows how to play pcm data from a array without physically writing the file out or reading from a file?

    is there any working examples?

    i am quite a newbie at this.

    thx

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: playing a pcm array on symbian

    Maybe you could check the streaming examples from the Wiki, they show the basic classes for playing PCM from buffers.

    yucca

  3. #3
    Registered User
    Join Date
    May 2007
    Posts
    15

    Re: playing a pcm array on symbian

    so its possible? i can create the array but i donno how to put the array into the buffer and play it.
    pls help ty

  4. #4
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: playing a pcm array on symbian

    What does your Array look like ?

    Basically I would assume that your array would hold the PCM data in some kind of byte-binary form, then you could copy it strait to a byte buffer really..

    yucca

  5. #5
    Registered User
    Join Date
    May 2007
    Posts
    15

    Re: playing a pcm array on symbian

    the array looks like [6.8634033e-002] [5.2642822e-002] [1.8585205e-002] [1.4465332e-002]. 10000 samples

  6. #6
    Registered User
    Join Date
    May 2007
    Posts
    15

    Re: playing a pcm array on symbian

    hihi,

    i hav tried to put the array in to the buffer but could not play the sound i dont know where went wrong. pls help!!!
    the code is in the text file below. ty

    http://www.freefileupload.net/file.p...3/code.txt.txt

  7. #7
    Registered User
    Join Date
    May 2007
    Posts
    15

    Re: playing a pcm array on symbian

    hi,
    sry the previous link may nt work i re uploaded another link
    pls i really need help

    http://files-upload.com/280643/codespcmarray.txt.html

  8. #8
    Registered User
    Join Date
    May 2007
    Posts
    15

    Re: playing a pcm array on symbian

    hi,
    i got the example working but the array sound i played is distorted totally different from the sound i have or was suppose to hear can anyone tell me what happen?

Similar Threads

  1. Question regarding Java vs Symbian C++
    By Olnex in forum Mobile Java General
    Replies: 5
    Last Post: 2006-09-27, 23:53
  2. Replies: 1
    Last Post: 2006-09-27, 14:19
  3. SOS: SYMBIAN PANIC ERRORS in a BT connecton! Can you solve this?
    By Summerman in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2006-08-21, 20:11
  4. Replies: 2
    Last Post: 2003-08-19, 16:39
  5. setting of Series 60 MIDP SDK for Symbian OS version 1.2 for networking
    By servigo in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2003-07-31, 07:47

Posting Permissions

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