Questions tagged [speaker]

233 questions
2
votes
2 answers

Maximum frequency of any mobile phone speaker

I want to know , what is the maximum frequency of mobile speaker look at this image : I want to create and android application to generate sounds with particular frequency , but before that I want to know what frequencies can be generated by…
2
votes
0 answers

iPhone: force audio output to speaker with headphones plugged in

It seems that the accepted way of doing this is to set the AV category to AVAudioSessionCategoryPlayAndRecord, and then set the property kAudioSessionOverrideAudioRoute_Speaker. I'm using the category AVAudioSessionCategoryPlayback, because it gives…
Rick Clark
  • 33
  • 1
  • 6
2
votes
2 answers

How to enable speaker in pjsip android app?

I am trying to use the speaker in my pjsip app, so I am using setOutputRoute: pjmedia_aud_dev_route route=pjmedia_aud_dev_route.PJMEDIA_AUD_DEV_ROUTE_LOUDSPEAKER; MyApp.ep.audDevManager().setOutputRoute(route, true); but I am getting an error:…
2
votes
1 answer

Play Audio from Microphone through Speakers

I'm wondering how I can, in Java, preferably using DataLine capture audio from the microphone, and play it directly to the speakers, even if there is some delay. Basically, I want to be able to take the audio from the microphone, store a buffer of a…
user2649681
  • 750
  • 1
  • 6
  • 23
2
votes
1 answer

Android : Force audio routing

I would like to change the sound device output in my Android app. I want to use the speaker of the phone when the headset plugged. I've tried to use setSpeakerphoneOn from AudioManager classaudioManager.setSpeakerphoneOn(true); with…
Mattt1438
  • 101
  • 1
  • 7
2
votes
0 answers

How to use PlayAndRecord session with ability to switch output to Speaker

I'm writing and iOS audio/video chat app with several pre-conditions: I'm using PlayAndRecord category to establish a audio/video chat. I have also a button to which allows user to switch to the phone speaker whenever he wants. I'm using AirPlay to…
Mando
  • 11,414
  • 17
  • 86
  • 167
2
votes
0 answers

IOS Audio is playing on ear piece though it is forced to play on speaker

I m working on VoIP app which has a requirement to play audio on speaker by default and I have used the below code for the purpose.But still audio is playing on ear piece.Any Idea whats going wrong.My app is supposed to run on ios7 and in ios7 there…
2
votes
1 answer

Play two song on two iphone output [iOS]

Here the problem, I want to play a song using the default iphone speaker and an other using the headset in the same time, is it possible ? I use two AVAudioSession in my case. I trie using this but this property is apply to all the AVaudioSession…
Le Brun
  • 87
  • 7
2
votes
1 answer

MATLAB code for a lot of Gaussian Mixture Model

I have applied gaussmix from MATLAB's voicebox tools to calculate a Gaussian Mixture Model (GMM). However, the code gives me an error when I run it for 512 GMM components. No_of_Clusters = 512; No_of_Iterations =…
Ali Bodaghi
  • 71
  • 2
  • 10
2
votes
1 answer

How does LIUM Speaker Diaritization work?

in my project, I am using the library called LIUM_SpkDiarization-4.7.jar, but I am not quite sure how does it work. Could anyone, please, explain it a bit? Also, I'm using it with python. The link to the library is:…
dmacan23
  • 765
  • 1
  • 9
  • 17
2
votes
0 answers

AVSpeechSynthesizer speaker on

I can hear the text read through my headphones when they are connected. However, if I disconnect headphones it doesn't play at all. How do I turn on speaker for this speech? This is my code: [syn…
jhoblik
  • 21
  • 3
2
votes
3 answers

Audio Volume in Apple's speakHere example code

I am trying to increase the volume of my Audio Output using the speakHere example from Apple. The volume is already set to max with : // set the volume of the queue XThrowIfError (AudioQueueSetParameter(mQueue, kAudioQueueParam_Volume, 1.0),…
Alan
  • 796
  • 9
  • 26
2
votes
1 answer

Sending audio to a bluetooth enabled speaker, IOS

I want to add a function to my App, where the user can choose to play the audio on a bluetooth enabled speaker. I have a Parrot Easydrive in my car and this works for phonecalls and for example the Dictafoon App among others. I understand that I…
Marcel
  • 21
  • 2
2
votes
2 answers

iOS Novocaine play on speaker

I´m trying to use Novocaine to play some audio withe high performance, but the sample code I found plays the audio only in the earphone, but I want it to play it on the speaker... is that possible? thanks
Badjano
  • 418
  • 7
  • 23
2
votes
2 answers

kAudioSessionOverrideAudioRoute_Speaker issue

i need to trigger the iphone audio route back and forth from speaker to normal mode very quickly. I've created an audio Session similar to this site: http://atastypixel.com/blog/using-remoteio-audio-unit/ Im creating a app that can do VOIP. So let…
j2emanue
  • 60,549
  • 65
  • 286
  • 456