Posts

Showing posts from November, 2016
Image
Download English Dictionary words for Microcontroller based Text to Speech (TTS) convertor: What is TTS? Speech synthesis is the artificial production of human speech. A computer system used for this purpose is called a speech computer or speech synthesizer, and can be implemented in software or hardware products. A text-to-speech (TTS) system converts normal language text into speech; other systems render symbolic linguistic representations like phonetic transcriptions into speech. Basic architecture is explained in following block diagram.   Microcontroller feed with text data from any interface . microcontroller make tokens of that string into and compare appropriate soud file per word from data bases. After getting all index of each word of string micro controller play sound files one after another with proper delay in words. As per post title I am going to use Python script to make my own speech files database(format in mp3). Prerequisite : 1) Installed python 2.7 ( Down
Image
Raspberry pi 3 kernel module compilation:   Raspberry pi 3 kernel module compile : Step 1: Update current kernel $sudo apt-get update $sudo apt-get upgrade $sudo apt-get install bc $sudo apt-get install gcc Step 2: Download linux headers for current kernel version $uname -r > 4.4.26-v7+ copy kernel version and goto url https://www.niksula.hut.fi/~mhiienka/Rpi/linux-headers-rpi/ and find your kernel version here in my case   linux-headers-4.4.26-v7+_4.4.26-v7+-2_armhf.deb 20-Oct-2016 21:07 6891064 Download it Step3: Now install the downloaded inux headers. $sudo dpkg -i linux-headers-4.4.26-v7+_4.4.26-v7+-2_armhf.deb it takes while let it be complete without interrupt process. Step 4 : $cd $mkdir kmod $cd kmod $sudo nano hello-1.c copy and past following programe in file then save it [^X] /*hello−1.c − The simplest kernel module.*/ #include < linux/init.h >             //linux/init.h Macros used to mark up functions e.g., __in