Comments (3)
It is possible. What makes it a bit "involved" is knowing what sound to make available.
The app uses the MIDI parsing module of Tone.js to manipulate the data. So adding in tone.js to add a sound module is a natural step.
However, I believe Tone.js is a synth (ie. oscillators, envelopes, etc.). I think what you are looking for is a General MIDI implementation (something like midi-js-soundfonts) so a user can choose drums, piano, or whatever sound available to play the notes.
Unfortunately, I do not have a lot of bandwidth right now to make changes. Feel free to fork and see if you could integrate a General MIDI module and feed it the notes (you might need to detect what MIDI channel the original notes are on and alter it so you can play the notes on screen - ie. channel 10 to play drums, etc.)
Take note though that the app is really meant as a quick and dirty tool to add some sort of humanization. It is barely noticeable unless you exaggerate the parameters. It is really intended for softening repeated notes (ie. humanizing snare fills in 16th notes, or to simulate a laid back drummer, etc.).
The intended workflow would be to export a MIDI track from your DAW, upload to the app to humanize, and then import it back into your DAW to see the results.
from midi-humanizer-app.
Makes sense, thanks for the response. I'm not the best coder hah. A question about the timing, are the milliseconds a range or is the amount exact? For instance if I had timing set to 70ms, is it a range from 0s to 70s or only 70s throughout?
I'm trying it out with midi files from my drum machine, it works really well actually.
from midi-humanizer-app.
It is a range. As per your example, if you set timing to 70ms, it is actually a range of random offset values from -70ms to +70ms applied to every note (I actually had to take a peek at the code to confirm this
This is also true for the velocity parameter.
You can see the meat and potatoes here: https://github.com/atamocius/midi-humanizer-app/blob/master/src/js/logic/Humanizer.js
I am glad it is of use to people other than myself
from midi-humanizer-app.
Related Issues (1)
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 midi-humanizer-app.