Questions tagged [speaker]

233 questions
1
vote
1 answer

How to choose a suitable decision threshold in the inference of a model?

I am carrying out an speaker recognition project, I have the model already trained and its precision is 90%, but I have a problem when I make inference, the model gives two probabilities, since it was trained for two interlocutors, but I want that…
1
vote
0 answers

Speaker on not working during calls Android 11

The below code works fine on Android 10, 9, 8. But it doesn't work on Android 11. AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); if (!mSpeakerOn) { …
xiaolin
  • 31
  • 1
1
vote
0 answers

Convert internal.Writable to NodeJS.WritableStream

I want to output sound to my speaker using ytdl-core and fluent-ffmpeg I get the sound from yt and use ffmpeg to convert it to pcm and now i want to pipe it to my speaker speaker uses internal.Writable naudiodon uses NodeJS.WritableStream when…
1
vote
1 answer

is it possible to map people to transcript with AWS transcribe?

I need to use some transcription service to transcribe speech. I recieve very good results with AWS transcribe. But i also need to know which person says what. Is this possible with AWS transcribe? I cannot find anything about this. ex. what i get…
1
vote
2 answers

Swift callkit sometimes can't activate loudspeaker after received call (only incoming call)

after follow @Marco comment, i updated code like below, but still not working, the loudspeaker sometimes can not enabled Before report new call/ user accepted call I called the 2 methods below: configureAudioSessionToDefaultSpeaker() func…
famfamfam
  • 396
  • 3
  • 8
  • 31
1
vote
0 answers

Pair and Connecting to Bluetooth Classic Speaker iOS

I realise most of the searches are quite old on this topic and not after Core Bluetooth now supports more than just BLE connections (https://developer.apple.com/videos/play/wwdc2019/901?time=556). Simply by running the RxBluetoothKit example app I…
1
vote
1 answer

iOS 14.2 directs app audio output to ear speaker instead of bottom speaker

An app that I built has always output its audio through the bottom speaker (speakerphone), but it now outputs to the front (ear) speaker. I have not changed the app, so I assume the cause must be iOS 14.2, which I recently installed. The app uses…
Anton
  • 2,512
  • 2
  • 20
  • 36
1
vote
1 answer

Speaker diarization tool for 3+ participants

We have a video library 3k+ files mostly tech conference and townhalls, mono channel, with 1-10 speakers. Now we would like to run the speaker diarization process. We tried to use Batch transcription REST…
1
vote
0 answers

Set speaker phone on even handset is attached in android

Generally it happens that when we attach hand set to phone, the speaker automatically goes to off mode. Is it possible to set speaker on and also same time handset also attached? If not possible then please explain the reason. Thank You.
Nirav
  • 5,700
  • 4
  • 34
  • 44
1
vote
2 answers

Can't switch from front to rear speaker

I'm working on my app that plays a sound file through the front speaker or the rear speaker, and that can be changed 'on the fly'. Here is the code: // mediaPlayer was created previously and then started to play ok private void…
dondindon
  • 11
  • 1
1
vote
1 answer

Expected lstm_1 to have shape (20, 256) but got array with shape (1, 76)

I am building a neural net for speaker recognition and I am having problems with dimensions, I must be doing something wrong in the batch generator, but I have no idea what. My steps are as follows. First I prepare labels: labels = [] with…
1
vote
1 answer

What are the different (int routes) values for setAudioRoute (int routes)?

Where can I find a list for the different "int routes" available for the following functions : setAudioRoute (int routes) or setRouting (int mode, int routes, int mask) I would like to find a list with the different int like : 1 = speakers 2 =…
odgatelmand
  • 393
  • 1
  • 5
  • 16
1
vote
0 answers

Any way to use the onboard system beep (a.k.a. PC speaker) as Windows audio device?

We have a lot of older Touch-PC systems that only need to show our web visualization. These systems do not have any audio devices onboard, there's just the good old plain PC speaker that can output beeps. Now we need to trigger a warning beep signal…
Rob
  • 11,492
  • 14
  • 59
  • 94
1
vote
0 answers

Streaming audio from remote service and play it in speakers

I have a streaming service running with help of RTP Stream class. I could able to stream audio from a remote IP. I have used wireshark to check the connection and it is receiving packets from the server. Now I would like to play the received audio…
cantona_7
  • 1,127
  • 4
  • 21
  • 40
1
vote
0 answers

Speaker isn't an available input when airpods are connected

I am trying to override me application's audio to speaker when the user hits a button but speaker doesn't show as an available audioutput when airpods are connected. What can i do to make the sound go to speaker? This code works when any other…
user1079052
  • 3,803
  • 4
  • 30
  • 55