Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 709
Registered: ‎09-10-2009
My Device: 8520, 8900, 9000, 9300, 9650, 9700, 9780, 9800, 9810, 9900, 9930
My Carrier: Verizon

GSM audio does not play on Windows machine

Did anyone try this? I record an audio file in GSM format but the file can't be played on a Windows's machine.

Posts: 1,807
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-, Z10 (STL100-3)-, Z30 (STA100-5)-, Passport (SQW100-1)-, PlayBook (16GB)-
My Carrier: Verizon

Re: GSM audio does not play on Windows machine

Does it start with "RIMM"?




I don't know if the format is only used for video but I do remember in some earlier post people would start recording audio/video and it would be in this format then they would commit the recording and close the Player and it would convert it to format that the developer specified. Maybe this didn't happen.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
New Contributor
Posts: 4
Registered: ‎03-09-2011
My Device: Not Specified

Re: GSM audio does not play on Windows machine

[ Edited ]



The BB GSM format is packed into 32.5Byte frames.  You can play it back on Windows using Awave Audio 10.5 audio transcoder.  You can also use this transcoder to create a padded 33Byte version of the GSM file and it will play on your Windows machine.  You can also capture 33Byte padded GSM 6.10 using JMF and then use Awave Audio to transcode to packed and the files will playback on your BB device. 




I have written an algorithm in J2SE that converts 32.5Bytes frames to padded 33Byte frames based on the RTP specification for a GSM 6.10 payload.  unfortunately, this is still not working out, even though the algorithm is doing exactly what the specification says.


Have you made any progress with this?





New Contributor
Posts: 2
Registered: ‎03-04-2011
My Device: Not Specified

Re: GSM audio does not play on Windows machine

As far as i know the format BB records in gsm mode is not the usual 33 bytes (gsm) or 65 bytes packed (msgsm). I have a encoder/decoder for both on my pc and none of them can decode the format BB records. I believe bit order of the LAR's are different in the format BB records. If Awave can play it then it's clear that they are supporting this custom format.