View Single Post
  #6 (permalink)  
Old 17th Sep 2009, 10:25 am
knob's Avatar
knob knob is offline
Senior Member
Valued Member
 
Join Date: May 2007
Posts: 1,285
Default

Another member flasher86 has made sound work, here is what he writes:-
Quote:
Yes I can put music, but currently only in PCM format, which is quite annoying (files are huge). Standard platform introduces functions to play MONO 11.025KHz 8-bit Unsigned PCM stream. You can prepare this format using e.x. Sony Sound Forge (save as RAW PCM). Make sure that you ticked UNSIGNED pcm, not signed. Otherwise you get strange noises. Also 16 bit pcm is not supported yet (also strange noises), but I've already given couple of shots, and maybe I will succeed with this.

BUT, I modded the platform to be able to play PCM streams at higher sample rate. Now I can play files at 22.050KHz, 32.000KHz and even 44100KHz (though at 44100 rate it sometimes pauses playing while running some complicated operations in your RKP file. The best is 32.000KHz which is really fine quality.

In this topic I mentioned how to mod the platform to increase sample rate. Just look through few previous pages.

ps. the pcm file must be mono, but you can actually play stereo files using some trick. Platform provides 5 channels to play sounds on, at same time mixing together. Also you can set the balance of each of these channels. Then to play stereo files you may use two pcm streams of each channel (right, left) and call them on different channel at totally opposite balance set. I successfully played STEREO 44.100KHz song.
__________________
-----------------------------------------------------------------------------------------------------------
Reply With Quote