[SOLVED]No sound out of Rosegarden in Mageia 8

[SOLVED]No sound out of Rosegarden in Mageia 8

Postby banjo » Apr 26th, '22, 22:34

I am setting up Rosegarden to play my midi files on my new Magia 8 setup. No matter what I try, I cannot get any sound out of it.

VLC works fine. Chrome can play Youtube videos. But Rosegarden makes no sound. Here is the setup.

Rosegarden sends to Qsynth, which sends to JACK which sends to the embedded sound system.

My speakers are connected to the on-board Intel sound card on the motherboard.

I do have the sound fonts installed in Qsynth.

The system has 3 sound systems reported, as you can see in my inxi.

Code: Select all
System:    Host: linux8core Kernel: 5.15.32-desktop-1.mga8 x86_64 bits: 64 Desktop: KDE Plasma 5.20.4 Distro: Mageia 8 mga8
Machine:   Type: Desktop Mobo: Micro-Star model: MPG Z590 GAMING PLUS (MS-7D07) v: 2.0 serial: <superuser required>
           UEFI: American Megatrends LLC. v: A.10 date: 04/09/2021
Audio:     Device-1: Intel Tiger Lake-H HD Audio driver: snd_hda_intel
           Device-2: NVIDIA driver: snd_hda_intel
           Device-3: Micro Star USB Audio type: USB driver: hid-generic,snd-usb-audio,usbhid
           Sound Server: ALSA v: k5.15.32-desktop-1.mga8


The NVIDIA is just not there because JACK shuts down, unable to open a port when I connect it to that device. I don't have a sound HDMI connection to the NVIDIA card anyway. I am using the on-board Intel sound.

I have set up JACK to use all of its reported devices, and nothing comes out. Here is the list that it shows me:

JackInterfaceList.png
JackInterfaceList.png (48.13 KiB) Viewed 10005 times


So I turned off JACK and set up Qsynth to use ALSA and Pulseaudio with the same results.... no audio.

VLC connects to "USB Analog Audio Stereo". That is Device-3: in the inxi output. It works fine. I don't know how to discover what device Chrome is using.

I have set up the Plasma settings to use "Speakers (USB Audio Analog Stereo)". The other, unused, option is "HDMI/DisplayPort2(HDA NVidia Digital Stereo (HDMI2D))"

I am at a loss to figure out what to try next. I must be missing something simple.

Thanks to anyone who can give me some idea about what is going on.

Banjo
(_)=='=~
Last edited by banjo on Apr 27th, '22, 14:32, edited 1 time in total.
If only the best bird sang, the forest would be a very quiet place.
User avatar
banjo
 
Posts: 476
Joined: May 4th, '11, 03:50
Location: Reading, Massachusetts

Re: No sound out of Rosegarden in Mageia 8

Postby doktor5000 » Apr 26th, '22, 22:48

You may want to have a look in viewtopic.php?f=8&t=12123
What do you have configured in rosegarden currently ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18040
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: No sound out of Rosegarden in Mageia 8

Postby banjo » Apr 27th, '22, 00:25

I don't think that the file name is causing a problem. The file name is "Bluegrass_-_Old_Joe_Clark.mid". I renamed it to take out the "-" character and it still does not make any audio.

When I connect Qsynth to JACK, Rosegarden connects to "129:0 Synth input port (1176916:0) (write)"

Screenshot_20220426_180650.png
JACK setup
Screenshot_20220426_180650.png (76.03 KiB) Viewed 9995 times


When I connect Qsynth to ALSA, Rosegarden connects to "128:0 Synth input port (1176916:0) (write)"

Screenshot_20220426_180806.png
ALSA setup
Screenshot_20220426_180806.png (76.06 KiB) Viewed 9995 times
If only the best bird sang, the forest would be a very quiet place.
User avatar
banjo
 
Posts: 476
Joined: May 4th, '11, 03:50
Location: Reading, Massachusetts

Re: No sound out of Rosegarden in Mageia 8

Postby banjo » Apr 27th, '22, 14:32

I have succeeded in making Rosegarden work. Here is how I found it.

I use Frescobaldi to edit lilypond files to typeset music for my banjo. lilypond can create midi files, so Frescobaldi includes a very simple midi player that allows me to listen to the midi files it creates. In order to test the chain from midi to speaker, I ran Qsynth and Frescobaldi to see if it could create audio output. It was successful, and sound comes out of the speakers. So that put the onus of the problem directly on Rosegarden.

Also, through a series of trials and errors with Rosegarden I managed to get it to play one single note from the file and then go silent.

That gave me a new search term, and poking around the interwebs I ran into the Rosegarden FAQ and found this website:

https://www.rosegardenmusic.com/wiki/Fr ... _Questions

Quoting the relevant subsection:
"Only notes at the very start of the composition are played at all

If Rosegarden plays notes at time zero but then gets stuck and doesn't play anything else afterwards, you might have a non-running sequencer timer selected.

Try going to Settings → Configure Rosegarden… → MIDI and changing the “Sequencer timing source” setting."

The default sequencer setting is (auto). So I started stepping through the selections and finally landed on.

"PCM capture 2-0-1"

RosegardenSequencerSetting.png
RosegardenSequencerSetting.png (71.24 KiB) Viewed 9950 times


I have no idea what that is, but it makes Rosegarden step through the notes and it works.

I also had to set Qsynth to use JACK, as ALSA did nothing. So it now works sending the data from Rosegarden to Qsynth to JACK to the embedded sound card to the speakers.

If anyone knows what the sequencer timing source does, let me know.

Thanks for the help.

Banjo
If only the best bird sang, the forest would be a very quiet place.
User avatar
banjo
 
Posts: 476
Joined: May 4th, '11, 03:50
Location: Reading, Massachusetts


Return to Sound

Who is online

Users browsing this forum: No registered users and 1 guest

cron