Questions tagged [speaker]
233 questions
1
vote
0 answers
Switching audio to speaker doesn't stay
When I have my airpods connected, switching audio to speaker doesn't stay.This code works in all states except when airpods are connected.
var err: Error? = nil
let session = AVAudioSession.sharedInstance()
do {
try…

user1079052
- 3,803
- 4
- 30
- 55
1
vote
0 answers
Internal speaker under Windows 10
since Windows 7 the "Beep" function from Windows API has been changed to make the sound come from the default audio device instead of the internal audio speaker; but the speaker output in motherboards that still have it should still be usable by…

Barnack
- 921
- 1
- 8
- 20
1
vote
1 answer
bluez endpoints not working for an audio source
I am trying to play audio from Raspbian to a bluetooth speaker using A2DP.
From looking at test/simple-endpoint in the bluez source, it appears that running it without arguments should register an endpoint with the A2DP_SOURCE_UUID of…

Jeremy Spiegel
- 111
- 7
1
vote
1 answer
Control left & right speaker balance level on Windows 10 using C#
I need to control the left & right speaker balance level on Windows 10 using my C# application.
I was able to control the master volume level of speaker and microphone using Windows IAudioEndpointVolume interface through the Audio Manager C#…

Dhammika Marasinghe
- 23
- 6
1
vote
1 answer
Voice Recorder: speaker playback by default
I've created a voice recorder that plays back through the earpiece; however, I want to play back by speaker. I've added the following (Swift 4):
let audioSession = AVAudioSession.sharedInstance()
do {
try…

grehce
- 199
- 2
- 15
1
vote
2 answers
Why would different bluetooth speakers behave differently with respect to AVAudioSession (IOS)
I have an app that plays audio.
I'm trying to get all "edge cases" taken care of before app release.. no matter how slight.
As you may know... apps that play audio need to tell the IOS system how they intend to behave. Does their audio interrupt…

Nerdy Bunz
- 6,040
- 10
- 41
- 100
1
vote
2 answers
Which feature, algorithm is good for Speaker Verification
I have a task with speaker verification.
My task is calculate the similarity between two audio speech voice, then compare with a threshold.
Ex: similarity score between two audio is 70%, threshold is 50%. Hence the speaker is the same person.
The…

Can Nguyen
- 11
- 2
1
vote
1 answer
Is it possible to send real-time data to Azure Speaker Recognition API?
I am writing a voice-related project. I am developing a function to distinguish the voices of the people in the voices in real time.
I use the Microsoft Azure Speaker Recognition API to distinguish people's voices.
According to the API guide, I have…

jangwon
- 21
- 1
1
vote
0 answers
Bluetooth Speaker support with Bluez 4.101
I would like to know if audio streaming using external bluetooth speaker is supported with bluez 4.101.
I have tried the same using bluez 5.43 on Raspberry Pi and it works well with bluetoothctl and aplay.
However,I could not find bluetoothctl in…

Praneet Kaur
- 11
- 3
1
vote
0 answers
Disable top speaker on iPhone 7
In my app, I use the default speaker (at the bottom of the phone) to play music and the top-front microphone to record user voice. Before iPhone7, I was glad with this, because the top-front microphone did not record (too much) the speakers…

ddp
- 185
- 1
- 10
1
vote
0 answers
Speaker Volume Control - Without visuals! VB.NET
I found out a ways change speakers volume but one thing annoys me. Why do I have to see these visuals?
visuals image
I am using these functions
SendMessage(Me.Handle, WM_APPCOMMAND, &H30292, APPCOMMAND_VOLUME_DOWN * &H10000)
SendMessage(Me.Handle,…

Kiran
- 33
- 4
1
vote
2 answers
How to check weather speaker is in use or not in android?
I am using audio manger but how to check if speaker is in use or not?
audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);

sajal
- 169
- 10
1
vote
1 answer
roc curve and speaker recognition
I am using Euclidean distance for speaker recognition. I want to plot the ROC curve using perfcurve in MATLAB. Since the scores are the resulting euclidean distances, am I doing right? Thanks
Labels=[1 1 1 1 1 1 1 0 0 1];
scores=[18.5573 15.3364…

Weeky Crush
- 29
- 6
1
vote
0 answers
How to get a HTML5 audio tag audio to come from receiver instead of speaker?
I was trying to do the following on IPhone:
load a webpage on UIWebView control in my application.
The webpage has an audio tag ( in HTML5) with source of the audio file set correctly.
Webpage loads correctly and when I click on play…

xmlsingh
- 39
- 1
- 3
1
vote
1 answer
Integrating javascript with computer sound input device
I am developing an app with javascript which records audio using html 5 audio context. I want to develop a feature which needs whether the current active sound device is connected microphone or default laptop/computer microphone and adjust its…

Prasanna Mahendiran
- 466
- 5
- 15