Quote:
It doesnt work on WIZARD's player |
Music.rar
here you have got a sample RKP file with random song included. It's the best playback quality available on RKP platform using standard functions. The sound file is prepared using Sony Sound Forge. Its converted from mp3 file, downsampled to 8-bit stream. The left channel is located in the beginning of the file, and right channel is pasted just after left channel at the middle of the file. The output sound file should be MONO (though it has two channels sequentially), 8-bit, UNSIGNED PCM. Sample rate is unchanged 44100Hz. The source is included. |
Music
I'm launching it, and...
I can hear the music! :eek: This RKP File has a working sound! Sig11, you could implement the MoveSound into Chess by the similar way! :rolleyes: |
hmmm, its good its working on your player WIZARD.
Although I am not sure why you have problems with this in your own programs. As far as I noticed, GDK is very buggy. Sometimes it doesn't add file to the resource as it suppose to. For example "other" type of resource doesn't work at all!! I tried many times, and in many ways to add it but with no success. Maybe it's just on my system, but when you compile your program make sure that in GDK the resources are added as they should (compare file size manually). Maybe that's why there was no sound in your apps. |
That's because this GDK I've got from chinese is Beta version.
And it's nearly impossible to get the normal one, without bugs. |
Hey WIZARD, can you check if this snake with sound works on your player.
http://www.sendspace.com/file/2z1bbg I have had a problem that any game with moving graphics doesn't work (stutters)with sound at above 11025 Hz |
NewBigSnake
Yes, the sound is working! :rolleyes:
Is it 11025 Hz or 44100 Hz ? |
Quote:
anyway here is flipped screen snake. http://www.sendspace.com/file/qkdcbj |
Hmmm, don't use 44100Hz in games. I also noticed that it makes problems. Instead, use 22050 or 32000. With these you can work fine, and even 22050 is a lot better quality than 11025Hz.
If you're having problems anyway, try to increase CPU freq. I test all my projects at maximum 72MHz. Currently I am creating a nice looking game with pretty complicated real-time generated intro and it doesn't even slow down with background music and samples at 22050Hz. I decided to not include higher sample rate because I don't get better quality anyway - as we work with 8-bit sounds only. The major issue of 8-bit sounds is a steady white noise which cannot be avoided. But the funny thing is that this noise is louder with higher sample rate. So my recommendation to use 22050 is fully reasonable. And yes, we cannot mix sounds at different sample rates. The sounds playing at the same time must have the same sample rate. |
Snake Horizontal&Sound Version
I've noticed a bug: the background music plays only for two times;
so, after ~~50 eaten berries you will hear only the "WakeUp" sounds. |
| All times are GMT -7. The time now is 10:55 am. |
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 RC 2