Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / change sound Frequency

Author
Message
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 13th Nov 2014 18:34 Edited at: 13th Nov 2014 18:37
Hi.

I have a wave sound file and I used it to my game.this sound is play normally in windows but when I make game and run it in my phone (android) sound is change and don't good play like run in windows.

My wave file information:

PCM
Channels=1
Bits/samp=16
Samps/sex=44100

where is the Problem?

Attachments

Login to view attachments
fog
21
Years of Service
User Offline
Joined: 5th Oct 2003
Location: Newcastle, England
Posted: 13th Nov 2014 18:43
Some Android devices don't like certain wav files and others wont allow you to adjust the frequency anyway.

Use GetSoundMaxRate() and GetSoundMinRate() to check your device supports frequency changes and what the allowed range is.

JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 13th Nov 2014 18:45
Quote: "Use GetSoundMaxRate() and GetSoundMinRate() to check your device supports frequency changes and what the allowed range is.
"


These do not work on Android below 2.9

-- Jim - When is there going to be a release?
JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 13th Nov 2014 18:47
Quote: "sound is change and don't good play like run in windows."


What's wrong with it? The WAV looks ok.

-- Jim - When is there going to be a release?
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 13th Nov 2014 18:48
Quote: "
Use GetSoundMaxRate() and GetSoundMinRate() to check your device supports frequency changes and what the allowed range is.
"


I think this Functions is relate to AppGameKit version2. My AppGameKit version is 1.
JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 13th Nov 2014 18:50
You are right.

-- Jim - When is there going to be a release?
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 13th Nov 2014 18:51
Quote: "What's wrong with it? The WAV looks ok."


sound frequency in windows and android is not same.
JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 13th Nov 2014 19:39
I will check it later and let you know. Going for a curry!

-- Jim - When is there going to be a release?
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 13th Nov 2014 19:43
Thanks JimHawkins.

Login to post a reply

Server time is: 2024-11-25 11:17:36
Your offset time is: 2024-11-25 11:17:36