Skip to main content

Questions tagged [midi]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
24 views

Why does running "amidi -l" produce an error message that says "Inappropriate ioctl for device"?

When I run amidi -l on my Thinkpad X1 Carbon (Generation 5) running Manjaro Linux, instead of no device info appearing in the output (which I'd expect since no MIDI hardware devices are connected) I ...
aoeu's user avatar
  • 101
0 votes
0 answers
30 views

Difference between amidi -l and aconnect -l

I would like to use fluidsynth as a player for my Java application. However, fluidsynth creates a port visible via aconnect -l but invisible via amidi -l. Java MIDI, in turn, sees only the ports ...
scriptfoo's user avatar
  • 101
1 vote
2 answers
305 views

How to write raw MIDI bytes to Linux Midi Through client?

The command line utility amidi may be used to send MIDI hexadecimal bytes to any alsa rawmidi port identified in amidi -l. I have a piece of music software (Organteq) which monitors Midi Through for ...
Cheetaiean's user avatar
0 votes
0 answers
66 views

How to connect digital piano with plug and play?

I'd like to connect my old Korg c-15s digital piano to my Toshiba Satellite laptop using a plug and play cable (midi > usb). I have never done this before, tried a few tutorials but couldn't seem ...
black-clover's user avatar
0 votes
0 answers
54 views

Cannot connect MIDI keyboard to synth

I seem to be unable to properly connect my MIDI keyboard to any of my synths. I am currently trying to connect it to ZynSubFx Alsa. I ran aconnect 20:0 128:0 to connect the keyboard to the synth, but ...
tom894's user avatar
  • 111
1 vote
2 answers
587 views

not sure if MIDI controller is sending MIDI data to Ubuntu or not

I'm trying to use a hardware keyboard (the Arturia KeyStep Pro) as a MIDI controller via USB in my digital audio workstation (Bitwig) under Ubuntu 22.04. So far, it's not working, and I'm not certain ...
melanjolly's user avatar
0 votes
0 answers
76 views

Problems connecting MIDI DJ controller

I have a Traktor Kontrol S5 and I really need to use it with Linux (in my case Linux Mint). Also, Im new to Linux. The problem is that, even if Ive installed the driver, the MIDI part of the ...
ramaswag's user avatar
0 votes
1 answer
1k views

Creating Virtual Midi Ports with Jack-Midi

On MacOs there is an app called Jack Pilot that can create virtual midi ports that can be used to route midi data between applications. Is it possible to configure JACK to do this on Linux? I have a ...
Кафка's user avatar
1 vote
0 answers
213 views

Translate keystrokes into MIDI Input events

I am currently struggling with the following: How Can I translate a keystroke into a MIDI Event in Linux? I am working with Linuxmint 20.3 Cinnamon The context: I have an USB footswitch (which is ...
Marc's user avatar
  • 11
0 votes
1 answer
767 views

Enable a software MIDI output for use with pygame

I want to be able to play MIDI notes from the pygame.midi module, similar to Windows. I believe this means setting up some sort of software/virtual MIDI out device. Fluidsynth appears to be able to do ...
TheLabCat's user avatar
  • 113
3 votes
1 answer
3k views

Alsa sequencer issue - no file /dev/snd/seq

I seem to be having issues with my Alsa sequencer. I am using Parabola (Arch variant) and I don't use Pulseaudio, I use Alsa directly. I am trying to play a game via Wine that has MIDI audio. I have ...
Time4Tea's user avatar
  • 2,444
5 votes
1 answer
497 views

Use MIDI signals for media control

I have a physical MIDI keyboard that also features some control keys, such as "play" and "stop". When pressed, they send the MIDI codes 115 and 116 respectively over the MIDI bus. ...
Green绿色's user avatar
1 vote
0 answers
259 views

How do I get sound output from a MIDI keyboard?

I'm running Arch, and I want to run my AKAI MPK mini mk II through Qsynth. I have gotten to the point where, when I press a key on the keyboard, Qsynth acknowledges it, however it makes no sound. ...
MCLooyverse's user avatar
0 votes
0 answers
154 views

MIDI notes getting stuck

I have a MIDI keyboard (Axiom 61) connected to the USB port of my PC. The keyboard has never functioned properly with this PC. MIDI signals seem to come thru very randomly causing notes either not to ...
Karri Rasinmäki's user avatar
1 vote
0 answers
32 views

Strip byte pattern out of MIDI sysex messages between ALSA sequencer port and application

I'm looking for a quick-and-dirty way to strip byte sequences in realtime MIDI sysex messages between an ALSA 'sequencer' port and some editor software I am using. This is because I'm using editor ...
user515655's user avatar
0 votes
0 answers
89 views

How to prevent midi events from being echoed back

I have a MIDI piano whose MIDI in and out are connected to an es1938 soundcard *). I can record and play back MIDI without any problems, currently using alsa. Problem However, when I don't do anything ...
Martin Drautzburg's user avatar
2 votes
1 answer
2k views

How to fire a udev rule after the kernel has registered a driver?

I have a MIDI keyboard "Impulse", and a raspi3. I want to connect the keyboard to the raspi, and having sounds without touching anything. So I use fluidsynth with jack as audio driver. Fluidsynth is ...
Wombozo's user avatar
  • 41
1 vote
1 answer
150 views

Note number using aseqdump on my midi controller varies

I'm programming a Launchkey MK2 25 to control my Linux system. I've set up some key listeners for the white and black keys to perform some actions. This works. The problem is that sometimes the ...
madprops's user avatar
  • 190
1 vote
0 answers
165 views

Map a Midi controller to Calf plugins

How do I map a Midi CC signal to a Calf plugin in Ardour. The default in Ardour is to hold CTRL and press the mouse wheel button to asign a Hardware knob to the software knob. How does it work with ...
Dinera's user avatar
  • 11
5 votes
1 answer
5k views

Simple way to connect midi keyboard to pulseaudio without using Jack

I need a simple way to connect the midi keyboard to pulse audio and leave it active. ( i'm not worried about low latency.) So far, I've looked at Ted's Linux MIDI Guide and followed all of that, but ...
listenlight's user avatar
2 votes
2 answers
771 views

How do I make MIDI files sound the same in Linux as in Windows?

I have created a MIDI file using Anvil Studio in Windows. When playing the file with the MIDI editor Rosegarden in Linux (openSUSE Tumbleweed), the MIDI file sounds different. Now, I know that MIDI ...
flackbash's user avatar
  • 123
2 votes
1 answer
596 views

How create a second midi device?

I need create two or more MIDI devices. Using the command "modprobe snd-virmidi", I create one midi device: "/dev/midi1". This device is connect in port 20. I can see in "aconnect -l" and put with ...
Rogério Gomes's user avatar
3 votes
4 answers
3k views

Setting up Ardour/JACK on Mint/Ubuntu

Full context I would like to set up Ardour and mess around a bit on a keyboard-as-in-music which I got a while ago, turned out not to need, but couldn't return. When I try to start Ardour, with a new ...
Vivian's user avatar
  • 317
1 vote
1 answer
909 views

How to use udevadm to fix unrecognized usb device

I am having trouble getting a midi controller (piano keyboard) to work on a raspberry pi. It works on my linux laptop, and another midi keyboard does work on the pi. It is listed under lsusb, so I ...
Roland's user avatar
  • 127
2 votes
2 answers
680 views

How to debug program latency?

I'm trying to run amsynth on a rpi. Latest version of raspbian, fresh install. I tested amsynth on my x86 desktop and it works great, no latency. On the rpi however, I get a delay of around 1 sec ...
cat pants's user avatar
  • 195
6 votes
1 answer
5k views

Print and connect Jack Audio and MIDI ports from the command line

How do I print and connect jack-audio and midi ports from the command line, similar to aconnect -io or aconnect 20:0 132:1 for inputs and outputs of ALSA MIDI?
nath's user avatar
  • 5,894
1 vote
1 answer
324 views

USB MIDI device crashes when connected to second device

Using my Ubuntu laptop I'm trying to connect these two MIDI devices together: Device 1: USB-MIDI connection Device 2: Standard 5-pin DIN connector with el cheapo USB-MIDI cable Observations... Both ...
marty_c's user avatar
  • 11
3 votes
1 answer
5k views

How to play a MIDI file in Linux Mint 18 Cinnamon (using any audio player)? [closed]

I'm trying to play a MIDI file in my Linux Mint 18 Cinnamon. I just open the MIDI file with any music player and it says it requires a plugin named gstreamer1.0-plugins-bad, so I click "Install" and ...
Melody's user avatar
  • 143
2 votes
1 answer
2k views

MIDI Linux Gadget Module (g_midi) with iPad on Raspberry Pi

I'm trying to use the MIDI Linux Gadget Module (g_midi) to turn a Raspberry Pi Zero into a USB MIDI device. I've enabled g_midi using the following commands: echo "dtoverlay=dwc2" | sudo tee -a /boot/...
user2370460's user avatar
2 votes
0 answers
1k views

regulate system volume with midi controller

Make midi controller regulate system volume. With the following code a midi controller can be used for controlling the audio volume of a linux system: aseqdump -p 20 | sed -nur 's/^.*controller 14, ...
Anton Harald's user avatar
6 votes
1 answer
5k views

Is it possible to convert audio to midi with the shell?

Some might say this doesn't work, but it does, this website does what I want. Can you do this with any common tool like ffmpeg? Or maybe there is a python script somewhere? I couldn't find anything on ...
DisplayName's user avatar
  • 11.8k
1 vote
1 answer
754 views

ALSA RawMIDI issue

I'm trying to write an application using the ALSA RawMIDI interface to exchange sysex data with a hardware synthesizer via USB on a Raspberry PI. the RawMIDI library comes with libasound2-dev. In my ...
spinalwrap's user avatar
3 votes
0 answers
332 views

Software for adjusting the velocity curve of a MIDI controller

I use my yamaha clp330 digital piano as a midi controller. The problem is that the volume of the sound is too low when I play on the piano. But using software controllers the sound is normal. So it ...
Sajad Rastegar's user avatar
1 vote
1 answer
571 views

play MIDI (*.mid) files in firefox

Many of the (German) Wikipedia articles about bands contain short music samples, like the one for Emerson, Lake & Palmer. (Look for the speaker symbols). Firefox then asks for an application to ...
Jens's user avatar
  • 1,787
0 votes
1 answer
256 views

Midi and Scheduler on Linux / Raspberry Pi

I'm fairly new to MIDI and Linux. I have an Akai MPX8 with a bunch of individual WAV files loaded onto it. The WAV files play well over the existing audio system. The audio files are launched by ...
user3138025's user avatar
3 votes
0 answers
1k views

USB MIDI keyboard (Oxygen 61) now not appearing in QJackCtl

I've had a USB Oxygen61 MIDI keyboard for awhile now, and it has worked fine in the past (maybe a month ago, last I tried). But now when I plug it in, it no longer shows up in aconnect -l, and I can'...
davex_'s user avatar
  • 51
3 votes
1 answer
3k views

See a serial port as a MIDI IN device

I have connected a MIDI device to my UART RX / serial port /dev/ttyAMA0 using some electronics as described here. I have properly configured the right baud setting (31250 baud, etc.). It works: I can ...
Basj's user avatar
  • 2,591
1 vote
1 answer
248 views

snd_rawmidi_open() waits forever - no error message

I am trying to use ALSA for MIDI purposes in C. My problem is, snd_rawmidi_open() sort of "crashes" (waits forever like a while loop) when using valuable arguments : #include <stdio.h> #...
theredled's user avatar
  • 123
3 votes
1 answer
1k views

Setting up digital piano and computer with MIDI interface

I have a MIDI cable that has IN and OUT interfaces. I want to connect my piano (Yamaha P95) with the laptop (running Ubuntu), so I can record midi songs. I connected the cable between piano and ...
Ionică Bizău's user avatar
9 votes
2 answers
6k views

timidity: No instrument mapped to tone bank 0, no idea which one is missing

I am trying to play this midi file downloaded from here, but I get: $ timidity --verbose marivonnig1\ \(1\).mid Requested buffer size 32768, fragment size 8192 ALSA pcm 'default' set buffer size ...
18446744073709551615's user avatar