Comments (2)
good suggestions!
first, regarding protracker mod support I already have this. I'm using libxmp (ported to webassembly), and there's an example of creating an amiga protracker module here:
https://petersalomonsen.com/webassemblymusic/livecodev2/?gist=6ba8fd149e8bee48a37281ba02cfca45
MusicXML / MusicJSON should be quite possible to support for the mode that uses midi ( https://petersalomonsen.com/articles/javascriptmidiprogramming/jsmidiprogramming.html ), both importing and exporting. That would improve interaction with other tools for sure., and I guess by supporting those one could also make use of verovio to render the scores.
from javascriptmusic.
Exactly and if you replace whatever Verovio is doing that cannot handle complex scores with your web assembly synth, it will be more responsive and handle complex scores better than https://verovio.humdrum.org/.
libxmp (ported to webassembly) will sound better yet if you want to convert (mod, xm, s3m, it) to MusicXML https://github.com/martincameron/micromod has 2 C++ implementations for mod & xm files playing and converting to wave https://github.com/martincameron/micromod/tree/master/micromod-c
https://github.com/martincameron/micromod/blob/master/micromod-c/mod2wav.c
the hint is to use static int key_to_freq( int key, int c2rate)
the ( int key, int c2rate ) is the data for the midi channel.
& https://github.com/martincameron/micromod/tree/master/ibxm-ac
https://github.com/martincameron/micromod/blob/master/ibxm-ac/xm2wav.c
To solve the problem of manual association of each track to a midi channel which is not as standard as midi files like in https://github.com/musescore/MuseScore/blob/master/tools/miditools/smf2xml.cpp look at https://github.com/przem360/score2tracker Python3 script to understand the roundtrip from MusicXML to 4-channels MOD
https://github.com/craigsapp/humextra/tree/master/cli is very useful for CLI tools converting between formats.
Using https://developer.mozilla.org/en-US/docs/WebAssembly/C_to_wasm you can use all of the converters above and call them from your implementation.
I would love to do this meself if you can walk me thru your implementation.
from javascriptmusic.
Related Issues (9)
- Great experiment! HOT 11
- Licensing HOT 1
- Questions! (Btw, this project is awesome!!) HOT 3
- Feedback, features propositions, more questions (time, duration, seeking, audio samples, etc) HOT 22
- Writing VST and native Audio plugins in AssemblyScript? HOT 2
- new related project HOT 8
- possible different or additional license? HOT 7
- Fantastic project ... and a few questions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javascriptmusic.