Giter Site home page Giter Site logo

yarmyarch / midi-in-javascript Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 1.0 7.07 MB

Creating midi files, soundbanks, sequences with pure javascript and soundAPI based on html5.

License: GNU General Public License v2.0

JavaScript 99.94% ActionScript 0.06%

midi-in-javascript's People

Contributors

yarmyarch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

276970376

midi-in-javascript's Issues

To do: load sf2 files with file API

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/

Events conflict

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

TIck in an event should be the dalta time from "The last event", but not from "The start of the Sequence".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.