You Are Here:

Community: Developer Discussion Boards

#1 Old Question 6230i Wav format - 2006-07-18, 13:00

Join Date: Mar 2003
Posts: 31
Location: London
boinged
Offline
Registered User
I can play wavs on this device and am using the same wav properties as for other Nokia devices which have never given me any trouble:

Bit rate: 64kbps
Audio sample size: 8 bit
Channels: 1 (mono)
Audio sample rate: 8 kHz
Audio format: PCM

I load the sample with:

Manager.createPlayer(ByteArrayInputStream(myData), "audio/wav");

The sample plays but at the end there's a horrible sound like white noise. Is this format no good for this device? Any info on what works?

cheers
Reply With Quote

#2 Old Re: 6230i Wav format - 2006-07-18, 13:10

Join Date: Dec 2005
Posts: 1,696
Location: Europe/Poland/Warsaw
peterblazejewicz
Offline
Super Contributor
hi boinged,
does that specific file plays fine in device built-in native player?
regards,
Peter
Reply With Quote

#3 Old Re: 6230i Wav format - 2006-07-18, 13:30

Join Date: Mar 2003
Posts: 31
Location: London
boinged
Offline
Registered User
Good idea, just managed to get it on the device and it plays fine though. I do have some midis loaded as well. I think I read something about making sure they are deallocated when I want to play something else so I'll try that.
Reply With Quote

#4 Old Re: 6230i Wav format - 2006-07-18, 13:53

Join Date: Mar 2003
Posts: 31
Location: London
boinged
Offline
Registered User
Deallocating the previous player caused the application to completely lock up when switching from midi and wav, was ok from midi to midi.
Reply With Quote

#5 Old Re: 6230i Wav format - 2006-08-09, 11:13

Join Date: Aug 2006
Posts: 307
axs
Offline
Regular Contributor
IMHO you should use only InputStream rather than ByteArrayInputStream. The reason is that unfortunately real Nokia phones load all the data into the memory by calling once "read(byte[] data, 0, totalLenght)" method of the InputStream or SourceStream. This is VERY ugly, but this is how real Nokia code works. The ByteArrayInputStream buffers data, and possibly this is the reason for bad playing.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
WAV support for Nokia 6230i heuven Audio 6 2006-04-08 20:18
6600 and WAV format dathom General Symbian C++ 0 2004-03-03 04:50
WAV format, sample rate etc for Series 60 (3650 and 7650) marcilgen Mobile Java Media (Graphics & Sounds) 1 2003-12-09 21:24
WAV format, sample rate etc for Series 60 (3650 and 7650) marcilgen Mobile Java General 0 2003-12-09 20:03
wav audio format for 7650 topisystems General Symbian C++ 2 2002-08-23 07:41

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d134434X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ