Giter Club home page Giter Club logo

send-sds's People

Contributors

briansorahan avatar bsl avatar jwakely avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

send-sds's Issues

Utility does not properly handle WAIT when sending file.

In the method send_file, when get_response returns WAIT -- the packet number is increased regardless and the next packet is sent. The unit is then one packet behind and the ACK that is received from it is then never handled correctly by the utility.

Utility gets confused when unexpected packets are returned on MIDI bus

I ran into two issues with my E-my ESi-32 on firmware 2.10, both which seem to confuse the utility and break sending of samples. Of course the problem lies with the hardware unit, but it can be solved in software.

The issues that I observed are:

  • When initiating a MIDI Sample Dump, it sends a Time Signature packet that confuses the utility. The length of this Time Signature packet is variable, yet always larger than SDS_RESPONSE_LENGTH, so that breaks the utility's logic.
  • The unit sends corrupted SysEx packets (I observe multiple Start-Of-SysEx bytes, like F0...F0...F7). This issue can be mitigated by dropped what was read so far upon detecting a new F0 (SOX) while waiting for an F0 (EOX)

Utility blocks when MIDI device is in use by another process

The utility blocks for no apparent reason when the MIDI device is in use by another process. The culprit seems to be line 30 in midi.c:
r = snd_rawmidi_open(&handle_in, &handle_out, device, 0);

If SND_RAWMIDI_NONBLOCK is set as the flags, then the utility properly exits with a human readable error:
r = snd_rawmidi_open(&handle_in, &handle_out, device, SND_RAWMIDI_NONBLOCK );

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.