[Request] FlodJs Mod,XM music player

Post your work in progress addons and get feedback

Post » Tue May 13, 2014 7:41 pm

A player for amiga tracker audio formats

It's already in .js :
http://www.photonstorm.com/flod
https://github.com/photonstorm/FlodJS

but I find it all rather arcane. Anyone who is knowledgeable enough to make it into a Construct 2 plugin?
B
28
S
12
G
4
Posts: 193
Reputation: 4,581

Post » Tue May 13, 2014 9:16 pm

Great idea, I would also love to see this as a plugin.

OGG/M4A audio files are by far the heaviest assets in most projects. This could help shrink the size of projects down quite a bit, and possibly save a lot of traffic for those living on dodgy web hosting.
B
20
S
4
G
1
Posts: 12
Reputation: 1,015

Post » Mon Nov 17, 2014 10:26 am

This would be great!
B
68
S
23
G
9
Posts: 172
Reputation: 7,376

Post » Mon Nov 17, 2014 12:16 pm

Two things, a tracker is going to be a pretty big tax on the system, so how well does it do, and can't you find something thats not donationware?
Image ImageImage
B
169
S
50
G
174
Posts: 8,331
Reputation: 110,806

Post » Mon Nov 17, 2014 5:27 pm

I can't find a working demo of flodjs in action.
I did find chiptune.js which seems to only use about 10% cpu in their demo on my system.

I'm not crazy about writing plugins as the workflow to me is very tedious, but here's a test capx using the library. At the very least it allows me to see how capable the library is before wrapping it into a plugin.

So far it loads the library and you can load and play music files once ReadyToPlay is 1. But anyway it gives something to play around with.
You do not have the required permissions to view the files attached to this post.
B
92
S
32
G
110
Posts: 5,295
Reputation: 71,501

Post » Mon Nov 17, 2014 5:53 pm

Thats not bad, a lot less jerky than the few midi libs I tried.
No go for Ie, and Opera, but it loaded, and played well on the Ipad.
Given the size, That alone is more than enough to make it feasible for mobile.
Image ImageImage
B
169
S
50
G
174
Posts: 8,331
Reputation: 110,806

Post » Mon Nov 17, 2014 6:16 pm

It should work with any browser that supports the web audio api.

Found another js lib that performs a bit better but only plays mod files.
https://github.com/jhalme/webaudio-mod-player
It provides these js commands
Code: Select all
player.load(url)
player.play()
player.pause()
player.stop()
player.jump(step)
player.setrepeat(true or false)


Edit: for further reference here is a list of js mod player libs:
http://www.html5gamedevs.com/topic/3620 ... e-formats/
You do not have the required permissions to view the files attached to this post.
B
92
S
32
G
110
Posts: 5,295
Reputation: 71,501

Post » Mon Nov 17, 2014 10:23 pm

One word! Awesome! i really hope someone can make a plugin with this!
Plays perfect by the way.. No cpu usage here it seems!
B
37
S
9
G
8
Posts: 541
Reputation: 8,554

Post » Wed Nov 19, 2014 10:22 am

@R0j0hound awesome

lame little demo:
http://www.ize.rocks/c2/oldschool/ :D
B
33
S
6
G
7
Posts: 339
Reputation: 7,426

Post » Wed Nov 19, 2014 2:39 pm

It would seem to solve a lot of problems.
I remember CC had a plug to play mods as well.
Any thoughts on an official plug @ Ashley?
Image ImageImage
B
169
S
50
G
174
Posts: 8,331
Reputation: 110,806

Next

Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests