Comments (1)
In the top of the MoppyPlayer.java file, there is a large array of micro-second periods that correspond to their MIDI-note equivalent. For example, a C4 is MIDI note 60, so index 60 of that array contains the period for C4.
A period of 0 is treated as a special-case and turns the drive off (i.e. the drive doesn't play a note when you tell it to play at period 0). As you see in the array, notes outside of the supported range are just mapped to 0, so the drives stay off for those notes. If you'd like to try playing with additional notes, all you need to do is fill in the missing parts of the array with the appropriate period (in micro-seconds, don't forget!).
from moppyclassic.
Related Issues (20)
- Serial connect issue (libNRJavaSerial.dll) HOT 2
- Utilize headbanging HOT 5
- PinMode(13, OUTPUT) in Arduino code is used twice HOT 1
- To anyone who wants to start using Moppy quick HOT 1
- MIDI Keyboard not working HOT 2
- Scanner Motor / Arduino HOT 3
- Monitor and application, application small. Please Help HOT 1
- What am I doing wrong? HOT 3
- L298N H Bridges, 2 good scanners but no skill HOT 2
- Moppy And Bluetooth HOT 2
- Moppy Crashes when opening port HOT 1
- Using Arduino Leonardo built into Lattepanda HOT 1
- Converting Moppy to stepper motors HOT 1
- Having issues with midi channels HOT 2
- Can't select channels -- Interface issue? HOT 3
- Please Don't Delete Moppy 1.0 (b1e55ad) HOT 2
- MoppyDisk Crashes while connecting HOT 1
- Arduino code crashing MoppyDesk? HOT 1
- when i want to connect to the arduino using moppy the aplication closes HOT 3
- Floppy do not working HOT 19
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 moppyclassic.