![]() ![]() I have, indeed, worked in nine different companies and successively adopted the vision of the service provider, the customer and the software editor. In more than 15 years, I have built-up a solid experience around various integration projects (data & applications). Imagine that you recorded your voice with the following lyrics: "L'histoire commence un beau matin tout le monde va bien les élèves sont heureux" This portion of code records your microphone for 10 seconds and stores the result in the output.wav file Voice recognition in French with Google Wf.setsampwidth(p.get_sample_size(sample_format)) P = pyaudio.PyAudio() # Create an interface to PortAudioįrames = # Initialize array to store framesįor i in range(0, int(fs / chunk * seconds)): Sample_format = pyaudio.paInt16 # 16 bits per sampleįs = 44100 # Record at 44100 samples per second ![]() Note: You can remove some of the import files if you don’t want to get that feature as here Twilio for making calls and messages if you don’t want to use that you can simply remove that function.Chunk = 1024 # Record in chunks of 1024 samples To install this module type the below command in the terminal.
0 Comments
Leave a Reply. |