Comments (1)
Unfortunately, if multiple note events come through on the same channel, there's no additional information to differentiate those notes. That is, there's no reliable way to e.g. always have the lowest note assigned to one drive and the highest to another. By default, each note will just immediately override the other, and you'll get one (sorta randomly selected) note of the chord.
The best generic solution I've come up with is sending incoming notes round-robin to the available drives (there's an example of this already implemented if you selected "Round Robin" from the SubAddress scripts dropdown for that channel's mapper (on the lower part of the GUI)). Basically each incoming note will be played on the next available drive (1->2->3...->8->1->2...), and any note-off events will turn off any drives currently playing that note (since there's no way to tell for sure which note-on event the note-off event correlates to). You can see the implementation of nextRoundRobinSubAddress
in this file.
The upside with this strategy is that every note of a chord (up to the number of drives you have) will get played simultaneously. The downside is that the drives don't have the same sort of consistency as with assigned SubAddresses so the notes sort of chase eachother around the setup (which I guess can be kind of fun too).
In theory it should be possible to use track information to separate notes as well (though this diverges a bit from the chord question), and I've got issue #9 open to track that, but it's a tricky one.
If you decide to try to implement something new, I'm happy to provide any advice that would be helpful. Good luck!
from moppy2.
Related Issues (20)
- Maintained HOT 21
- Description of the device HOT 2
- DAW Midi Stop
- Pinout for 74HC595 using ESP8266 HOT 2
- ...Android 🙈 HOT 4
- Windows Java Runtime Error HOT 2
- MoppyGUI wont connect to arduino HOT 2
- Floppy drive doesn't play music or startup tone HOT 13
- Compilation error: 'TIMER_RESOLUTION' was not declared in this scope HOT 7
- Nothing happens HOT 1
- code not compilation HOT 4
- Notes per channels HOT 1
- MoppyControlGUI.bat crashes HOT 10
- Default Sub-Address Script is Wrong
- Флоппи HOT 1
- ControlGUI sends mdi data to serial, board serial led indicates data comes but the floppy motor doesn't move HOT 10
- Startup Sound should default to true HOT 1
- ESP32 support HOT 2
- Issue with MoppyControlGUI HOT 3
- Using without GUI ? HOT 7
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 moppy2.