voice

How to Recognise when user START & STOP speaking in android? (Voice Recognition in Android)

拟墨画扇 提交于 2019-12-02 19:51:41
I have done a lot of R&D and gone through a lot of resources to resolve my problem but I have FAILED to get any proper solution. I have developed an app, now i want to add Voice based functionality to it. The required features are 1) when USER starts speaking, it should record the audio/video and 2) when user stops speaking, it should play the recorded audio/video . Note :Here video means whatever user performs within app during that period of time. For example, clicks on the buttons or some kind of animation, etc. I don't want to use Google's Voice Recognizer available by default in the

Delphi - OLE类实现TTS方式语音朗读

拜拜、爱过 提交于 2019-12-02 18:39:42
Delphi调用OLE类实现TTS方式语音朗读 直接看代码: unit uMain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Comobj, Dialogs, StdCtrls, RzButton; type TFrmMain = class(TForm) btnStart: TRzBitBtn; mmMsg: TMemo; procedure btnStartClick(Sender: TObject); private { Private declarations } public { Public declarations } end; var FrmMain: TFrmMain; implementation {$R *.dfm} procedure TFrmMain.btnStartClick(Sender: TObject); var voice: OLEVariant; begin voice := CreateOLEObject('SAPI.SpVoice'); voice.Speak(mmMsg.Lines.Text, 0); end; end. 看效果: 来源: https://www.cnblogs.com

Change voice during phone call android

拟墨画扇 提交于 2019-12-02 18:29:44
I want to make an android application that allow user change the voice during phone call. For example: You are a man, you can change the voice to a woman or robot when talking over phone. It is like a funny prank. I work around android's API and google for some days but still have no idea. Some one told is impossible but I see some app on google play can do: https://play.google.com/store/apps/details?id=com.gridmob.android.funnycall So I think there are some ways to do that. I think about recording and play back by using AudioTracker but I have 2more problem: 1. I cannot mute the voice from

iOS开发 - 滑动控制屏幕亮度和系统音量(附加AVAudioPlayer基本用法和Masonry简单使用)

江枫思渺然 提交于 2019-12-02 14:44:37
如图,左侧上下滑动改变亮度,右侧上下滑动改变音量。 1.改变屏幕亮度 //获得当前屏幕亮度 light = [UIScreen mainScreen].brightness; light = 0.5f; //直接赋值或者使用set方法皆可 [UIScreen mainScreen].brightness = light ; 2.改变系统音量 使用的比较多的就是通过MPMusicPlayerController来改变系统音量,主要归功于MPMusicPlayerController的音量和系统的同步。 MPMusicPlayerController *mpVC = [MPMusicPlayerController applicationMusicPlayer]; //获得系统当前音量 voice = _mpVC.volume; voice = 0.5f ; //改变系统音量 _mpVC.volume = voice; 3.滑动响应方法 - ( void )leftSwipGes:(UIPanGestureRecognizer *)leftSwip { //滑动方法获取到当前位置的y坐标 leftCurrentY = [leftSwip translationInView:leftView] .y ; NSLog (@ "left" ); //当前坐标大于上一次移动的坐标,为向下滑动

English Voice of <<Everything I Need >>

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-02 07:50:53
Born on the wrong side of the ocean 生在海的逆流一端 With all the tides against you 潮汐日夜向你侵袭 You never thought you'd be much good for anyone 你从未想过自己对他人有何种非凡意义 But that's so far from the truth 但这真实一面此刻却难以企及 I know there's pain in your heart 我明白你内心的伤痛 And you're covered in scars 知道你满身彪炳的伤痕 Wish you could see what I do 多么希望你能明白我的用心 'Cause baby, everything you want 你所渴望的一切 Is everything I need 亦是我无比渴求的迫切 You're everything to me 你于我而言就是一切 Baby, every single part 宝贝每一部分每一面的你 Is who you're meant to be 都是你与生俱来的注定 'Cause you were meant for me 因为你就是我的注定 And you're everything I need 你是我渴望的全部意义 You can say I'm

How to convert audio byte to samples

做~自己de王妃 提交于 2019-12-02 03:52:55
问题 This is my struct /* wave data block header */ typedef struct wavehdr_tag { LPSTR lpData; /* pointer to locked data buffer */ DWORD dwBufferLength; /* length of data buffer */ DWORD dwBytesRecorded; /* used for input only */ DWORD_PTR dwUser; /* for client's use */ DWORD dwFlags; /* assorted flags (see defines) */ DWORD dwLoops; /* loop control counter */ struct wavehdr_tag FAR *lpNext; /* reserved for driver */ DWORD_PTR reserved; /* reserved for driver */ } WAVEHDR, *PWAVEHDR, NEAR

Offline Speech Recognition in Android

二次信任 提交于 2019-12-02 02:23:54
I searched a lot on StackOverFlow for this Problem but the Threads are older than 3 years old. I implemented the Google Voice Recognition which requires a Internet Connection. Searching how i can use the Offline Voice Recognition brought no success. Is it now available to use the Voice Recognition when you're offline? My code until yet: speechStartButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { promtSpeechInput(); } }); private void promtSpeechInput() { Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); intent.putExtra

PlatformNotSupportedException Using .NET Speech Recognition

陌路散爱 提交于 2019-12-02 00:26:00
问题 So I'm trying voice recognition for C#, I'm using System.Speech.Recognition, and, I was searching around on the internet, trying out several pieces of code for some basic speech recognition, the best one I could find was this: using System; using System.Text; using System.Windows.Forms; using System.Speech.Recognition; namespace SpeechRecognition { public partial class MainForm : Form { SpeechRecognitionEngine recognitionEngine; public MainForm() { InitializeComponent(); Initialize(); }

How to convert audio byte to samples

微笑、不失礼 提交于 2019-12-02 00:05:17
This is my struct /* wave data block header */ typedef struct wavehdr_tag { LPSTR lpData; /* pointer to locked data buffer */ DWORD dwBufferLength; /* length of data buffer */ DWORD dwBytesRecorded; /* used for input only */ DWORD_PTR dwUser; /* for client's use */ DWORD dwFlags; /* assorted flags (see defines) */ DWORD dwLoops; /* loop control counter */ struct wavehdr_tag FAR *lpNext; /* reserved for driver */ DWORD_PTR reserved; /* reserved for driver */ } WAVEHDR, *PWAVEHDR, NEAR *NPWAVEHDR, FAR *LPWAVEHDR; I have this variable WAVEHDR waveHeader; I record 10 secs from microphone and

Offline Speech Recognition in Android

瘦欲@ 提交于 2019-12-01 23:04:08
问题 I searched a lot on StackOverFlow for this Problem but the Threads are older than 3 years old. I implemented the Google Voice Recognition which requires a Internet Connection. Searching how i can use the Offline Voice Recognition brought no success. Is it now available to use the Voice Recognition when you're offline? My code until yet: speechStartButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { promtSpeechInput(); } }); private void