delabrcd / rockband-4-midi-drums Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hello, I was going through your README and you stated that the MIDI shield you recommend doesn't provide a +3.3v output. I was wondering if using a Step-Down Linear Regulator Module such as this one https://a.co/d/jeihS2C would work to remove the need to power the drum brain with two AA batteries.
First of all, thank you so much for putting this together! I have been looking for a way to use an electronic drum kit with my Xbox without having to spend an arm and a leg on an adapter, or having to learn hardware engineering ๐
I'm writing this issue to keep track of something I encountered while programming my Arduino board for the MadCatz drum brain.
The existing configuration for the Arduino doesn't seem to work with the Mad Catz drum brain.
I found out that there are two types of Rock Band 4 Drum brains. One is the PDP, which is the one this is configured for, and the other is MadCatz. I have the MadCatz drum brain and had to make some alterations to the code. I have a mess in a branch https://github.com/DrkCloudStrife/rockband-4-midi-drums/compare/master...DrkCloudStrife:rockband-4-midi-drums:madcatz-rb4-config?expand=1, and I'm looking into making this into a configuration that can be switched in the main.cpp
code. Maybe a struct or something, I have to read more about it.
The extra steps I had to do while troubleshooting were:
I want to clean up my branch to include these as options in the code. e.g.
// Compile code based on the drum brain type.
// 0 = PDP
// 1 = MadCatz
#define DRUM_BRAIN_TYPE 0
...
// Then where the code differs between brain types:
if (DRUM_BRAIN_TYPE == 0)
{
// Do something specific for PDP brain
}
else #maybe else if?
{
// Do something specific for MadCatz
}
However, I don't know if this will bloat the code... Another option was to simply use
// Enable if using MadCatz
# #define DRUM_BRAIN_MADCATZ
...
// Then where the code differs
#ifdef DRUM_BRAIN_MADCATZ
// only compile code for MadCatz
#else
// Only compile code for PDP
#endif
I will spend some time finding the best way to approach a more configurable solution without breaking your original implementation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.