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?

Vi.
  • 16,755
  • 32
  • 111
  • 189
  • I'm getting confused... But with [jackd](http://linux.die.net/man/1/jackd) is it not enough that you use a couple of different application and you start to listen? – Hastur Jul 01 '16 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 01 '16 at 18:15
  • Do you mean something like [qjackctl](http://qjackctl.sourceforge.net/) and the sound from the microphone to the speakers? – Hastur Jul 01 '16 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 01 '16 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 '16 at 03:56

2 Answers2

9

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.

Kevin
  • 1,253
  • 10
  • 15
  • 2
    +1 for `jack_simple_client` which generates a test-tone when called with no arguments – krubo Oct 30 '19 at 17:49
0

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

cat /dev/urandom | aplay

source

Stephen Rauch
  • 3,091
  • 10
  • 23
  • 26