10
OSS        | play
ALSA       | aplay
PulseAudio | paplay
JACK       | ?

What tool can I use to test if jackd is properly configured and make it play something?

5
  • I'm getting confused... But with jackd is it not enough that you use a couple of different application and you start to listen?
    – Hastur
    Jul 1, 2016 at 17:55
  • With PulseAudio you can also use different applications. But there is still simple minimal specific tool just to play/record from PulseAudio. I expect similar tool to be for JACK as well. If some application (especially if it can output to multiple sound modules) doesn't work it may be either JACK problem or the application problem. If the tool in question doesn't work, it is probably specifically JACK problem.
    – Vi.
    Jul 1, 2016 at 18:15
  • Do you mean something like qjackctl and the sound from the microphone to the speakers?
    – Hastur
    Jul 1, 2016 at 18:24
  • No, it should be command-line. Just a minimal tool play WAV to JACK or record from JACK to WAV. There should be options to list ports, specify socket for connection to JACK, etc.
    – Vi.
    Jul 1, 2016 at 19:57
  • "jackd2" package in Ubuntu includes /usr/bin/jack_rec which records. I too am looking for a simple playback tool. VLC / mpv / mplayer would work, but those are a lot bigger packages then needed.
    – Kevin
    Jul 19, 2016 at 3:56

2 Answers 2

11

There are many Jack compatible media players, such as mpv (ffmpeg based) and vlc. See this List of Applications

Try mpv --ao=jack test.wav

As well, the jackd2 package in Ubuntu 14.04 comes with a sample program called jack_simple_client which generates a test-tone output.

1
  • 2
    +1 for jack_simple_client which generates a test-tone when called with no arguments
    – krubo
    Oct 30, 2019 at 17:49
0

For a quick test you can do to simulate modem noise.

cat /dev/urandom | aplay

source

3
  • Cool trick - but that's alsa right? OP is asking for Jack
    – lys
    May 29, 2021 at 14:27
  • This made my blood curdle. Dec 13, 2021 at 21:13
  • 1
    aplay < /dev/urandom for code golfers.
    – starfry
    Sep 14, 2023 at 18:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .