×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Feb 2006
    Posts
    23

    Sound Recoding in Python

    Hi --

    Is there some way to change the bit rate using the 'audio.Sound' class for recording?
    Code:
    so = audio.Sound.open(u'd:\\sample.wav')
    so.record()
    The emulator defaults to 16 bit audio at 8kHz. I want to set it to 8 bit at 44kHz, for example.

    -a.

  2. #2
    Regular Contributor
    Join Date
    Sep 2003
    Location
    Finland
    Posts
    209

    Re: Sound Recoding in Python

    Quote Originally Posted by aymanshamma
    Is there some way to change the bit rate using the 'audio.Sound' class for recording?
    Not currently. This should be relatively easy to add though, see e.g. the SDK documentation for "CMdaAudioRecorderUtility::SetDestinationBitRateL()". A simple modification to the available C++ source code should be enough.

Similar Threads

  1. Problem with Sound class getState()
    By creepymo in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2005-06-20, 18:43
  2. MIDI Sound problem (J2ME / Series 60)
    By JPapke in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2004-10-29, 08:17
  3. Sound in Midp 2.0 stalls
    By astraton2001 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 4
    Last Post: 2004-03-25, 06:58
  4. sound bug (possibly) on 6610
    By alex_crowther in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2004-02-05, 11:44
  5. Nokia Smart Expert - solve this sound problem
    By tsoh_tan in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2003-10-30, 04:36

Posting Permissions

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