Forum Replies Created
-
AuthorPosts
-
hpbParticipant
Thank you! I have registered to be notified when NoMachine network is implemented. In the meantime I will investigate these dynamic DNS solutions.
hpbParticipantOne final question, I want to understand why the command you gave me earlier works.
pacmd load-module module-loopback source=alsa_input.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-mono
There is no sink specified. According to the PulseAudio docs, when this happens, the source is sent to the default sink which on my system is:
* index: 0
name: <alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo>The * before index means this is the default sink.
So, my question is, this works because NoMachine automatically connects to the default sink on the Pi and this is how audio gets back to NoMachine on the Mac, right? Or at least this is what appears to be happening.
Right now I’m happy this all works, but I’m trying to understand why it works so that I can troubleshoot on my own.
hpbParticipantTo close the loop on this topic so that it is properly documented for anybody searching for a solution….
I have figured out how to get voice audio from the mic of my MacBook Pro into the output of the USB soundcard connected to my Pi. This means that I’ll be able to use my Mac as a mic to talk to my amateur radio transceiver.
The final piece of the puzzle is the following PulseAudio command:
pactl load-module module-loopback source=nx_voice_out.monitor sink=alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo
When I plug in a set of headphones into the output of the USB soundcard and use pavucontrol to enable NoMachine output and increase the output, I hear the output of my Mac’s mic!
Thank you so much for the help and teaching me how to configure PulseAudio. I have many years of experience as a Linux admin, but in a business environment, so I never had the opportunity to work with PulseAudio before.
hpbParticipantIt works! Thanks you so much, especially since PulseAudio support is outside typical NoMachine usage.
I am an amateur radio operator who is looking at operating my station remotely using NoMachine. I operate mostly modern digital modes and Morse Code, which is all generated on my Raspberry Pi. It would be nice to be able to operate voice remotely, but I can very much live without it.
This is excellent support, especially for something that cost me nothing to download. Thanks!
hpbParticipantOne more datapoint…I removed disconnected the USB soundcard and played a YouTube video on the Pi. I hear audio coming out of the Pi when I connect headphones to the Pi’s audio jack but I hear nothing on my Mac.
I actually removed NoMachine from my Pi and reinstalled it so that it would be aware of Pulseaudio. I also performed this command on the Pi that I saw in another support thread:
sudo /usr/NX/scripts/setup/nxnode --audiosetup
hpbParticipantIf this will help, here is the output of my list of sources. I believe this shows my USB mic input set as the default source.
pacmd list-sources | grep -e ‘index:’ -e device.string -e ‘name:’
* index: 1
name: <alsa_input.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-mono>
device.string = “hw:1”
index: 2
name: <alsa_output.platform-soc_audio.analog-stereo.monitor>
device.string = “0”
index: 3
name: <alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo.monitor
device.string = “1hpbParticipantI installed PulseAudio but still have problems.
I now realize part of the problem is that I did not supply enough details about what I’m trying to accomplish. I have the output audio from a radio going into the mic input of a USB soundcard. I would like to hear this radio’s audio on the speakers of my Mac.
I believe PulseAudio is correctly configured with the mic input of the USB soundcard as a source. When I look at the Recording tab on pavucontrol, I see the audio varying in volume. When I reduce the volume on the radio the PulseAudio audio level in pavucontrol goes down and when I increase the volume on the radio the audio level in pavucontrol goes up. So I believe PulseAudio is capturing the audio output from the radio.
Am I misunderstanding how NoMachine’s audio forwarding works? Is the audio from the PulseAudio mic input on my Pi not going to be forwarded to my Mac? Is there a way to redirect this input audio stream on the Pi so that I can hear it on the Mac?
Thanks.
hpbParticipantNo, I do not have PulseAudio installed on the Pi. Thank you. I will give this a try and get back to you.
-
AuthorPosts