From Fedora Project Wiki

(Draft of the Jack midi test case)
 
(Update for Fedora 35.)
 
(5 intermediate revisions by the same user not shown)
Line 5: Line 5:
== Setup ==
== Setup ==


# This test case should be performed on a '''bare machine'''.
# This test case should be performed on '''bare-metal machines'''. In case you want to test it on '''virtual''' machines, consider the [https://fedoraproject.org/wiki/QA:Howto_USB_Passtrough USB device pass-through] for required devices.
# 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 35''' (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>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.
 
[[Category:Test Days Test Cases]]
[[Category:Package_pipewire_test_cases]]

Latest revision as of 12:16, 6 September 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 bare-metal machines. In case you want to test it on virtual machines, consider the USB device pass-through for required devices.
  2. The computer must be equipped with a sound device.
  3. Install a desktop version of Fedora 35 (or later).
  4. Install the yoshimi and qjackctl packages.
  5. Connect a USB MIDI keyboard to your computer.
  6. Connect your speakers (headphones) to the default sound device.
  7. 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.