Comments (4)
https://en.wikipedia.org/wiki/Scientific_pitch_notation suggests that C4 is always middle C, which should be in line with what jsmidgen
produces. If jsmidgen
isn't doing that, then yes this is a bug :-)
from jsmidgen.
On second thoughts I m not entirely sure this is an issue. Ableton Live (and presumable Garage Band too) considers C3 as the middle C. The only issue then is, what do most people do with the MIDI files generated using jsmidgen
? If they are gonna use a software to make use of the MIDI files, then they are gonna be thrown off by this. Should we have a mechanism to adjust middle C based on user preference?
from jsmidgen.
Agreed. And I spoke to a musician friend and he too confirmed this, but there seems to be this second school of thought when it comes to music software. For example even in Propellerhead Reason's NNXT sampler C3 is the middle C. I dont have FL Studio, but looks like there too its not C4.
The MIDI (Musical Instrument Device Interface) standards unfortunately do not designate octaves. They just specify the number 60 as the middle C leaving the octave itself to the implementors. My concern is toward the users of this lib who will import the generated MIDI files in to softwares. I m one of them :)
from jsmidgen.
Confirming C4 as the middle octave.
from jsmidgen.
Related Issues (20)
- How to add note pauses? HOT 3
- License file
- Question: Writing file directly from MIDI device HOT 5
- Can jsmidgen work in the browser ?? HOT 2
- Support for MIDI Track Names ??? HOT 2
- Overlapping notes HOT 1
- set tempo not working?
- Drums HOT 3
- timeSignature in header and controlChanges in Tracks missing after encoding
- translateTickTime() hangs when provided with wrong input
- Large MIDI files cause `RangeError: Maximum call stack size exceeded` when writing to bytes
- What's the max of duration and time of the note?
- How to apply bending for notes?
- Is that a bug with the durations in noteOn? HOT 1
- How to get notes from MIDI file?
- How to set sustain-on mode?
- Unable to save .mid file as blob HOT 1
- Allow Add System Exclusive Messages to Track HOT 5
- [feature request] - jsmidgen - idea for a project based in jsmidgen (automatic music generation)
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 jsmidgen.