I have an application (Frescobaldi/Lilypond) that generates and plays MIDI files. Due to problems with flatpak I can only run it on C8 or Fedora, both of which live on VMs. The host is running C7. I've tried "adding hardware", specifically a virtual sound card, to the VMs, but still they remain silent. How do I connect the virtual sound cards to the physical sound card so that I can hear the music? Thanks, Martin -- J Martin Rushton MBCS
Hallo, witch virtualizer are you using. Sure that the virtual sound-device is connected with the right hardware? Ralf Von meinem iPad gesendet> Am 12.11.2020 um 18:00 schrieb J Martin Rushton via CentOS <centos at centos.org>: > > ?I have an application (Frescobaldi/Lilypond) that generates and plays MIDI files. Due to problems with flatpak I can only run it on C8 or Fedora, both of which live on VMs. The host is running C7. I've tried "adding hardware", specifically a virtual sound card, to the VMs, but still they remain silent. How do I connect the virtual sound cards to the physical sound card so that I can hear the music? > > Thanks, > Martin > > > -- > J Martin Rushton MBCS > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos
On 12/11/2020 17:26, Ralf Prengel wrote:> Hallo, > witch virtualizer are you using.KVM/QEMU> Sure that the virtual sound-device is connected with the right hardware?I can play CDs and listen to YouTube on the host, so I'm assuming the hardware is fine.> Ralf > > Von meinem iPad gesendet > >> Am 12.11.2020 um 18:00 schrieb J Martin Rushton via CentOS <centos at centos.org>: >> >> ?I have an application (Frescobaldi/Lilypond) that generates and plays MIDI files. Due to problems with flatpak I can only run it on C8 or Fedora, both of which live on VMs. The host is running C7. I've tried "adding hardware", specifically a virtual sound card, to the VMs, but still they remain silent. How do I connect the virtual sound cards to the physical sound card so that I can hear the music? >> >> Thanks, >> Martin >> >> >> -- >> J Martin Rushton MBCS >> _______________________________________________ >> CentOS mailing list >> CentOS at centos.org >> https://lists.centos.org/mailman/listinfo/centos-- J Martin Rushton MBCS
On 13/11/2020 07:01, Simon Matter wrote:>> On 12/11/2020 17:26, Ralf Prengel wrote: >>> Hallo, >>> witch virtualizer are you using. >> >> KVM/QEMU >> >>> Sure that the virtual sound-device is connected with the right hardware? >> >> I can play CDs and listen to YouTube on the host, so I'm assuming the >> hardware is fine. > > I don't know how this works here but doesn't playing MIDI files mean you > need a MIDI capable sound card which generates the sound? Maybe the > virtual sound-device is only capable to play audio? > > Regards, > Simon >Very good point. I will investigate further. I had two models in my head: 1) The Frescobaldi playback module did the MIDI-> sound conversion. 2) The virtual card passed the signals on to the physical card. Perhaps your third model is correct. -- J Martin Rushton MBCS
On 13/11/2020 09:09, J Martin Rushton via CentOS wrote:> On 13/11/2020 07:01, Simon Matter wrote: >>> On 12/11/2020 17:26, Ralf Prengel wrote: >>>> Hallo, >>>> witch virtualizer are you using. >>> >>> KVM/QEMU >>> >>>> Sure that the virtual sound-device is connected with the right >>>> hardware? >>> >>> I can play CDs and listen to YouTube on the host, so I'm assuming the >>> hardware is fine. >> >> I don't know how this works here but doesn't playing MIDI files mean you >> need a MIDI capable sound card which generates the sound? Maybe the >> virtual sound-device is only capable to play audio? >> >> Regards, >> Simon >> > > Very good point.? I will investigate further.? I had two models in my head: > > 1) The Frescobaldi playback module did the MIDI-> sound conversion. > 2) The virtual card passed the signals on to the physical card. > > Perhaps your third model is correct.Extra information: I've run up YouTube with the virtual sound card set to ac97 and can play back a simple audio stream. Running the MIDI system has no effect. Furthermore the mixer shows a connection from Firefox, but doesn't show one from Frescobaldi. I think you've hit the nail on the head. Well done. Now how to fix it! Regards, Martin -- J Martin Rushton MBCS