See answers by Amir Poorjam on RG https://www.researchgate.net/post/Why_we_take_only_12-13_MFCC_coefficients_in_feature_extraction He has also given his lecture notes https://www.researchgate.net/profile/Amir-Hossein-Poorjam/post/Why_we_take_only_12-13_MFCC_coefficients_in_feature_extraction/attachment/5e29bb633843b093839ccbc1/AS%3A850528695238656%401579793251438/download/Mfccs.pdf . These are very good. Have a look at this thesis and read the portions you like https://ir.canterbury.ac.nz/handle/10092/7561
Learn from the experts: Create a successful blog with our brand new course
Are you new to blogging, and do you want step-by-step guidance on how to publish and grow your blog? Learn more about our new Blogging for Beginners course and get 50% off through December 10th.
cv2.imwrite/cv2.imread are faster than np.save/np.load on numpy matrices with integers
In one of the ongoing projects, I generate a lot of small matrices (~1000 entries). These are often written to the disk and read from it. I was trying to optimize this step since this step run in a REST api. The standard way is numpy.save and numpy.load which works fine. My experience with opencv … Continue reading cv2.imwrite/cv2.imread are faster than np.save/np.load on numpy matrices with integers
Convert webm file to WAV
Download the following script. Make sure you have ffmpeg installed on your system. https://gitlab.com/-/snippets/2049789.js
Farm Bill | Err on the side of caution
My father is a farmer. He works and lives in western U.P., a relatively prosperous area in terms of ground-water and road connectivity. He is not sufficiently poor. He managed to pay for my college (circa 2007). I spent the first 21 years of my life in the village, often working on the farms. It … Continue reading Farm Bill | Err on the side of caution
Review of small microcontrollers for embedded systems | The Amazing $1 microcontrollers
Look no further! https://jaycarlson.net/microcontrollers/ (Wayback Machine link) has the most exhaustive review of µC I've ever read. And here is the Hacker News links https://hn.algolia.com/?q=amazing+%241+microcontroller
Generate Android Bundle (.aab file) for a Cordova app
Cordova 8.1+ supports generating Android Bundle (.aab file). Usually cordova generates an .apk file for your app. Playstore often warns about .apk file about it's bloated size. To generate an .aab file, add --packageType=bundle option to your cordova build command. cordova build android --release -- --packageType=bundle Signed bundles Here is the command I use to … Continue reading Generate Android Bundle (.aab file) for a Cordova app
Getting X11 (XQuartz) to work on OSX
Today I finally managed to get XQuartz to work on a mac mini. I use this machine as server to test my code for OSX. Its a horrible machine to do any development (I am an OSX noob and a terminal junkie). Usually I login to this machine (named strudel) from my Linux workstation using … Continue reading Getting X11 (XQuartz) to work on OSX
argmax in pure Python
Python does not have an inbuilt argmax function. numpy does. Here is one implementation. def argmax(ls : list) -> int: _m, _mi = -math.inf, 0 # requires `import math` at top for i, v in enumerate(ls): if v > _m: _m = v _mi = i return _mi There is also a one-liner which I … Continue reading argmax in pure Python
Adding google-analytics to your vue application
I am using Google's global site gags (gtags) on my framework7+vue application to collect data. The gtag official documentation has an easy to use example. Anyway, I prefer vue-gtag library. install vue-gtag npm install vue-gtag Add following to your vue app. Usually you have to edit src/js/app.js file or equivalent file where vue is being … Continue reading Adding google-analytics to your vue application
fd is an awesome replacement of find command
Recently, I came across fd command. It is written in Rust and suppose to replace find command. fd is amazing, PERIOD. It has much better user experience. Check out the official demo below, My pet peeve with find command is not that it has too many options, but that these options are hard to figure … Continue reading fd is an awesome replacement of find command