yarmyarch / midi-in-javascript Goto Github PK
View Code? Open in Web Editor NEWCreating midi files, soundbanks, sequences with pure javascript and soundAPI based on html5.
License: GNU General Public License v2.0
Creating midi files, soundbanks, sequences with pure javascript and soundAPI based on html5.
License: GNU General Public License v2.0
Well it's easy loading files with the file API, however it would be hard translating those byte arries into sound bank.
See implements in java here:
----Playing a soundfont:
http://www.docjar.com/html/api/com/sun/media/sound/SF2Instrument.java.html
http://www.docjar.com/docs/api/com/sun/media/sound/ModelPerformer.html
http://www.docjar.com/html/api/com/sun/media/sound/SoftChannel.java.html
----Start from http://www.docjar.com/html/api/com/sun/media/sound/SoftChannel.java.html @ line 512, the noteOn function.
Loading a sf2 file:
----Polyphone:
http://polyphone.fr/
----libraries in C++:
http://freepats.zenvoid.org/sf2/
A comment wrote "Events could be departed via their tick and type. if two events holding the same tick & type, we assume them the same event."
Should it be like that? For instance I might want to note on some a channel for triple times at the same time. All those events might share the same tick & type.
@line 66 in Track.js, the function setEvent.
TIck in an event should be the dalta time from "The last event", but not from "The start of the Sequence".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.