From Fedora Project Wiki

(Draft of the Jack midi test case)
 
m (Update to meet review.)
Line 6: Line 6:


# This test case should be performed on a '''bare machine'''.
# This test case should be performed on a '''bare machine'''.
# The computer must be equipped with a sound device.
# The computer must be equipped with a '''sound device'''.
# Install a desktop version of '''Fedora 34''' (or later).
# Install a desktop version of '''Fedora 34''' (or later).
# Log in as a ''common user''.
# Install the <code>pipewire-jack-audio-connection-kit</code> package. Using the <code>--allowerasing</code> option might be necessary for successful installation.
# Install the <code>pipewire-jack-audio-connection-kit</code> package. Using the <code>--allowerasing</code> option might be necessary for successful installation.
# Install the <code>yoshimi</code> and <code>qjackctl</code> packages.
# Install the <code>yoshimi</code> and <code>qjackctl</code> packages.
# Connect a USB MIDI keyboard to your computer.
# Connect a '''USB MIDI keyboard''' to your computer.
# Connect your speakers (headphones) to the default sound device.
# Connect your '''speakers''' (headphones) to the default sound device.
# Perform the following steps as a '''regular user'''.


== How to test ==
== How to test ==


# Start '''Yoshimi''' <code>yoshimi</code>.
# Start '''Yoshimi''' <code>yoshimi</code> and check that it starts.
# Start '''QJackCtl''' <code>qjackctl</code>.
# Start '''QJackCtl''' <code>qjackctl</code> and check that it starts.
# Go to '''QJackCtl''' and click on the '''Graph''' button to open Jack connections.
# Go to '''QJackCtl''' and click on the '''Graph''' button to open Jack connections.
# Find '''yoshimi''' in the graph and make sure that its output (right side of the icon) is connected to the system’s playback slots.
# Find '''yoshimi''' in the graph and make sure that its output (right side of the icon) is connected to the system’s playback slots.
# If not, create a connection to send '''Yoshimi'''’s output to the system playback device.
# If not, create a connection to send '''Yoshimi'''’s output to the system playback device.
# Also, create a connection between your MIDIkeyboard MIDI output and '''Yoshimi'''’s MIDI input.
# Also, create a connection between your MIDI keyboard MIDI output and '''Yoshimi'''’s MIDI input.
# Play some tones on the MIDI keyboard.
# Play some tones on the MIDI keyboard and confirm that the sound can be heard over the connected sound device.


== Expected results ==
== Expected results ==


# '''QJackCtl''' and '''Yoshimi''' start successfully.
# '''QJackCtl''' and '''Yoshimi''' start successfully.
# Connections exist on the '''Graph''' tab of '''QJackCtl''' or they can be successfully created there.
# The '''Graph''' tab of '''QJackCtl''' shows devices and allows to connect them including the MIDI connections.
# '''Yoshimi''' produces audible sounds through the connected sound device.
# '''Yoshimi''' produces audible sounds which means that all connections work properly.

Revision as of 13:12, 16 February 2021

JACK MIDI Routing

This test case tests that PipeWire can support JACK applications with MIDI routing.

Setup

  1. This test case should be performed on a bare machine.
  2. The computer must be equipped with a sound device.
  3. Install a desktop version of Fedora 34 (or later).
  4. Install the pipewire-jack-audio-connection-kit package. Using the --allowerasing option might be necessary for successful installation.
  5. Install the yoshimi and qjackctl packages.
  6. Connect a USB MIDI keyboard to your computer.
  7. Connect your speakers (headphones) to the default sound device.
  8. Perform the following steps as a regular user.

How to test

  1. Start Yoshimi yoshimi and check that it starts.
  2. Start QJackCtl qjackctl and check that it starts.
  3. Go to QJackCtl and click on the Graph button to open Jack connections.
  4. Find yoshimi in the graph and make sure that its output (right side of the icon) is connected to the system’s playback slots.
  5. If not, create a connection to send Yoshimi’s output to the system playback device.
  6. Also, create a connection between your MIDI keyboard MIDI output and Yoshimi’s MIDI input.
  7. Play some tones on the MIDI keyboard and confirm that the sound can be heard over the connected sound device.

Expected results

  1. QJackCtl and Yoshimi start successfully.
  2. The Graph tab of QJackCtl shows devices and allows to connect them including the MIDI connections.
  3. Yoshimi produces audible sounds which means that all connections work properly.