Open Terminal and run below command:
sudo apt-get install fonts-indic
du -sh file_path
Explanation
du (disc usage) command estimates file_path space usage The options -sh are (from man du):
-s, --summarize display only a total for each argument -h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G) To check more than one directory and see the total, use du -sch:
-c, --total produce a grand total That's a lot of unnecessary multiplication. Using a Boolean comparison and running it through np.diff will probably be faster:
zero_crosses = np.nonzero(np.diff(audioData > 0)))[0] What this is doing:
audioData > 0)np.diff) so locations of zero crossings become 1 (rising) and -1 (falling)np.nonzero). Then if you want the number of crossings, you can just take zero_crosses.size.
As a bonus you have the timings of all the crosses so you can do things like a histogram that shows where more crosses are happening in your time history.