Questions tagged [speaker]

233 questions
4
votes
3 answers

How do I make the volume louder from this code in proccessing?

I've got the code to play a little sound from an arduino. The song has been encoded from numeric values. but how do I make it play louder from the arduino? #include int switchPin = 8; const unsigned char sample[] PROGMEM = { 140, 124,…
user1048682
  • 119
  • 4
  • 11
4
votes
3 answers

Manually driving the PC internal speaker

Is there any way, in any language (C preferred) to interface the PC internal speaker directly under Windows/Linux? (no DOS) I don't want to drive it at a specficic frequency for a given duration (no beep(frq, msecs)), but I'd rather send signals…
kaoD
  • 1,534
  • 14
  • 25
4
votes
1 answer

iOS pjsip 2.2 loud speaker switch fails

During the call I try to switch voice from internal speaker to Loud speaker on iOS device using pjsip 2.2 library. It returns TRUE as success, but physically it doesn't change sound destination. I use the next code - (BOOL)setLoud:(BOOL)loud { if…
4
votes
1 answer

How software echo canceller works?

I've read many VoIP echo topics, like What is echo cancellation? Causes of Echo And here is what I understand. Supposed there are A and B calling, and A hears his own voice (echo) Its B who causes echo. Because B's microphone has captured B's…
onmyway133
  • 45,645
  • 31
  • 257
  • 263
4
votes
1 answer

android cancel speakers output. Eliminate phone feedback

I'm developing some speech recognition app. I need to recognize words when the phone is ringing, but to do this I must cancel the speakers contribution to the microphone. So i want the microphone to ignore all audio coming from the speakers. I've…
Miquel
  • 307
  • 1
  • 4
  • 15
4
votes
1 answer

How to detect alarm ringing or other apps using speaker?

I am developing a music app. I want to detect that other apps using speaker or alarm ringing for play/pause music. For phone call i use PhoneStateListener. I tryed OnAudioFocusChangeListener for to detect other audios. But didn't work. I wondering…
N3CAT1
  • 367
  • 4
  • 13
3
votes
0 answers

iOS: Route audio-IN thru jack, audio-OUT thru inbuilt speaker

My project involves a magnetic card reader device that plugs into the phono socket (ie only uses microphone) Can I get my project to output sound through the inbuilt speaker while simultaneously listening for input from the device? Research suggests…
P i
  • 29,020
  • 36
  • 159
  • 267
3
votes
1 answer

Mic input to the speaker output on an iOS device?

How can I redirect the mic input to the speaker output on an iOS device? I know it feedbacks overtime, but how can I do it in code?
Ravi
  • 7,929
  • 6
  • 38
  • 48
3
votes
0 answers

how to control the Sound Through Speaker And Earphone in flutter

i,m use this hmssdk_flutter package , How can I toggle speaker? I mean switch between earphone (built-in earphone) and speaker. this hmssdk_flutter , Does not support switch in the ios , Only Android Is there a package, or a way to help me ot…
3
votes
1 answer

AudioManager setCommunicationDevice is not working on Android 12

I'm developing a mini native (Java) SDK to turn ON/OFF speaker for a react-native app for calls , because React-Native Incall Manager doesn't work properly on Android 12. Module is working good on Android 11, but since setSpeakerOn method from…
3
votes
0 answers

Is it possible to force audio through speakers while headphones are connected?

I need to force audio through speakers because there's a headphone jack tip stuck in my connector which is most likely not coming out. On android 8.0 I used an app called Audio Router to route the audio to speakers and it worked fine but after I…
Martin
  • 31
  • 1
3
votes
1 answer

TypeError: 'module' object is not callable . MFCC

Working on a project based on speaker recognition using python and getting the following error while finding MFCC. Traceback (most recent call last): File "neh1.py", line 10, in complexSpectrum = numpy.fft(signal) TypeError: 'module'…
Neha
  • 43
  • 1
  • 1
  • 5
3
votes
2 answers

How to parse a music into a array of frequencies and durations of its notes

Greetings, I'm working on a low level programming project and I want to play a music with the computer speaker. I'm already capable of using the speaker (with timer2) and a song is represented in the following way: note_t *music; where note_t…
Renato Rodrigues
  • 1,038
  • 1
  • 18
  • 35
3
votes
1 answer

How to work with the Microsoft Cognitive Services - Speaker Recognition API

I am completely new to the Microsoft Cognitive Services. I want to build a webproject which is completely speech controlled. For the speech control I am using arytom.js, which is a very simple and great API for my usage. It works fine for me, for…
Mixmarcil
  • 33
  • 4
3
votes
0 answers

WatchKit Sound from watch speaker without displaying controls

this has probably been covered before. I can play sound through the watch speaker (as long as no bluetooth device is connected). But it brings up the annoying controls. I want to play sound with no controls on a button press. Is there a way of…
ThundercatChris
  • 481
  • 6
  • 25
1
2
3
15 16