Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latency issue #29

Open
rendel18 opened this issue Dec 6, 2020 · 9 comments
Open

Latency issue #29

rendel18 opened this issue Dec 6, 2020 · 9 comments

Comments

@rendel18
Copy link

rendel18 commented Dec 6, 2020

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
Copy link
Owner

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
Copy link
Author

rendel18 commented Dec 10, 2020 via email

@RyoKosaka
Copy link
Owner

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
Copy link
Author

rendel18 commented Dec 10, 2020 via email

@RyoKosaka
Copy link
Owner

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

@rendel18
Copy link
Author

rendel18 commented Dec 10, 2020 via email

@rendel18
Copy link
Author

rendel18 commented Mar 11, 2021 via email

@rendel18
Copy link
Author

rendel18 commented Apr 8, 2021 via email

@topogigio
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants