[plugin] rex_JSMidiParser

Post your work in progress addons and get feedback

Post » Sun Apr 05, 2015 3:58 pm

Convert a midi binary data to JSON to get note events(note on/note off). -- It could be used to play midi.

See this demo first.
- sound effect and star sprite would be played/shown while note on.

A simple tap-tap game demo.
- click while sprite falling down the bottom blue line.


Document, plugin and sample capx are included.

Compare with MIDI plugin made by @blackhornet
- MIDI plugin could generate midi, but rex_JSMidiParser only could play note events.
- sound effect is controlled in events if using rex_JSMidiParser, i.e. user could use note events only without playing any sound. MIDI plugin plays sound in plugin.
- Project could have more than one rex_JSMidiParser object, for example - in tap-tap game demo, there are two rex_JSMidiParser objects, one is playing sound, the other creates sprites. MIDI plugin only could have one for each project.
Last edited by rexrainbow on Tue Apr 07, 2015 6:38 am, edited 1 time in total.
B
107
S
25
G
242
Posts: 4,387
Reputation: 136,966

Post » Sun Apr 05, 2015 4:08 pm

Cool 1, i love to handle midi with construct!
B
78
S
27
G
98
Posts: 193
Reputation: 54,779

Post » Wed Apr 08, 2015 10:35 am

It's awesome, but tap demo is not working!
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
78
S
21
G
19
Posts: 1,932
Reputation: 17,316

Post » Wed Apr 08, 2015 10:49 am

@megatronx

Tested the 2nd demo, it still works with a few waiting. I am not sure why the loading page is lagged.
B
107
S
25
G
242
Posts: 4,387
Reputation: 136,966

Post » Wed Apr 08, 2015 11:36 pm

@rexrainbow wow thats pretty cool, 1st demo works very good on chrome android, would also love to use midi, but how is the support for them in browsers, and how does it translate the original sound, it only supports basic midi devices available on client side, just not sure how it works really...
ImageImage
B
68
S
20
G
7
Posts: 820
Reputation: 9,878

Post » Thu Apr 09, 2015 12:07 am

@Vtrix

It plays sound by official audio plugin just like normal sound effect used in other cases.
B
107
S
25
G
242
Posts: 4,387
Reputation: 136,966

Post » Mon Jan 04, 2016 9:12 am

Update:

Fix bug while parse unsupported events, like sequencer specific event.
B
107
S
25
G
242
Posts: 4,387
Reputation: 136,966

Post » Mon Jan 04, 2016 11:19 am

rexrainbow wrote:Update:

Fix bug while parse unsupported events, like sequencer specific event.

thk alot
B
72
S
25
G
5
Posts: 89
Reputation: 7,275

Post » Mon Jan 11, 2016 7:16 am

totoyan wrote:
rexrainbow wrote:Update:

Fix bug while parse unsupported events, like sequencer specific event.

thk alot



!!!,OMG ,@zenox98 i'm very sorry for my mistaking operation, it is excited me when i know @rexrainbow have fix the bug for this plugin and i wanner to thks him immediately, pls forgive my foolish mistake and poor English, so how can i revoke it
B
72
S
25
G
5
Posts: 89
Reputation: 7,275

Post » Mon Jan 11, 2016 8:42 am

totoyan wrote:
totoyan wrote:
rexrainbow wrote:Update:

Fix bug while parse unsupported events, like sequencer specific event.

thk alot



!!!,OMG ,@zenox98 i'm very sorry for my mistaking operation, it is excited me when i know @rexrainbow have fix the bug for this plugin and i wanner to thks him immediately, pls forgive my foolish mistake and poor English, so how can i revoke it

@totoyan

If it was in error, then don't worry - just forget about it.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
129
S
29
G
77
Posts: 5,188
Reputation: 54,281

Next

Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests