rust-jack icon indicating copy to clipboard operation
rust-jack copied to clipboard

No audio out with sine example

Open Qwertie- opened this issue 5 years ago • 2 comments

I have copied the sine demo from the examples folder and run it but I get no audio out

Output from the program

$ cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.01s
     Running `target/debug/synth_test`
Enter an integer value to change the frequency of the sine wave.
3000

JACK is running and seems to be set up correct because Ardour is working fine on it.

Qwertie- avatar Feb 09 '20 01:02 Qwertie-

The sine example doesn't hook itself up to your computer's output. Run it, open qjackctl, click Graph, and connect rust_jack_sine to your audio out ("playback_1" and "playback_2" in system for me)

Tattomoosa avatar Apr 05 '20 03:04 Tattomoosa

This seems to be a common point of confusion for people that are less familiar with JACK. We could probably hardcode connecting to playback_1 and playback_2 since this is what most people expect.

wmedrano avatar Nov 16 '21 04:11 wmedrano