Questions tagged [voice]

A voice in programming may refer to voice synthesis (e.g. transforming text to speech) and voice recognition (e.g. transforming speech to text, voice commands).

A voice in programming may refer to voice synthesis (e.g. transforming text to speech) and voice recognition (e.g. transforming speech to text, voice commands).

Despite being an rather old engineering task (with some commercial products available in late 1990-s) it's still considered advanced and challenging technology and it's very far from perfection.

1122 questions
69
votes
17 answers

android mediaRecorder.setAudioSource failed

I have android G1 firmware 1.6, I am trying to record voice from the app with the follow code. MediaRecorder recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC); …
user121196
  • 30,032
  • 57
  • 148
  • 198
62
votes
13 answers

Getting the list of voices in speechSynthesis (Web Speech API)

Following HTML shows empty array in console on first click:
Mehdi
  • 4,202
  • 5
  • 20
  • 36
47
votes
16 answers

Voice Recognition Software For Developers

Well the docs finally said it, I need to take it easy on my wrist for a few months. Being that I'm a .NET Developer this could end my livelihood for a little while, something I'm not anxious to do. That said, are there any good handsfree options for…
tekiegreg
  • 1,667
  • 6
  • 25
  • 41
46
votes
4 answers

What are language codes in Chrome's implementation of the HTML5 speech recognition API?

Chrome implemented the HTML5 speech recognition API. Many languages are supported. I wanna know which languages are supported and each language's corresponding code which is used in the HTML element's lang attribute. For instance: Polish…
weilou
  • 4,419
  • 10
  • 43
  • 56
41
votes
6 answers

How to programmatically use iOS voice synthesizers? (text to speech)

iOS devices have embedded voice synthesizers for Accessibility's VoiceOver feature. Is there a way you can use these synthesizers programmatically to generate text-based sounds? My problem is: I'm working on a simple app for kids to learn colors and…
Mick F
  • 7,312
  • 6
  • 51
  • 98
37
votes
3 answers

Voice recognition on android with recorded sound clip?

I've used the voice recognition feature on Android and I love it. It's one of my customers' most praised features. However, the format is somewhat restrictive. You have to call the recognizer intent, have it send the recording for transcription…
CodeFusionMobile
  • 14,812
  • 25
  • 102
  • 140
31
votes
3 answers

Streaming voice between Android Phones over WiFi

I'm trying to stream audio from the mic from 1 Android to another over WiFi. After looking at some examples I made 2 applications with a single activity in each, 1 to capture and send audio and the other to receive. I've used the Audiorecord and…
Alabhya
  • 490
  • 1
  • 9
  • 16
29
votes
5 answers

How to Record Voice in android?

I am trying to record the voice in android But it will create the .mp3 file on the path (sdcard/filename) But when i run this file it doesen't play because it doesn't record the voice. Here is My code public void onClick(View v) { // TODO…
Amandeep singh
  • 1,865
  • 7
  • 21
  • 41
25
votes
1 answer

speechSynthesis.getVoices() returns empty array on Windows

I am making a Chrome Extension, in which I am using Speech Synthesis. When I type speechSynthesis.getVoices() in the console I get an Array of 21 different voices. Great! When I console.log() the same line within my javascript code, I get an Empty…
Melvin Abraham
  • 2,870
  • 5
  • 19
  • 33
22
votes
2 answers

How to record sound in OS X Terminal?

I need to record voice from built-in microphone using only Terminal.app in Mac OS X. Is there any way?
roboslone
  • 2,847
  • 3
  • 20
  • 28
20
votes
1 answer

Voice Recognition as a background service

Is it possible to implement an activity as a service? My activity is a voice recognition activity. I want to have the activity running in the background of the app constantly checking for voice and when the user says a command it will recognize it…
IZI_Shadow_IZI
  • 1,921
  • 4
  • 30
  • 59
20
votes
2 answers

Android Text-To-Speech API Sounds Robotic

I'm learning android development for the first time and my goal is to create a simple Hello World application that takes in some text, and reads them out loud. I've based my code off an example I found and here's my code: class MainFeeds :…
19
votes
4 answers

Algorithm to remove vocal from sound track

I want to remove vocals from mp3 sound tracks. I searched google, and tried few softwares but none of them are convincing. I am planning to read the mp3 file, get a waveform and remove the waveform that is above a specified limit. do you have any…
Boolean
  • 14,266
  • 30
  • 88
  • 129
19
votes
0 answers

How to simulate audio input to Microphone using .wav file

My target is to use a .wav file as a substitute for microphone input in the Emulator. The .wav file has to be recognized and processed by the Speech Recorder in the Android emulator. I want to test the Speech Recorder by giving voice commands from…
Hareesh Jr
  • 215
  • 1
  • 8
17
votes
4 answers

What is a good approach for extracting portions of speech from an arbitrary audio file?

I have a set of audio files that are uploaded by users, and there is no knowing what they contain. I would like to take an arbitrary audio file, and extract each of the instances where someone is speaking into separate audio files. I don't want to…
stef
  • 14,172
  • 2
  • 48
  • 70
1
2 3
74 75