AudioTest

Show off your games, demos and other (playable) creations.
Post Reply
yamahara
Prole
Posts: 5
Joined: Sun May 15, 2016 3:35 am
Contact:

AudioTest

Post by yamahara »

Hello.

It's AudioTest.
Attachments
AudioTest.love
(25.1 MiB) Downloaded 203 times
User avatar
zorg
Party member
Posts: 3441
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: AudioTest

Post by zorg »

Hi!
It is a neat program, but there is an issue with it;

I believe that, whenever you start playing a track that you have not played before, it creates a SoundData for it, which means that RAM usage will grow large. I closed it when it approached 1 GB.
If the application only creates those for the FFT, and streams the songs otherwise, then they should be made free when the user starts playing another song. That way, the size in RAM will be kept small.
If the application doesn't stream the songs, then it should do so.

Sorry, but I am unfamiliar with cocos, so i couldn't find the exact cause of this in such a short time!
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
yamahara
Prole
Posts: 5
Joined: Sun May 15, 2016 3:35 am
Contact:

Re: AudioTest

Post by yamahara »

Thank you, zorg.

I'll reconsider a source of audio!
User avatar
zorg
Party member
Posts: 3441
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: AudioTest

Post by zorg »

No problem, i hope i explained it well! :3
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
User avatar
Sulunia
Party member
Posts: 203
Joined: Tue Mar 22, 2016 1:10 pm
Location: SRS, Brazil

Re: AudioTest

Post by Sulunia »

Can't add anything else but say it looks awesome.
Only issue was the memory one cited by zorg, but i guess you know that hehe.
Good job!
Don't check my github! It contains thousands of lines of spaghetti code in many different languages cool software! :neko:
https://github.com/Sulunia
yamahara
Prole
Posts: 5
Joined: Sun May 15, 2016 3:35 am
Contact:

Re: AudioTest

Post by yamahara »

Thank you, Sulunia.

I use your github library luafft, love this!
User avatar
Sulunia
Party member
Posts: 203
Joined: Tue Mar 22, 2016 1:10 pm
Location: SRS, Brazil

Re: AudioTest

Post by Sulunia »

It wasn't exactly a library, it was more of a tutorial of sorts.

But still, glad it helped out! Means it served it's purpose.
Don't check my github! It contains thousands of lines of spaghetti code in many different languages cool software! :neko:
https://github.com/Sulunia
User avatar
pgimeno
Party member
Posts: 3548
Joined: Sun Oct 18, 2015 2:58 pm

Re: AudioTest

Post by pgimeno »

Lovely player! Good job.

It does not leak memory, it just seems to cache everything. Going back doesn't increase memory usage.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 62 guests