Keyboard Shortcuts
Likes
- BITX20
- Messages
Search
Re: Issue #4 Raspberry Pi 4 HDMI audio modules conflict with loopbacks
On Sun, Feb 4, 2024 at 11:59 AM, Dave, N1AI wrote:
I have done manual setups for using RTP streams using Pulse in Debian 11 with the "quisk" app driving the Hermes-Lite 2 SDR. To try to add more detail, if you do 'man ssh' on a linux box you should see the '-X' option described as: |
Re: MAX9814 Mic amplifier for uBitxV6
#microphone
#ubitx-help
#ubitx-v6
Gyula, Sounds good on the 3 settings. I might have to get a couple of thee critters and try them . good luck Ashok and pleasant Hamming!!! 73 David ac9xh
On Sunday, February 4, 2024 at 12:50:14 PM EST, HA3HZ <gyula@...> wrote:
I would listen to my broadcast . This way, the setting will be personalized. -- Gyula HA3HZ |
Re: sBIT USB boot
¿ªÔÆÌåÓýApples to apples indeed.? I thought we were comparing to the hundreds of Intel Nuc-like devices flooding the market.? Perhaps buy a $159 Intel and a $4 Pi Pico ? ? After reading the specs I really don¡¯t see any advantage at that price point. ? Thanks for clearing that up. ? Steve W5RRX ? From: [email protected] <[email protected]> On Behalf Of Ken N2VIP
Sent: Saturday, February 3, 2024 11:58 PM To: [email protected] Subject: Re: [BITX20] sBIT USB boot ? Steve, ? The $279 computer was the one you linked to that had GPIO pins, from Tom's Hardware website: ?
? That board is the $279 one I was talking about, a bare board (no Case! Fan! Power!) with a Celeron J4105 and some AMD processor (not N110) and 8 gigs of RAM, which compares very nicely with an 8 Gig RPi 5 board at $80. ? In other words comparing "apples to apples", essentially, if not precisely. ? Ken, N2VIP
|
Re: MAX9814 Mic amplifier for uBitxV6
#microphone
#ubitx-help
#ubitx-v6
I would listen to my broadcast . This way, the setting will be personalized.
-- Gyula HA3HZ |
Re: MAX9814 Mic amplifier for uBitxV6
#microphone
#ubitx-help
#ubitx-v6
Hi David, The compression ration of this chip is 1:500 1:2000 and 1:4000. I cannot understand which is the best. |
Re: MAX9814 Mic amplifier for uBitxV6
#microphone
#ubitx-help
#ubitx-v6
Using google, the manufacturer's description is:
You can set the AGC and the gain to 3 different settings. Details in the description. -- Gyula HA3HZ |
Re: Issue #4 Raspberry Pi 4 HDMI audio modules conflict with loopbacks
On Sun, Feb 4, 2024 at 08:46 AM, Ashhar Farhan wrote:
Is there a way we can provide a selection of where the audio routes from some kind of command??Yes.? I will share one of your favorite diagrams: It is the sbitx app that decides to read audio in from the 'right in' channel of the codec and write sound to the 'left out' of the codec. These paths are hard-wired to the speaker and mic.?? It is a "simple matter of software" for the code to chose devices, perhaps with some conversion of data formats, but not difficult to accomplish. A bit of device discovery/configuration/naming code is needed to make this relatively easy for the user to chose their favorite sources/sinks. ALSA supports Bluetooth directly via plug-in modules. The easiest way (IMO) to do RTP streaming is to use PulseAudio in Debian 10/11 and PipeWire in Debian 12. I have done manual setups for using RTP streams using Pulse in Debian 11 with the "quisk" app driving the Hermes-Lite 2 SDR. It more or less happens automatically if you use ssh with x-windows tunneling enabled, but you may need to set some environment variables to get things to work the way you want. There are other/better approaches to streaming audio over a wide area network, but this approach works well on a local area network. As Paul is finding, there is a bunch of digging one needs to do, but pretty much everything is there, it's just a matter of figuring out the best way to access it. ? -- Regards, Dave, N1AI |
Re: Issue #4 Raspberry Pi 4 HDMI audio modules conflict with loopbacks
Hi Dave,
73 |
Re: MAX9814 Mic amplifier for uBitxV6
#microphone
#ubitx-help
#ubitx-v6
Ashok,
Might think about putting a potentiometer in line to vary the output. This might have the possiblities of over driving the internal amp of the ubitx.Would be a neat project to have a separate screen to monitor the outputs ,in the same cabinet. run by a separate arduino ? might be a very stupid suggestion, but if it could be done you would have a built in modulation monitor with ur ubitx for SSB . I bet Someone could whip up something for that. Maybe even have the amp level controlled via the arduino? via another tft screen? just throwing out stupid suggestions. 73 David ac9xh |
Re: MAX9814 Mic amplifier for uBitxV6
#microphone
#ubitx-help
#ubitx-v6
Ashok,
Where does one purchase this item. if it has compression capabilities thats a benefit. 73 David ac9xh |
Re: Issue #4 Raspberry Pi 4 HDMI audio modules conflict with loopbacks
On Sun, Feb 4, 2024 at 03:32 AM, Paul wrote:
initial signs look positiveYou are definitely getting to the heart of the issue.? The issue now is that the sbitx application is still relying on the codec to be at index 0, loopback to be at 1, loopback_1 to be at 2. That's because it opens the ALSA devices using names based on their index, i.e. "plughw:0,0", "plughw:1,0", "plughw:2,1". It's better if the app uses names that are not based on index. You are heading down the path of still making sure codec is 0, loopback is 1, loopback_1 is 2, etc. You're changes are helping make that happen and at the same time giving them better names. I'm not that confident that you can be sure to get the right index in every use case of things plugged into the Pi. For instance HDMI audio is started very early in the boot process so if it is enabled then it probably gets index 0. I think it's better to just not rely on the index and to have the sbitx app use the right name to find the right device regardless of index. That's why I recommended: Go into sbitx.c and change?"plughw:0,0" to?"plughw:CARD=audioinjectorpi,DEV=0". Go into sbitx_sound.c and change?"plughw:1,0" to?"plughw:CARD=Loopback,DEV=0". Go into sbitx_sound.c and change?"plughw:2,1" to?"plughw:CARD=Loopback_1,DEV=1". These are the default names. Your approach is an improvement because it assigns better names for the loopback devices. In turn this will make the documentation easier to write and understand, IMO. If we can assign a better name to the codec instead of "audioinjectorpi" then it too could be found by that name instead of "audioinjectorpi". On the other hand, some may say that this adds more complexity to /boot/config.txt and /etc/rc.local and makes it harder for "tinkerers" to understand what is going on because we're not using the default (standard?) names. Also it makes it more difficult for others to get the sbitx code by doing "./update", they also must change /etc/rc.local and /boot/config.txt to get the better names to be present.? We know many here aren't going to want to have to do that.? So, I think you are definitely getting to the heart of the matter, but may just want to try changing the code the way I suggest and seeing if it works with the default/standard names so that complexity is avoided.? If it works, the code can be merged then ./update will still work. Just use a simple editor (nano?) to change those three places to use the names I suggest, then do: cd $HOME ./build sbitx and see if it still works. -- Regards, Dave, N1AI |
Re: Issue #4 Raspberry Pi 4 HDMI audio modules conflict with loopbacks
On Sun, Feb 4, 2024 at 02:42 AM, Paul wrote:
I agree.
I am confident that I am showing the exact lines of code that set the device names in this post. I think that's not going to work.? 'modprobe' loads LKMs (loadable kernel modules) into the kernel. So 'snd-aloop' is the name of a module ( snd-aloop.ko ) that provides support for the loopback devices. I think changing the names this way will not work. ? -- Regards, Dave, N1AI |
Re: Issue #4 Raspberry Pi 4 HDMI audio modules conflict with loopbacks
On Sun, Feb 4, 2024 at 06:14 AM, Evan Hand wrote:
You can disable the HDMI audio in the config.text file in the boot folder. ?I am laid up and can not get to my computer to look up the specific line to add the ¡°,noaudio¡± to the end of the dev= line and do not remember the driver that the video is using.?I hope no one thinks I'm picking on you.? I admire your many helpful posts here.? I hope you are feeling better soon.? However, the point I am making is it should not be necessary to disable HDMI speakers, USB headsets, or the on-board headphone jack either, if just three lines of code in the sbitx application are changed. IMO, we should be asking the question "how can I use other audio devices" instead of "how do we turn off other audio devices". This is really relevant to those of us who have the board-only option and want to use the Pi in sbitx for many different things instead of it just being an embedded radio dsp/gui device. And, for Paul, he wants to use his USB headset without having to take it out every time he reboots. These are sensible goals, no? I admire Paul's work.? He already has a deeper understanding of the situation than I do. I don't really care which exact approach is taken.?? And in the case of Paul's work, maybe a better understanding of Linux's audio options will lead to everyone being able to use USB headsets and other USB-attached sound devices, perhaps Bluetooth as well. Unfortunately for me it's bad timing for me to dig deeper into this space, all I can do is keep trying to get people to focus on what I think the goal should be. ? -- Regards, Dave, N1AI |
Re: Issue #4 Raspberry Pi 4 HDMI audio modules conflict with loopbacks
Is there a way we can provide a selection of where the audio routes from some kind of command?? I would love to ideally route the mic and speaker to a bluetooth headset or some rtp stream or the default speaker/mic. - f On Sun, Feb 4, 2024, 6:36 PM Evan Hand <elhandjr@...> wrote:
|
MAX9814 Mic amplifier for uBitxV6
#microphone
#ubitx-help
#ubitx-v6
Hi all,
I want to use the MAX9814 microphone amp to improve the low SSB power O/P in uBitx. It have compression capability also. Many have used MAX9812, but MAX9812 is not available so I want to use MAX9814. Ned suggestions for the wiring to uBitx. Regards Ashok VU3KFK |
Re: Issue #4 Raspberry Pi 4 HDMI audio modules conflict with loopbacks
dtoverlay=vc4-kms-v3d,noaudio
toggle quoted message
Show quoted text
On 2/4/24 11:14, Evan Hand wrote:
|
Re: Issue #4 Raspberry Pi 4 HDMI audio modules conflict with loopbacks
You can disable the HDMI audio in the config.text file in the boot folder. ?I am laid up and can not get to my computer to look up the specific line to add the ¡°,noaudio¡± to the end of the dev= line and do not remember the driver that the video is using.?
|