[PLUGIN] jSFXR

Post your completed addons to share with the community

Post » Wed Mar 25, 2015 1:24 pm

***For unknown reasons, previous topic of this plugin was deleted. I post it again and attached the demo***
Image

Good news everyone! This is jSFXR plugin (javascript port of SFXR).
There is no longer need to store sounds in WAV. You can generate sound on the fly with any parameters that you want.
But it strongly recommended to cache long or frequent sounds, because frequent sound generation can slow down application.

Plugin Link


Actions:

→Play sound - generate & play sound with simple custom parameters on the fly .
→Play Pro sound - generate & play sound with advanced custom parameters on the fly.
→Play CSV string - generate & play sound from CSV string on the fly. You can copy string from as3sfxr.

→Cache sound - cache sound with simple custom parameters.
→Cache Pro sound - cache sound with advanced custom parameters.
→Cache CSV string - cache sound from CSV string. You can copy string from as3sfxr..
→Play cached - play cached sound by tag.

→Generate random sound - generate classic SFXR sound from preset (Pickup Coin, Laser/Shoot, Explosion, Powerup, Hit/Hurt, Jump, Blip/Select)

→Cache octave - cache octave with custom parameters.
→Play cached note from octave - play note from cached octave.

Expressions:

→LastSoundUrl - Returns last played sound Url in Base64 format.

Image

11/10/2016 UPDATE
Actions:
Play base64 string - Play sound in base64 format. (NOTE: you can store generated sounds with variables in base64 strings, then play it with this action.)
Last edited by Oxnard on Tue Oct 11, 2016 7:36 pm, edited 11 times in total.
B
11
S
3
Posts: 13
Reputation: 717

Post » Wed Mar 25, 2015 2:33 pm

@newt, @shinkan, @Ludonaut, @emartransformo, @spongehammer, @justifun, @edisone, @totoe
Plugin here now. Demo included.
B
11
S
3
Posts: 13
Reputation: 717

Post » Wed Mar 25, 2015 2:40 pm

@oxnard so many tnx for kindness and quick response ;)
B
162
S
39
G
13
Posts: 231
Reputation: 18,255

Post » Wed Mar 25, 2015 3:05 pm

Weird that the topic is gone.
Im sure @Kyatric will update the forum plugin list accordingly.

Also demo url is off a bit.
Image ImageImage
B
164
S
49
G
138
Posts: 7,946
Reputation: 91,858

Post » Wed Mar 25, 2015 4:13 pm

@newt, Fixed =)
B
11
S
3
Posts: 13
Reputation: 717

Post » Wed Mar 25, 2015 5:40 pm

@Oxnard thanks for the heads up, I was wondering what happened to that thread.
B
20
S
4
G
1
Posts: 12
Reputation: 1,015

Post » Wed Mar 25, 2015 6:23 pm

URL in the list fixed.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
267
S
95
G
66
Posts: 7,210
Reputation: 73,086

Post » Wed Mar 25, 2015 7:05 pm

Thanks kyat, and thanks oxnard for the plug.
I hope we can use it on mobiles at some point.
Image ImageImage
B
164
S
49
G
138
Posts: 7,946
Reputation: 91,858

Post » Thu Mar 26, 2015 2:09 pm

well..the demo is pretty cool...even if i was expecting a downloadable one
B
162
S
39
G
13
Posts: 231
Reputation: 18,255

Post » Sat Mar 28, 2015 7:57 pm

Just tested on Safari Ipad in preview, and its working now. I guess just the "save to home screen" preview doesn't work.

Only other thing I could ask for is to get a csv string for random.
Getting it from as3sfxr is fine though.
Image ImageImage
B
164
S
49
G
138
Posts: 7,946
Reputation: 91,858

Next

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 2 guests