Comments (3)
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.
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.
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)
- Volume control with piano fader HOT 1
- New Feature: jack support HOT 1
- GPIO ports HOT 1
- Not Working - "ImportError: No module named sounddevice" HOT 5
- Support for mp3, flac, ogg, etc? HOT 1
- Question about audio quality with usb audio card HOT 1
- Python3 Support HOT 3
- Midi - Channel - using only one channel in Samplerbox HOT 1
- New pi (2019) fails to boot HOT 2
- Invalid audio device #2 HOT 1
- ModuleNotFoundError: No module named 'sounddevice' HOT 2
- little app to add sample markers to your wave files HOT 1
- Cannot change program without analog entry HOT 1
- Random (rare) issues with alsa library
- Last Python2 release HOT 2
- Suupport for redtide/ConvertWithMoss
- Python 3.9+ support (Rtmidi-python) HOT 22
- Error in the install guide HOT 2
- 150ms latency: normal? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from samplerbox.