Comments (3)
I think you're using the OPL3 class directly? When I wrote OPL3.cpp I intended it as a base for the OPL3Duo class, so I have not fully tested it stand alone.
- The
setChipRegister
for the OPL3 class was indeed missing and I have staged it locally for the upcoming update as
void OPL3::setChipRegister(short reg, byte value) {
chipRegisters[getChipRegisterOffset(reg)] = value;
write(reg >> 8, reg & 0xFF, value);
}
- For the
setChannelRegister
andsetOperatorRegister
of the OPL3 class I see I completely messed up here cause indeed it should not be(channel >> 8) & 0x01
! It can be something likebyte bank = (channel / CHANNELS_PER_BANK);
as in the OPL3Duo class.
from arduinoopl2.
Yes indeed. I am using OPL3 directly. I will try the suggestions, was already peeking at the OPL3Duo code, where they seem more appropriate.
from arduinoopl2.
Yes, that works. I'll PR it for good measure.
from arduinoopl2.
Related Issues (20)
- ArduinoOPL2 and Teensy HOT 1
- OPL2 via Serial on real computers. HOT 8
- Wrong pin definitions cause OPL3 Duo to produce clicks only
- Line out sounds good, speaker out has lots of noise HOT 11
- min / max macros in opl2.h cause issues when using opl2.h with other libraries HOT 4
- OPL2AudioBoard/MidiSynth example HOT 12
- OPL2 operates on a 4 MHz resonator instead of 3.59 MHz. HOT 2
- More information on instruments HOT 1
- Just a question HOT 4
- A lot of noise in headphones. HOT 5
- Sound issues when using serial USB OPL2 Board on Arduino Uno
- Piano board support. HOT 4
- STLs for board cases? HOT 1
- OPL3 Duo with OPL3 demotune hangs with Raspberry Pi HOT 6
- Pi connection numbers: GPIO or pins? HOT 1
- TeensyMidi example for OPL2 Audio Board fails to compile
- Serial issues communicating with DOSBox-X on Linux HOT 13
- More efficient vgm playback HOT 1
- Gerber files ? HOT 2
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 arduinoopl2.