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 / Testing for wav file compression?

Author
Message
Native Tech
11
Years of Service
User Offline
Joined: 19th Jul 2013
Location:
Posted: 11th Nov 2014 19:27 Edited at: 11th Nov 2014 19:28
Hi

I am using windows 7 to compile for android and am currently having an issue with V2 playing sounds on the android device.it plays when interpreted on pc but not after exporting apk to android.
I am aware that the wav files must not be compressed for them to work and I am guessing that they are not compressed as they are raw recordings that ive played from hadware synthesizer and recorded.however I cannot b sure and windows 7 as far as i know cannot determine wether or not a wave file is compressed or not.so before i go and code a wave header parser and converter.... Is there an easy way to determine what type of wav file is being used on windows 7? Please thank u

Native Technology
JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 11th Nov 2014 19:32
I will upload a little program tomorrow to give you the answer.

-- Jim - When is there going to be a release?
Native Tech
11
Years of Service
User Offline
Joined: 19th Jul 2013
Location:
Posted: 11th Nov 2014 19:50
Awesome thank u

i have parsed wav files using c++ on a different platform and dont fancy having to rewrite it again in AppGameKit just to test for compression so will appreciate it if uv written one up

Native Technology
JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 11th Nov 2014 22:26
It's pathetically easy. Just read the header!

-- Jim - When is there going to be a release?
Native Tech
11
Years of Service
User Offline
Joined: 19th Jul 2013
Location:
Posted: 12th Nov 2014 00:15
Of course...but my development time is limited and like i said i dont wanna have to write another parser i just wnba know if windows 7 has info.say if i rightclick on the file coz as far as i can c it shows nothing... About.the compression type...thanks for ur expertise anyway

Native Technology
JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 12th Nov 2014 00:22
No problem. The WAV header is an easy structure. Just one zero will tell you it's PCM!

-- Jim - When is there going to be a release?
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 12th Nov 2014 10:03 Edited at: 12th Nov 2014 10:04
hm, maybe export wave again with music app,
u have all in same format.

AGK 108 (B)19 + AppGameKit V2 Alpha .. : Windows 8.1 Pro 64 Bit : AMD Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)
Native Tech
11
Years of Service
User Offline
Joined: 19th Jul 2013
Location:
Posted: 12th Nov 2014 11:18
Yip marcus this would b my go to method but my.music software is on an xp machine which isnt alive atm n all i wana do is run one simple test.however iv started coding another wave handler in AppGameKit as i will need it later on

Native Technology
JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 12th Nov 2014 15:42
Analysis coming shortly...

-- 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 00:50
See new thread...

-- Jim - When is there going to be a release?

Login to post a reply

Server time is: 2024-11-25 11:51:39
Your offset time is: 2024-11-25 11:51:39