Output audio from mic on bluetooth headset to phone speaker

I want to get audio from the mic on a bluetooth headset, send it to the connected phone, and play it on the phone speakers. I’m aware there are different profiles and protocols to be used, but I’m unsure on how to start. What method can I use to achieve this with minimum delay?

Context: A friend of mine works in healthcare and is shouting themself hoarse while speaking to others through the PPE. If possible, I’d like to provide them with an app that lets them use their phone speakers as a megaphone to amplify their voice – If such an app already exists, please let me know.

Thanks in advance.

(Im noob) ffmped create m3u8 dual audio

the jwplayer makes it dirty this type of file https://support.jwplayer.com/articles/multiple-audio-renditions-reference

I already installed ffmpeg, so I don’t know which parameter to use, if someone can help me

[Python][Moviepy] How to add a short silence in the end of an audio?

I’d like to include a short silence duration at the end of an audio clip. I haven’t found any specific functions in the Moviepy documentation, so I’ve resorted to creating a muted audio file of 500ms and concatenating it with the original audio file.

In some cases, this concatenation will introduce a noticeable glitch at the intersection, and I haven’t figured out why. I also realized by importing the concatenated audiofile to Audacity that Moviepy actually creates two audio tracks when concatenating.

Do you know a better way to add silence to the end of the clip, or maybe the reason why this glitch appears sometimes (in my experience about 1 every 4 instances)?

Here’s my code:

audio1 = AudioFileClip(temp_audio)                      #original audio file
audio2 = AudioFileClip(silence)                         #silence audio file
final_audio = concatenate_audioclips((audio1,audio2))
final_audio.write_audiofile(output)

I am currently using Python 3.9.5 and Moviepy 1.0.3

drivers – Ubuntu 20.04.2 LTS – no audio

I have tried everything I found online and yet no bloody audio. Please help!

inxi -SMA :

System: Host: MacBookPro Kernel: 5.4.0-48-generic x86_64 bits: 64 Desktop: Gnome 3.36.7
Distro: Ubuntu 20.04.2 LTS (Focal Fossa)
Machine: Type: Laptop System: Apple product: MacBookPro14,1 v: 1.0 serial: <superuser/root required>
Mobo: Apple model: Mac-B4831CEBD52A0C4C v: MacBookPro14,1 serial: <superuser/root required> UEFI: Apple
v: 428.0.0.0.0 date: 06/16/2020
Audio: Device-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel
Device-2: Broadcom and subsidiaries 720p FaceTime HD Camera driver: bdc-pci
Sound Server: ALSA v: k5.4.0-48-generic

ISO/IEC 13818-3 – Does apple iTunes have documentation on standards for audio file’s uploaded for streaming and the iTunes store

Documentation related to the ISO/IEC 13818-3 standard. The standard for information technology, generic coding of moving pictures, and associated audio information systems.

I would like to know before coding and modifying audio files such as .mp4 files submitted to the iTunes store or other media type’s such as Podcasts, that it applies to Apple’s media standards.

  • Or is there a universal pre-processing stage Apple implements when such audio files are submitted to iTunes?

So far I have only found a utility set that allows conversion from .wav files to .mp4 by iTunes. Would be nice to know what these conditions these droplet files and scripts provide, specification-wise.

The Mastering Suite (Apple)

audio – Play sound from two apps simultaneously

In Android, there are some things called tasks and processes. Whenever an app is opened, processes are started, threads are created, and these run and together make a task. Android system is multi-tasking, no doubt on that, because you can switch from one app to another through the tabs option in your phone.

But, Android system runs only one main task. When you open an app, and you’re currently using it, then it becomes the main process at that point of time. Other apps, which may be open, continue to run in background, but only one app and its processes run in foreground.

Playing music, that is, accessing the speaker, can be done by foreground processes only. If you start a music to be played by some media player, and press the home button, then also the music keeps playing. You might think that the music is playing in background, but that is not the case. In this case, even if you’ve come to home screen, then also the app processes are running in foreground, although you’re not able to see the app window.

If you try to open any app at that moment, immediately the media player app processes become background, and hence the music is stopped.

In Android, threads and tasks cam be killed by pressing the back button.

Two main processes cannot work in foreground together. Many processes may run in background, but only one foreground main process.

In this context, you cannot play sound from two different apps together.

20.04 – How prohibit applications to change audio settings

After last updates of Skype and Microsoft Teams this two programs messing up audio settings while incoming/outgoing call.
I’m using Bluetooth headset as Headphones(A2DP Bluetooth profile and not HFP/HSP) and internal mic from laptop as source of my voice.
By incoming/outgoing call Skype and Teams forcing my headset in HFP/HSP mode.
In settings of this programs i cannot use system default.
Only Headset or built-in audio.

In this askubuntu question i found that i need to edit pulseaudio config /etc/pulse/default.pa.

Change
load-module module-bluetooth-policy

To
load-module module-bluetooth-policy auto_switch=0

But it still switches mode.

How can i prohibit this behavior?

iptables – VoIP one-way audio, only when call initiated from one side

I am setting up some new switches and VLANs and I am getting trouble with our pre-existing Asterisk VoIP set-up.

Most calls work ok. Some get just one-way audio. I tried to narrow it down to this specific test situation:

Asterisk server is 10.0.10.10.

Call that works ok:

If phone 10.0.2.183 calls phone on 10.0.10.47, audio flows well both ways. This working call is depicted in this Wireshark diagram:
Capture of call that works well both ways

Call that gets only one-way audio:

If instead, I swap the situation and initiate from the other phone, i.e. phone 10.0.10.47 calls phone on 10.0.2.183, audio flows only one-way: 10.0.2.183 can’t hear 10.0.10.47. This faulty call is depicted in this Wireshark diagram:

enter image description here

NAT?

I see a lot of stuff online suggesting the typical cause of one-way audio is NAT. I don’t think I am using NAT. How can I check? This is all internal inside my LAN.

Firewall?

I have spent a ton of time tinkering with the iptables firewall on 10.0.10.10, opening everything up (even if just provisionally, as a test). I don’t see how it could be blocking this particular bit of traffic, while letting so much through. But I humbly submit that iptables is a wild beast that I cannot fully tame. Any ideas here?

Routing?

I also suspect possible routing issues, since I am moving servers around and isolating VLANs from each other (except the VoIP VLAN, which is 10.0.10.*, and should be accessible to all other VLANs). I had to play with the routing table on 10.0.10.10 to get some traffic going the way I want:

:/home1/_locals/operator# ip route
(1) 192.168.1.248/29 dev eth1  proto kernel  scope link  src 192.168.1.250
(2) 10.0.0.0/24 dev eth0  proto kernel  scope link  src 10.0.0.1
(3) 10.0.1.0/24 dev eth3  proto kernel  scope link  src 10.0.1.1
(4) 10.0.10.0/24 dev eth2  proto kernel  scope link  src 10.0.10.10
(5) 10.0.0.0/8 via 10.0.10.1 dev eth2
(6) default via 192.168.1.254 dev eth1

I’ve numbered the rules so you can comment on them if you want.

Any ideas on how to troubleshoot this? Why is everything going through except some very specific bits of RTP traffic? Thanks in advance for you help.

Additional requested info

DHCP Config in 10.0.10.0/24 network:

enter image description here

This should provide straight-forward routing tables on the phones, only 10.0.10.10 has static IP and the altered routing table provided further above.

Simplified network topology:

Simplified Network topology

In reality this is a lot more funky, I am half-way in a move between two topologies. So I have two 10.0.0.0 subnets, for example. But they are supposedly kept separate. My problem probably arises from this funkiness, but I need to pinpoint exactly which bit of configuration is missing to make it work.

Routing table on 10.0.10.1, which is Ubiquiti UDM

# ip route
10.0.0.0/24 dev br3 proto kernel scope link src 10.0.0.1
10.0.1.0/24 dev br5 proto kernel scope link src 10.0.1.1
10.0.2.0/24 dev br6 proto kernel scope link src 10.0.2.1
10.0.3.0/24 dev br4 proto kernel scope link src 10.0.3.1
10.0.10.0/24 dev br8 proto kernel scope link src 10.0.10.1
10.1.1.0/24 dev br0 proto kernel scope link src 10.1.1.1
10.2.2.0/24 dev br2 proto kernel scope link src 10.2.2.1
192.168.1.0/24 dev eth4 proto kernel scope link src 192.168.1.86

Firewall on the same host:

# iptables-save
# Generated by iptables-save v1.6.1 on Fri May  7 22:04:20 2021
*nat
:PREROUTING ACCEPT (30400:5954281)
:INPUT ACCEPT (9407:875595)
:OUTPUT ACCEPT (31671:2057109)
:POSTROUTING ACCEPT (25363:1582041)
:UBIOS_INPUT_JUMP - (0:0)
:UBIOS_OUTPUT_JUMP - (0:0)
:UBIOS_POSTROUTING_JUMP - (0:0)
:UBIOS_POSTROUTING_USER_HOOK - (0:0)
:UBIOS_PREROUTING_JUMP - (0:0)
-A PREROUTING -j LOG --log-prefix "::PREROUTING:"
-A PREROUTING -j UBIOS_PREROUTING_JUMP
-A INPUT -j LOG --log-prefix "::INPUT:"
-A INPUT -j UBIOS_INPUT_JUMP
-A OUTPUT -j LOG --log-prefix "::OUTPUT:"
-A OUTPUT -j UBIOS_OUTPUT_JUMP
-A POSTROUTING -j LOG --log-prefix "::POSTROUTING:"
-A POSTROUTING -j UBIOS_POSTROUTING_JUMP
-A UBIOS_POSTROUTING_JUMP -j UBIOS_POSTROUTING_USER_HOOK
-A UBIOS_POSTROUTING_USER_HOOK -o eth4 -m comment --comment 00000001095216660481 -j MASQUERADE
COMMIT
# Completed on Fri May  7 22:04:20 2021
# Generated by iptables-save v1.6.1 on Fri May  7 22:04:20 2021
*mangle
:PREROUTING ACCEPT (5740653266:1557524250007)
:INPUT ACCEPT (5729417629:1548285462113)
:FORWARD ACCEPT (11076849:9225341544)
:OUTPUT ACCEPT (5729656413:1548109771107)
:POSTROUTING ACCEPT (5741373562:1557359586630)
:UBIOS_FORWARD_JUMP - (0:0)
:UBIOS_FORWARD_TCPMSS - (0:0)
:UBIOS_FORWARD_USER_HOOK - (0:0)
:UBIOS_INPUT_JUMP - (0:0)
:UBIOS_INPUT_USER_HOOK - (0:0)
:UBIOS_OUTPUT_JUMP - (0:0)
:UBIOS_OUTPUT_USER_HOOK - (0:0)
:UBIOS_POSTROUTING_JUMP - (0:0)
:UBIOS_POSTROUTING_SHAPER - (0:0)
:UBIOS_POSTROUTING_USER_HOOK - (0:0)
:UBIOS_PREROUTING_JUMP - (0:0)
:UBIOS_PREROUTING_USER_HOOK - (0:0)
-A PREROUTING -j UBIOS_PREROUTING_JUMP
-A INPUT -j UBIOS_INPUT_JUMP
-A FORWARD -j UBIOS_FORWARD_JUMP
-A OUTPUT -j UBIOS_OUTPUT_JUMP
-A POSTROUTING -j UBIOS_POSTROUTING_JUMP
-A UBIOS_FORWARD_JUMP -j UBIOS_FORWARD_TCPMSS
-A UBIOS_POSTROUTING_JUMP -j UBIOS_POSTROUTING_SHAPER
COMMIT
# Completed on Fri May  7 22:04:20 2021
# Generated by iptables-save v1.6.1 on Fri May  7 22:04:20 2021
*filter
:INPUT ACCEPT (3169950958:856215960609)
:FORWARD ACCEPT (4175578:2973708433)
:OUTPUT ACCEPT (3170232928:856108555985)
:UBIOS_FORWARD_IN_USER - (0:0)
:UBIOS_FORWARD_JUMP - (0:0)
:UBIOS_FORWARD_OUT_USER - (0:0)
:UBIOS_FORWARD_USER_HOOK - (0:0)
:UBIOS_INPUT_JUMP - (0:0)
:UBIOS_INPUT_USER_HOOK - (0:0)
:UBIOS_IN_GEOIP - (0:0)
:UBIOS_LAN_IN_USER - (0:0)
:UBIOS_LAN_LOCAL_USER - (0:0)
:UBIOS_LAN_OUT_USER - (0:0)
:UBIOS_OUTPUT_JUMP - (0:0)
:UBIOS_OUTPUT_USER_HOOK - (0:0)
:UBIOS_OUT_GEOIP - (0:0)
:UBIOS_WAN_IN_USER - (0:0)
:UBIOS_WAN_LOCAL_USER - (0:0)
:UBIOS_WAN_OUT_USER - (0:0)
-A INPUT -j LOG --log-prefix "::INPUT1:"
-A INPUT -j UBIOS_INPUT_JUMP
-A FORWARD -j LOG --log-prefix "::INPUT2:"
-A FORWARD -j UBIOS_FORWARD_JUMP
-A OUTPUT -j LOG --log-prefix "::INPUT3:"
-A OUTPUT -j UBIOS_OUTPUT_JUMP
-A UBIOS_FORWARD_IN_USER -i eth4 -m comment --comment 00000001095216663481 -j UBIOS_WAN_IN_USER
-A UBIOS_FORWARD_IN_USER -i br0 -m comment --comment 00000001095216663482 -j UBIOS_LAN_IN_USER
-A UBIOS_FORWARD_IN_USER -i br2 -m comment --comment 00000001095216663483 -j UBIOS_LAN_IN_USER
-A UBIOS_FORWARD_IN_USER -i br3 -m comment --comment 00000001095216663484 -j UBIOS_LAN_IN_USER
-A UBIOS_FORWARD_IN_USER -i br4 -m comment --comment 00000001095216663485 -j UBIOS_LAN_IN_USER
-A UBIOS_FORWARD_IN_USER -i br5 -m comment --comment 00000001095216663486 -j UBIOS_LAN_IN_USER
-A UBIOS_FORWARD_IN_USER -i br6 -m comment --comment 00000001095216663487 -j UBIOS_LAN_IN_USER
-A UBIOS_FORWARD_IN_USER -i br8 -m comment --comment 00000001095216663488 -j UBIOS_LAN_IN_USER
-A UBIOS_FORWARD_JUMP -j UBIOS_FORWARD_USER_HOOK
-A UBIOS_FORWARD_OUT_USER -o eth4 -m comment --comment 00000001095216663481 -j UBIOS_WAN_OUT_USER
-A UBIOS_FORWARD_OUT_USER -o br0 -m comment --comment 00000001095216663482 -j UBIOS_LAN_OUT_USER
-A UBIOS_FORWARD_OUT_USER -o br2 -m comment --comment 00000001095216663483 -j UBIOS_LAN_OUT_USER
-A UBIOS_FORWARD_OUT_USER -o br3 -m comment --comment 00000001095216663484 -j UBIOS_LAN_OUT_USER
-A UBIOS_FORWARD_OUT_USER -o br4 -m comment --comment 00000001095216663485 -j UBIOS_LAN_OUT_USER
-A UBIOS_FORWARD_OUT_USER -o br5 -m comment --comment 00000001095216663486 -j UBIOS_LAN_OUT_USER
-A UBIOS_FORWARD_OUT_USER -o br6 -m comment --comment 00000001095216663487 -j UBIOS_LAN_OUT_USER
-A UBIOS_FORWARD_OUT_USER -o br8 -m comment --comment 00000001095216663488 -j UBIOS_LAN_OUT_USER
-A UBIOS_FORWARD_USER_HOOK -m comment --comment 00000001095216663481 -j UBIOS_FORWARD_IN_USER
-A UBIOS_FORWARD_USER_HOOK -m comment --comment 00000001095216663482 -j UBIOS_FORWARD_OUT_USER
-A UBIOS_INPUT_JUMP -j UBIOS_INPUT_USER_HOOK
-A UBIOS_INPUT_USER_HOOK -i eth4 -m comment --comment 00000001095216663481 -j UBIOS_WAN_LOCAL_USER
-A UBIOS_INPUT_USER_HOOK -i br0 -m comment --comment 00000001095216663482 -j UBIOS_LAN_LOCAL_USER
-A UBIOS_INPUT_USER_HOOK -i br2 -m comment --comment 00000001095216663483 -j UBIOS_LAN_LOCAL_USER
-A UBIOS_INPUT_USER_HOOK -i br3 -m comment --comment 00000001095216663484 -j UBIOS_LAN_LOCAL_USER
-A UBIOS_INPUT_USER_HOOK -i br4 -m comment --comment 00000001095216663485 -j UBIOS_LAN_LOCAL_USER
-A UBIOS_INPUT_USER_HOOK -i br5 -m comment --comment 00000001095216663486 -j UBIOS_LAN_LOCAL_USER
-A UBIOS_INPUT_USER_HOOK -i br6 -m comment --comment 00000001095216663487 -j UBIOS_LAN_LOCAL_USER
-A UBIOS_INPUT_USER_HOOK -i br8 -m comment --comment 00000001095216663488 -j UBIOS_LAN_LOCAL_USER
-A UBIOS_LAN_IN_USER -d 10.0.10.10/32 -j LOG
-A UBIOS_LAN_IN_USER -d 10.0.10.10/32 -m comment --comment 00000001095216662480 -j RETURN
-A UBIOS_LAN_IN_USER -s 10.0.10.10/32 -j LOG
-A UBIOS_LAN_IN_USER -s 10.0.10.10/32 -m comment --comment 00000001095216662481 -j RETURN
-A UBIOS_LAN_IN_USER -s 10.0.2.0/24 -m comment --comment 00000001095216666481 -j RETURN
-A UBIOS_LAN_IN_USER -s 10.0.3.0/24 -m comment --comment 00000001095216666482 -j RETURN
-A UBIOS_LAN_IN_USER -s 10.0.1.0/24 -m comment --comment 00000001095216666483 -j RETURN
-A UBIOS_LAN_IN_USER -s 10.2.2.0/24 -m comment --comment 00000001095216666484 -j RETURN
-A UBIOS_LAN_IN_USER -s 10.0.10.0/24 -m comment --comment 00000001095216666485 -j RETURN
-A UBIOS_LAN_IN_USER -s 10.1.1.0/24 -m comment --comment 00000001095216666486 -j RETURN
-A UBIOS_LAN_IN_USER -s 10.0.0.0/24 -m comment --comment 00000001095216666487 -j RETURN
-A UBIOS_LAN_IN_USER -j LOG
-A UBIOS_LAN_IN_USER -m comment --comment 00000001097364144127 -j RETURN
-A UBIOS_LAN_LOCAL_USER -j LOG
-A UBIOS_LAN_LOCAL_USER -m comment --comment 00000001097364144127 -j RETURN
-A UBIOS_LAN_OUT_USER -d 10.0.2.0/24 -m comment --comment 00000001095216666481 -j RETURN
-A UBIOS_LAN_OUT_USER -d 10.0.3.0/24 -m comment --comment 00000001095216666482 -j RETURN
-A UBIOS_LAN_OUT_USER -d 10.0.1.0/24 -m comment --comment 00000001095216666483 -j RETURN
-A UBIOS_LAN_OUT_USER -d 10.2.2.0/24 -m comment --comment 00000001095216666484 -j RETURN
-A UBIOS_LAN_OUT_USER -d 10.0.10.0/24 -m comment --comment 00000001095216666485 -j RETURN
-A UBIOS_LAN_OUT_USER -d 10.1.1.0/24 -m comment --comment 00000001095216666486 -j RETURN
-A UBIOS_LAN_OUT_USER -d 10.0.0.0/24 -m comment --comment 00000001095216666487 -j RETURN
-A UBIOS_LAN_OUT_USER -j LOG
-A UBIOS_LAN_OUT_USER -m comment --comment 00000001097364144127 -j RETURN
-A UBIOS_WAN_IN_USER -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment 00000001095216663481 -j RETURN
-A UBIOS_WAN_IN_USER -m conntrack --ctstate INVALID -m comment --comment 00000001095216663482 -j DROP
-A UBIOS_WAN_IN_USER -m comment --comment 00000001097364144127 -j DROP
-A UBIOS_WAN_LOCAL_USER -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment 00000001095216663481 -j RETURN
-A UBIOS_WAN_LOCAL_USER -m conntrack --ctstate INVALID -m comment --comment 00000001095216663482 -j DROP
-A UBIOS_WAN_LOCAL_USER -m comment --comment 00000001097364144127 -j DROP
-A UBIOS_WAN_OUT_USER -m comment --comment 00000001097364144127 -j RETURN
COMMIT

I don’t have any port forwarding configured. I am not versed in NAT so if there’s any other place I should be checking, please advise in the comments.

I will transcribe 30 min of your audio or video flawlessly for $20

I will transcribe 30 min of your audio or video flawlessly

Hi! Thanks for visiting me.

Looking for someone to transcribe your large (or small) English files? Great! Permit me to turn those files into accurately typed text for you.

When I transcribe your files, I pay special attention to grammar and spelling as well as Google search for names, acronyms, terminologies, etc. so you can rest assured that you’ll receive your desired result and much more.

I do podcast transcription, interviews, YouTube Videos, etc.

What you get with this ENGLISH TRANSCRIPTION service:

  • 100% readable transcripts
  • Speaker Identification
  • Google check corporate jargons, names etc.
  • Spelling/grammar check
  • Unlimited revisions
  • 100% satisfaction guaranteed
  • 100% confidentiality

Please send me a message before ordering to avoid cancellations!

Have any question or any special format requirements? Feel free to contact me, and you will get a prompt reply.

If the quality of your audio is not too good, please send me a message and I’ll let you know if I’ll be able to do the transcription for you.

Order your AUDIO TRANSCRIPTION or VIDEO TRANSCRIPTION now!

*Quality Meets Affordability*

.(tagsToTranslate)transcription(t)transcript(t)videotranscript(t)audiotranscript(t)transcriber(t)transcribe

audio – Sound pops in wireless headphones when using microphone through usb hub

  • HP Probook 650 G5

  • Ugreen USB 3.0 Hub / Switcher with 4 ports connected to the laptop

  • Wireless headset (Radiofrequency – JBL quantum 600) with USB dongle connected to the USB switcher

  • Sound is okay without problem when only listening to youtube or some other source of sound

  • When I open Sound Settings, I test the microphone on some website, or I am connected to Skype / Teams / Webex, the output starts to Pop and Crack, I can listen clear but the popping is annoying

  • When I press the button to switch to my personal laptop – Acer Predator G15, I test the microphone and everything is fine, I can clearly listen and talk without popping sound

  • When I put the USB dongle from the headset directly to the laptop, it works without popping but as I frequently switch between my two laptops I want to have the dongle connected to the USB switcher

  • I tried installing drivers, device manager reports no problem, some power management features from official HP site but nothing has resolved that

  • on my work laptop – where the problem is, I am using Windows 10 1909 version and on my personal laptop I have 2004 version