I’ve got this idea in my head that I want a tofi based sound board that I can summon on a button press (and maybe fuzzy find through)
Should be fairly simple to do with the way tofi works to make the interface, but as far as I can find there’s not a quick and easy way to mix sounds in with mic input using pactl
Is there any single line solution for playing a sound over mic (like a soundboard would) anyone can think of or do I need to mess around with virtual audio devices to achieve this
I believe pipewire should be able to do the routing. Pulseaudio as well.
Soundux comes to mind but it’s not tofi :/
I tried soundux, within 5 minutes of running it it was eating cpu and froze my pc up
Tofi can do the sound searching stuff based on MP3 files in a directory, just need a way to play a sound on top of an input device from the cli
pipewire will do the trick, might be slightly overkill tho
I think I’m using pipewire anyway, how are you thinking?
You mention pactl so I’m not sure if you’re using pipewire, but if you are there is qpwgraph or helvum you could try
I’m using pulse, had thought pipewire ran alongside it but I suppose that’s wrong. Will have a look anyway though
pulse audio and pipewire are mutually exclusive, but pipewire has a pluse module so all your programs can still work even if they dont support pipewire
Oooh fantastic thank you
I use Voicemeter Potato to do virtual mixing of inputs. If you’ve got an output you should be able to route it through Voicemeter.
… Assuming that it works on Linux.
It looks like somebody was trying to do a Linux version here: https://github.com/theRealCarneiro/pulsemeeter so I assume Voicemeter doesn’t work on Linux.
There’s probably some way to manipulate PulseAudio to do this as well? But the Pulsemeeter option Is probably your best bet even if the repo hasn’t been touched in 2 years.
Last release being 2 years ago is a bit of a red flag for me, and being able to play funny sounds in voice chats is not worth a potential security issue
Fair
But also it shouldn’t need any network access. The code is open source and you can look through it if you’ve got the expertise.
I don’t have the expertise to spot if someone’s able to pull some dark wizard shit and encode a binary in audio and get it to execute it or something
Seriously though I know enough to know I won’t spot some obscure bad practice in someone else’s code base, even without network access if someone gets onto my system some other way it could give them a route to escalate
All true. It seems obscure and niche enough to not be a scam. There’s only a single contributor and based on his activity elsewhere it seems like it was probably just a passion project.
Oh I have no doubt it’s legitimate, my concern is just that it’s unmaintained
/shrug
I’d take that bet, but I often am relying on packages that are significantly out of date as a professional Android developer. 2 years is mild.
There’s no obvious rootkit unless the developer put it in and if it works with your version of Pulse then I wouldn’t see what the issue could be. It’s mostly a front end access to your Pulse where you’re making and mixing digital.
Security consciousness is good but I think you can trust this one.
But I’m also just a stranger on the Internet ❤️
I’m not that anal about my security but it’s a very trivial thing and if I ended up getting any of my network compromised to make a soundboard there are several people in my life who would shoot me