Coder Social home page Coder Social logo

Comments (3)

mojca avatar mojca commented on May 22, 2024

I cannot check whether it works "with any hardware midi device" (I only have an Arduino), but I'm thinking of doing the reverse test first: try to open a serial connection and send some messages from RPi, while measuring the rate with oscilloscope. Once that gets confirmed, test in the other direction.

That second test sounds a bit more tricky to me because the messages might get interpreted correctly even at a slightly wrong baud rate settings.

By reading #24 it looks like one might have to verify this on:

  • various Debian versions
  • various RPi models (at least zero, 2B, 4)
  • maybe both 32-bit and 64-bit(?)
  • using both serial and USB connection
    and I'm not sure if I can cover all combinations of them, but I can try some. I won't have hardware access before the weekend (and no hardware + oscilloscope combination before next week).

When things broke for me, it might be that it was a result of some mixture of apt-get update && apt-get upgrade, switching between RPi 2B+ and RPi4, ...

What's the oldest OS that you want to target?

On https://www.raspberrypi.com/software/operating-systems/ there is a link to Debian 11 2022-04-04-raspios-bullseye-armhf-lite.img.xz, but your scripts are currently pointing to Debian 10.

from samplerbox.

josephernest avatar josephernest commented on May 22, 2024

With oscilloscope it might work, and then finally not work on a real Roland, Yamaha synth, etc. So I'll do this test one of these days with real synthesizers, to be sure everything works without the 38400 baud hack :)

from samplerbox.

rolfmeurer avatar rolfmeurer commented on May 22, 2024

Python script MIDI IN via SERIAL PORT is very poor. Running status is not considered, so most keyboards produce stuck notes. The Python script then accepts neither NOTE OFF as a NOTE ON message with Velocity=0 nor NOTE OFF as a 0x8n message

from samplerbox.

Related Issues (20)

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.