voice

voice recording using pyaudio

六月ゝ 毕业季﹏ 提交于 2020-01-11 04:00:09
问题 i am trying to record voice using python. i tried to use the pyaudio module it saved a wav file on my computer but recorded a static voice. any suggestions? import pyaudio import wave CHUNK = 1024 FORMAT = pyaudio.paInt16 CHANNELS = 2 RATE = 44100 RECORD_SECONDS = 5 WAVE_OUTPUT_FILENAME = "voice.wav" p = pyaudio.PyAudio() stream = p.open(format=FORMAT, channels=CHANNELS, rate=RATE, input=True, frames_per_buffer=CHUNK) print("* recording") frames = [] for i in range(0, int(RATE / CHUNK *

How to slow down text to Speech with SSML - voice sounds distorted/warped/ghastly

 ̄綄美尐妖づ 提交于 2020-01-06 15:40:16
问题 i am using nuance dragon mobile sdk for iPhone, for using text to speech. The readed text is a little bit to fast and i want to make it slower, so the user can learn the words. My aim is to slow down the text a bit. That works very fine with SSML and prosody tag, see this code: <prosody rate="slow">This is the text which is spoken slow, but the voice sounds distorted/warped/ghastly</prosody> The voice sounds distorted, warped and ghastly . Do you understand what i mean? What can i do to get a

how to modify the following command line?

落爺英雄遲暮 提交于 2020-01-05 04:40:36
问题 I have the following gstreamer Command-line : gst-launch alsasrc ! mulawenc ! rtppcmupay ! udpsink host= 127.0.0.1 port=5555 It records Mono Voice and i can hear it ,if i listen on 5555 port ( echo IP was used). But i need to transmit Stereo . I have also tried my Microphone for stereo-recording Capability using the following command: arecord -vv -fdat voiceFile.wav and it works. Does anyone know how to specify stereo in the gstreamer command? 回答1: The problem is that rtppcmupay does not

SmokeTest测试流程

拈花ヽ惹草 提交于 2020-01-04 03:45:20
没办法了,本来是表格,但是粘贴不过来 测试目的: 用于检测该版本在基本的应用场景下,基本的功能是否满足。 测试前提: 发货版本 示例:ATV9冒烟测试测试项解读 表格获取:Google ATV help官网。 Test Plan Version 1.1.2_External_and_3PL Device/Build details Build fingerprint(s) being tested: Use: adb shell getprop ro.build.fingerprint <fingerprint(s)> Reference fingerprint of previously Approved build: Populate this if only running the 'Lite test' cases, and relying on fuller tests from previously Approved builds. See details here: <fingerprint(s)> https://support.google.com/androidpartners_androidtv/answer/9020145 Area Lite test? Test What to look for Exclusions / Applicability

当4G only遇上Voice not available?

丶灬走出姿态 提交于 2020-01-01 13:33:19
最近,我司又返回中国市场了,并且在终端不支持CDMA的情况下要求支持中国电信的LTE/VoLTE,然后场测team就报出了各种各样类似的Bug, 如下: 单插CT卡: 问题1. MUT can’t camp on China telecom Chang Sha network 问题2. UE OOS after turn off VoLTE in Settings. L+L组合,Non-DDS非数据卡上关掉VoLTE开关或者在4G优先和4G only间更改网络模式: 问题3. Disable the “Enhanced 4G LTE Mode” button, the card will lose the network 问题4. OoS occurs while changing non-data SIM’s preferred network type from 4G preferred to 4G only. 其实,之前讲过《 4G强场下开机,为什么我的4G图标晃了一下就消失了? 》,所以上面的四个问题都可以归结于此,因此舌战群儒,跟测试团队的各种解释,手机Work as design,结果意外地发现了Q司的一个改善用户体验的后门(被这个后门打了脸,Q司并没有按照协议去做) --- 当设置成4G only模式后,如果是单卡或者是DDS Sub,即使当前Voice not

What's your Interactive Voice Response Platform? [closed]

久未见 提交于 2020-01-01 12:32:13
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . For those of you working in the voice space, what are you using as your IVR platform? I am using Microsoft Speech Server 2007. What are some equivalent packages? Is anyone using open source software for handling inbound or outbound calls? Note that I'm not just talking about speech recognition, which is one

How to Record Voice in android?

孤街醉人 提交于 2020-01-01 04:00:12
问题 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 Auto-generated method stub switch(v.getId()){ case(R.id.Button01): try { //audio.start(); startRecord(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } case(R.id.Button02): //audio.stop(); stopRecord(); } } private void

Android Text-To-Speech API Sounds Robotic

℡╲_俬逩灬. 提交于 2019-12-28 12:33:26
问题 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 : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main_feeds) card.setOnClickListener{ Toast.makeText(this, "Hello", Toast.LENGTH_LONG).show() TTS(this, "Hello this

Android Text-To-Speech API Sounds Robotic

最后都变了- 提交于 2019-12-28 12:33:10
问题 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 : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main_feeds) card.setOnClickListener{ Toast.makeText(this, "Hello", Toast.LENGTH_LONG).show() TTS(this, "Hello this

How to open Activity based on the voice command

风格不统一 提交于 2019-12-23 20:06:28
问题 I am doing dashboard application in which there are lot of screens. When the user tell the voice command based on that I need to open the activity. I don't know where to start I have already completed all the screens and I would like to implement voice search. my app screens are Advances, Leaves, Recruitment, Permissions, Notifications etc Example: when the user say 'Advances' it should open the advances screens. Please help me. 回答1: 1) Start a voice recognition intent 2) Handle the returned