Comments (4)
I think you are right. The code in midi.c Line #80 checks status byte and skips further processing.
if( MIDI_IS_STATUS(dataRX) ) // System Real Time message
I would appriciate for a patch. I do not have any DJ device, so I am not sure I can fix it fast.
I have found Table 4-2 in MIDI 1.0 spec with Examples of parsed events (page 17). It would be great if you show your 0xF8-command handler.
from midi2usb.
Here is some thoughts....
case MIDI_CLOCK: case MIDI_TICK: case MIDI_START: case MIDI_CONTINUE: case MIDI_STOP: case MIDI_ACTIVE_SENSE: state = MIDI_STATE_COMMAND_ONLY; break;
` else if ( state == MIDI_STATE_COMMAND_ONLY )
{
// Put MIDI message into the USB stream (zero padding).
pUsbBuffer->pUSB_MIDI_Buffer[pUsbBuffer->nUSB_MIDI_Buffer_Count++] = 0x0f; // cable 0, single byte message
pUsbBuffer->pUSB_MIDI_Buffer[pUsbBuffer->nUSB_MIDI_Buffer_Count++] = dataRX; // cmd
pUsbBuffer->pUSB_MIDI_Buffer[pUsbBuffer->nUSB_MIDI_Buffer_Count++] = 0; // no data
pUsbBuffer->pUSB_MIDI_Buffer[pUsbBuffer->nUSB_MIDI_Buffer_Count++] = 0;
state == MIDI_STATE_IDLE;
}`
Sorry, best I can do for now.
from midi2usb.
Thank you for your support. I have made changes and added Real-Time message handler. It would be great if you or someone else could test new release.
from midi2usb.
Sorry, no longer actively using library and unable to test / input further. Wish you luck.
from midi2usb.
Related Issues (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 midi2usb.