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 / WAV file tester

Author
Message
JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 12th Nov 2014 22:30
Lot's of people (including me) have accidentally been tripped up by rendering a WAV file out of a sound program in a format that doesn't work on mobile devices.

Attached is a small program that will scan the wav files in a folder (typically /media) and report. If they are unlikely to work it will add some stars to the end of the entry in the list.

You can run it straight out of the zip. It has no dependencies.

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

Attachments

Login to view attachments
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 13th Nov 2014 09:23
Thanks Jim, that's a handy tool. They should ship it with AppGameKit (by permission of course)!
JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 13th Nov 2014 10:42
Thanks!

Would it be even more useful if I could offer built-in conversion? I have all the tools to do this.

In fact I could have it save the files in memblock format for protection if necessary, including encryption.

-- Jim - When is there going to be a release?
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 13th Nov 2014 13:42
Well that would just be showing off... but yes it would be very useful
JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 13th Nov 2014 14:13
AGK needs more support tools. Half the postings in here could be eliminated with a few programs to run over the data and do a sanity check.

I know sweet-FA about sprites etc - but a little tool by those who do know which could run over a folder and report that image x is not a power of two or is an unsupported format could save lots of grief for users.

Audio I do know about, so I thought I could help. For example, Audacity loves to use 32-bit floating point samples. They do NOT work on Android. But I can re-sample them to produce 8 or 16-bit files which will work.

If more than 10 people vote here to have that facility I will provide it.

-- Jim - When is there going to be a release?
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 13th Nov 2014 17:50
Vote 1

I'd also be happy to write or add to a tool that checks media for power of 2 sizes etc. I could write this as a dll to add into the build for your tool or you could write yours as a dll (.Net preferably) for a tool I could write.

I write c# windows forms plugins for a living so maybe if you would rather write some simple public methods I could access we/I could start building up some kind of toolkit in an easy to use application?
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 13th Nov 2014 17:56
Vote #2

Quidquid latine dictum sit, altum sonatur
JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 13th Nov 2014 18:49
I use Delphi for this, not .NET. But I can easily put it in a DLL. What calling convention do you need? stdcall or cdecl ?

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

Login to post a reply

Server time is: 2024-11-25 11:31:55
Your offset time is: 2024-11-25 11:31:55