You can also try to capture the output using the serial monitor on the computer (avoid all the MIDI) and if the message is there instantaneously, you knoew the delay is after that in the MIDI software chain on the PC. Try what is there now, verify that you still have a problem and then give us more details. In some cases that could have caused delays until the counter wrapped around again. Your code also used int for a millis() value instead of unsigned long, so I changed that. Uint8_t piezo = įor (uint8_t i=0 i threshold, but I imagine that you don't mean that. I have created a function that does everything your code was repeating once to avoid cut an paste and make things more consistent. I have tried to simplify the code to make it easier to debug. This latest version houses a powerful sound engine fusing analogue and physical modeling with samples of electronic kits, acoustic drums and user sample import capability to a step sequencer driven by eight velocity/ pressure sensitive pads. I tryed another SW with Battery 3 ( Maple Virtual Midi Cable as virtual midi port and Hairless MIDISerial Bridge as converter ) but ther is still delay. Virtual Octapad For Pc: software, free download. It has 12 playable drum pads and 40 different high-quality drum samples. With virtual MIDI port loopbe1, Serial - MIDI converter V2D (by Mark Demers - ) and Battery 3 as sample player. DrumPads is a virtual drum kit for Windows that lets you play drum sounds using your keyboard, mouse, or touch screen. Void MidiTX(unsigned char StatusByte, unsigned char Note, unsigned char Val) I have simple MIDI drums based on piezo sensors.
0 Comments
Leave a Reply. |