Audacium / audacium

Free and open-source audio editor
https://audacium.github.io/audacium/
Other
702 stars 34 forks source link

ALSA is the only available host (JACK not in the list) [Ubuntu Studio] #92

Open zg-gh opened 2 years ago

zg-gh commented 2 years ago

Describe the bug

I am trying to record from my Yamaha keyboard, which goes through Qsynth and Jack. This requires selecting Jack as the "Host" in audacity, then selecting Qsynth as the recording device, however the dropdown list that typically includes both ALSA and Jack only inlcudes ALSA for me.

I built a fresh copy of Audacium an hour or so ago to test, FYI.

To Reproduce Steps to reproduce the behavior:

  1. Start JACK server
  2. Start Qsynth
  3. Turn on keyboard
  4. Connect keyboard to Qsynth (Fluidsynth) in JACK connections manager
  5. Start Audacium
  6. Edit > Preferences > Devices
  7. Click the dropdown menu by "Host:" and attempt to change it from ALSA. Bug: ALSA is the only option

Expected behavior

The dropdown menu should include a Jack option as well (plus maybe others?).

Screenshots

image

image

[I can't screenshot while the dropdown menu is selected, but you'll have to trust me that ALSA is the only option there.]

Additional information (please complete the following information):

Additional context I can successfully record with a USB vocal microphone that works through ALSA, and when ALSA is selected as the host, I am still given the option to select Jack as the playback device and the recording device. I can hear playback this way, and the record function activates, but no sound is recorded.

The Qsynth method of recording keyboard has always worked for me with Audacity 2.x, but this is my first time trying it with Audacium.

I really appreciate any help you can offer, as well as all your work on this project.

AnErrupTion commented 2 years ago

I think the problem here is that Audacium is not compiled with Jack support. If you have built with the configure.sh script, then edit it, and add to the cmake command the argument -Daudacity_use_pa_jack=loaded (right after the ffmpeg argument). Then, make a clean build (this way we remove any potential error related to that). Just delete your builds folder, then run configure.sh again.

zg-gh commented 2 years ago

Thanks for the quick response.

I have tried this a few times, with the Debug and Release builds, and am unfortunately still having the same problem. Despite Jack being on, only ALSA appears in the dropdown list for hosts. The build seems to work otherwise.

Thanks again for your help.

newtonGnu commented 1 year ago

I have the same issue and reproduced this bug, even with the -Daudacity_use_pa_jack=loaded build option, jack is not available. Any other approaches or ideas would be very appreciated 👍🏻