Comments (5)
I think it should be noted that when run in an administrator command prompt and manually allowing more ram using the --max_old_memory thing makes it load much, much faster. In fact, I noticed without it the application actually ran out of memory as it used 2.6 GB to load it. I'll get a link ASAP
from midifile.
Discovering the concept of Black MIDI.
This project was not created with heavy performances in mind and the result you're getting is not surprising me.
Despite I think supporting that kind of MIDI file could be achieved, I won't do it since it would take a lot of time I currently do not have.
This project was just a PoC, it accidentally begun to be used by people despite not actively maintained. I'm still wondering why tbh ;).
For those unfamiliar with black MIDIs:
https://thump.vice.com/en_us/article/8q74wb/meet-the-15-year-old-prince-of-black-midi
Edit: Of course, would merge any PR allowing to play those files.
from midifile.
Thanks for introducing me to the "black MIDI" phenomenon. (Summary: So many notes that the sheet music view is mostly black.)
I think we should clarify our README's claim "What it does: • Read MIDI files" by adding "(very slow for huge/"black" files)".
What do you think?
Edit: @FireController1847 , could you provide a link to a free black MIDI so anyone trying to optimize can test it?
from midifile.
Oh, that's good to know. In that case the slowness most probably wasn't a problem with this module, but just swapping on a slow disk.
from midifile.
I actually have an SSD on this laptop 😂 But either way allowing more RAM fixed the issue. Here's a direct link to one of the Midi's.
from midifile.
Related Issues (20)
- Running status not allowed HOT 8
- Fix browser support badge/build HOT 1
- Incorrect path to webMIDIAPIShim in tests/index.html. Incorrect handling of midiOutput HOT 1
- Uncaught (in promise) TypeError: createParser is not a function HOT 1
- stream.end is not a function running example code HOT 3
- Fix dist build. HOT 8
- Reading MIDI track labels as String HOT 2
- Uncaught ReferenceError: MIDIFileHeader is not defined HOT 3
- Add Audio engine to play notes HOT 19
- Add more musical instruments
- midi file unsupported (apparently) HOT 6
- How to read a midi file to get the ArrayBuffer? HOT 2
- Please provide single-file version to use in browser (.js and .min.js) HOT 1
- Is the playTime of the lyrics in milliseconds? HOT 1
- Use correct pitch-bend range HOT 4
- Merge improvements (pitch bend, `parseSong()`, ...) from `webaudiofont` HOT 10
- Argument missing HOT 1
- variable declared twice HOT 4
- Documentation for writing MIDI files HOT 4
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 midifile.