• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

MIDI Keyboard/USB

SuseOpfer

Newbie
Hi - ich wollte mal mein altes MIDI-Keyboard (USB, M-AUDIO Keystation 49e - jaja ich weiss Profis schreien jetzt) unter Linux zum laufen kriegen.

Gibt es irgendwelche Links oder Guides zu dem Thema MIDI-Linux-Audio oder sowas? Ich stehe hier irgendwie etwas ratlos vor dem Ding. Wo kann ich zumindest nachsehen ob es erkannt wurde?
 

abgdf

Guru
Hi,

Dein Keyboard dürfte ggf. in jack angezeigt werden.

Bitte lies auf meiner Seite (www-Button) noch den Abschnitt "ALSA-Sequencer aktivieren" (SuSE 10.0).

Erstmal viele Grüße
 
OP
S

SuseOpfer

Newbie
Also Midi-Abspielen geht (getestet mit TiMidity).
Rosengarten zeigt auch an, dass es Daten bekommt (also Aufnahme sollte auch gehen?) nur ich höre nichts in Rosengarten.

Ausserdem meldet Rosengarten so etwas:
Code:
"System timer resolution is too low.Rosegarden was unable to find a high-resolution timing source for MIDI performance.
This may mean you are using a Linux system with the kernel timer resolution set too low. Please contact your Linux distributor for more information"

Ich bin mir einfach nicht sicher, was ich installieren muss. Midi geht ja - nur nicht richtig><. Ich habe ein Programm namens jackd installiert.

Ich poste mal, was Rosengarten mir unter MIDI-Geräte verwalten anzeigt:
Vorschau abspielen:
Code:
General MIDI Device: 20:0 Keystation 49e MIDI 1 (duplex)
Midi Output System Device: none Keine Verbindung

Aufnahme Gerät:
Code:
MIDI Hardware Input Device: Current [nicht markiert] 20:0 Keystation 49e MIDI 1 (duplex)
MIDI Input System Device: Current [nicht markiert] Keine Verbindung

Ich frage mich ob das ein Problem meines Systems ist oder eine falsche Config von Rosengarten.
Habe
Code:
Midi Output System Device: none Keine Verbindung zu
MIDI-through port 0 (duplex)
geändert. Höre aber immer noch nix><.

Aconnect ist installiert. (Aufruf auf Konsole geht).

Hoffe das hilft euch weiter (und anschließend mir><)

Wo soll ich Anfangen. Auf deiner Website ist die Lösung eines Fehlers beschrieben den ich allerdings nicht hatte.

Was ich suche ist ein Testprogramm so ungefähr von folgender Machart:
Taste auf Keyboard gedrückt - MIDI quäckt los. Damit ich sicher sein kann, ob es das Audio-Programm ist, das zicken macht, oder ob meine Systemconfiguration schrott ist.

Hier noch eine Ausgabe von Rosengarten
Code:
Rosegarden 1.4.0 - AlsaDriver - alsa-lib version 1.0.11rc2

JackDriver::initialiseAudio - JACK sample rate = 48000Hz, buffer size = 1024
JackDriver::initialiseAudio - creating disk thread
JackDriver::initialiseAudio - found 2 JACK physical outputs
JackDriver::initialiseAudio - connecting from "rosegarden:master out L" to "alsa_pcm:playback_1"
JackDriver::initialiseAudio - connecting from "rosegarden:master out R" to "alsa_pcm:playback_2"
JackDriver::initialiseAudio - found 2 JACK physical inputs
JackDriver::initialiseAudio - connecting from "alsa_pcm:capture_1" to "rosegarden:record in 1 L"
JackDriver::initialiseAudio - connecting from "alsa_pcm:capture_2" to "rosegarden:record in 1 R"
JackDriver::initialiseAudio - initialised JACK audio subsystem

  ALSA Client information:

    14,0 - (Midi Through, Midi Through Port-0)			(DUPLEX) [ctype 2, ptype 2, cap 99]
    20,0 - (Keystation 49e, Keystation 49e MIDI 1)			(DUPLEX) [ctype 2, ptype 2, cap 127]

Creating device 0 in Play mode for connection 20:0 Keystation 49e MIDI 1 (duplex)
Default device name for this device is MIDI external device
Creating device 1 in Record mode for connection 20:0 Keystation 49e MIDI 1 (duplex)
Default device name for this device is MIDI hardware input device
Creating device 2 in Play mode for connection 14:0 Midi Through Port-0 (duplex) (not connecting)
Default device name for this device is MIDI output system device
Creating device 3 in Record mode for connection 14:0 Midi Through Port-0 (duplex) (not connecting)
Default device name for this device is MIDI input system device
System timer is only 250Hz, sending a warning
    Current timer set to "system timer" with timer checks
    WARNING: using system timer with only 250Hz resolution!
AlsaDriver::initialiseMidi -  initialised MIDI subsystem

System timer is only 250Hz, sending a warning
    Current timer set to "system timer" with timer checks
    WARNING: using system timer with only 250Hz resolution!

  ALSA Client information:

    14,0 - (Midi Through, Midi Through Port-0)			(DUPLEX) [ctype 2, ptype 2, cap 99]
    20,0 - (Keystation 49e, Keystation 49e MIDI 1)			(DUPLEX) [ctype 2, ptype 2, cap 127]

System timer is only 250Hz, sending a warning
    Current timer set to "system timer" with timer checks
    WARNING: using system timer with only 250Hz resolution!
AlsaDriver::setRecordDevice - successfully subscribed device 1 as record port
AlsaDriver::setRecordDevice - 20:0 failed to subscribe device 1 as record port
AlsaDriver::setRecordDevice - 20:0 failed to subscribe device 3 as record port
AlsaDriver::setRecordDevice - 20:0 failed to subscribe device 1 as record port

  ALSA Client information:

    14,0 - (Midi Through, Midi Through Port-0)			(DUPLEX) [ctype 2, ptype 2, cap 99]
    20,0 - (Keystation 49e, Keystation 49e MIDI 1)			(DUPLEX) [ctype 2, ptype 2, cap 127]
 

abgdf

Guru
Hi,

installiere die jack-Pakete; z.B. (SuSE 10.0)

Code:
jack-devel-0.99.0-6
jack-rack-1.4.3-94
qjackctl-0.2.18-2
qjackconnect-0.0.3b-545
jack-0.99.0-6
jackEQ-0.4.0-62

Dann starte als root

qjackctl

Wenn's klappt, klicke auf "Connect" und dort auf "Midi".
Da sollte Dein Keyboard dann angezeigt werden.

Zu der (ersten) Ausgabe von rosegarden siehe:

http://www.linux-club.de/viewtopic.php?t=31817

Die Genauigkeit des Kernels reicht AFAIK aber für den Heimanwender.

Viele Grüße
 
Oben