You are not logged in.

#1 2022-12-24 09:18:38

Voklen
Member
From: Scotland
Registered: 2021-08-15
Posts: 5
Website

[SOLVED] MIDI notes not registering when playing

I have a MIDI keyboard that I want to use to develop a website controlled through MIDI but it seems to not be able to connect.
I have alsa-utils and alsa-lib installed and updated. The output of

lsmod | grep snd

is

snd_seq_dummy          16384  0
snd_hrtimer            16384  1
snd_seq                94208  7 snd_seq_dummy
snd_hda_codec_realtek   172032  1
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_codec_hdmi     86016  1
snd_usb_audio         397312  1
snd_hda_intel          61440  2
snd_usbmidi_lib        45056  1 snd_usb_audio
snd_intel_dspcfg       36864  1 snd_hda_intel
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
snd_rawmidi            49152  1 snd_usbmidi_lib
snd_seq_device         16384  2 snd_seq,snd_rawmidi
snd_hda_codec         188416  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core          118784  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
mc                     77824  1 snd_usb_audio
snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
snd_pcm               172032  5 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
snd_timer              49152  3 snd_seq,snd_hrtimer,snd_pcm
snd                   131072  21 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
soundcore              16384  1 snd

When the device is plugged in and

 amidi -l 

is ran it gives

Dir Device    Name
IO  hw:3,0,0  USB MIDI Interface MIDI 1

and

 aconnect -i 

gives

client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
client 28: 'USB MIDI Interface' [type=kernel,card=3]
    0 'USB MIDI Interface MIDI 1'

but when I try

 aseqdump -p 28 

then no matter what notes I play it doesn't give anything other than

Waiting for data. Press Ctrl+C to end.
Source  Event                  Ch  Data

Kernel: 6.1.1-arch1-1
DE: Plasma 5.26.4
I use pipewire for my audio instead of pulseaudio

Last edited by Voklen (2022-12-24 10:19:55)

Offline

#2 2022-12-24 10:19:16

Voklen
Member
From: Scotland
Registered: 2021-08-15
Posts: 5
Website

Re: [SOLVED] MIDI notes not registering when playing

tongue I had the output plugged into the output and the input into the input! Now they're both the right way around and everything works.

Offline

Board footer

Powered by FluxBB