RyoKosaka / HelloDrum-arduino-Library

This is a library for making E-Drum with arduino.
https://open-e-drums.com/
MIT License
244 stars 61 forks source link

Latency issue #29

Open rendel18 opened 3 years ago

rendel18 commented 3 years ago

Hi Sir,

I have latency issue using lcd shield kit and code for Smartwav2. But my other midi controller device has not latency even kat ktmp1 multipad to smartwav has no latency. Im using DIN 5pin midi adafter not usb midi. Thanks

RyoKosaka commented 3 years ago

I'll be getting my smartWAV2 soon. Haven't been able to check it out yet. If you send MIDI signals directly via the DIN5 pin, you do not need to set the baud rate.

Just

    #include <MIDI.h>
    MIDI_CREATE_DEFAULT_INSTANCE();

    void setup()
    {
        MIDI.begin(); 
    }
rendel18 commented 3 years ago

Just only midi.begin() ? not midi.begin(10) or serial.begin 31250 ?

On Thu, Dec 10, 2020, 9:33 PM Ryo Kosaka notifications@github.com wrote:

I'll be getting my smartWAV2 soon. Haven't been able to check it out yet. If you send MIDI signals directly via the DIN5 pin, you do not need to set the baud rate.

Just

#include <MIDI.h>
MIDI_CREATE_DEFAULT_INSTANCE();

void setup()
{
    MIDI.begin();
}
```

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RyoKosaka/HelloDrum-arduino-Library/issues/29#issuecomment-742523428, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIAED3SQ2M6UTB5R57MRDTDSUDEZFANCNFSM4UPVRL4Q .

RyoKosaka commented 3 years ago

Yes. MIDI.begin(10); This "10" is MIDI channel. And, if you not set this value, the MIDI signal is sent to all channel. if you want to send single channel, use it.

and you dont need set Serial.begin(31250). because MIDI library set baudrate 31250 inside library.

rendel18 commented 3 years ago

I hope you maximize the potential ability of smartwav2 and create a high end module without pc. I have test it with nitro alesis module and its works great. I insert sounds from ezdrummer 2 kits wav sound and import to sd card. But one thing is left out. the choke and variable hihat cc also dual and triple cymbals. I think thats the module midi command. If you creat it using your arduino minimal kit its a big factor to all diy world. Hope and best good luck. Thanks.

On Thu, Dec 10, 2020, 9:33 PM Ryo Kosaka notifications@github.com wrote:

I'll be getting my smartWAV2 soon. Haven't been able to check it out yet. If you send MIDI signals directly via the DIN5 pin, you do not need to set the baud rate.

Just

#include <MIDI.h>
MIDI_CREATE_DEFAULT_INSTANCE();

void setup()
{
    MIDI.begin();
}
```

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RyoKosaka/HelloDrum-arduino-Library/issues/29#issuecomment-742523428, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIAED3SQ2M6UTB5R57MRDTDSUDEZFANCNFSM4UPVRL4Q .

RyoKosaka commented 3 years ago

Yes. I want to try it. By the way, how did you export Wav files from EZdrummer2?

rendel18 commented 3 years ago

This trick is only allow to export sound wav in any drum software by using SDSE software by lustark. Purchase it license to export fullkit sounds. Check their website.

On Thu, Dec 10, 2020, 10:23 PM Ryo Kosaka notifications@github.com wrote:

Yes. I want to try it. By the way, how did you export Wav files from EZdrummer2?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RyoKosaka/HelloDrum-arduino-Library/issues/29#issuecomment-742552057, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIAED3WYC2GQG3B2235GBK3SUDKXXANCNFSM4UPVRL4Q .

rendel18 commented 3 years ago

Hi Ryo,

How are you?

Do you have smartwav2 already?

On Thu, 10 Dec 2020 at 10:26 PM RenDrix rendelbello85@gmail.com wrote:

This trick is only allow to export sound wav in any drum software by using SDSE software by lustark. Purchase it license to export fullkit sounds. Check their website.

On Thu, Dec 10, 2020, 10:23 PM Ryo Kosaka notifications@github.com wrote:

Yes. I want to try it. By the way, how did you export Wav files from EZdrummer2?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RyoKosaka/HelloDrum-arduino-Library/issues/29#issuecomment-742552057, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIAED3WYC2GQG3B2235GBK3SUDKXXANCNFSM4UPVRL4Q .

rendel18 commented 3 years ago

hello sir

On Thu, Mar 11, 2021, 4:19 PM RenDrix Drums, @.***> wrote:

Hi Ryo,

How are you?

Do you have smartwav2 already?

On Thu, 10 Dec 2020 at 10:26 PM RenDrix @.***> wrote:

This trick is only allow to export sound wav in any drum software by using SDSE software by lustark. Purchase it license to export fullkit sounds. Check their website.

On Thu, Dec 10, 2020, 10:23 PM Ryo Kosaka @.***> wrote:

Yes. I want to try it. By the way, how did you export Wav files from EZdrummer2?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RyoKosaka/HelloDrum-arduino-Library/issues/29#issuecomment-742552057, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIAED3WYC2GQG3B2235GBK3SUDKXXANCNFSM4UPVRL4Q .

topogigio commented 5 months ago

Hi Ryo, I have 16ms latency with midi din using esp32 at 240mhz, any suggestions how to reduce it? I also have enabled BLE and wi-fi (for parameter configuration, only with client connected) I try to disable BLE but latency is still the same.