This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//////////////////////////////////////////////////////////////////////////////// | |
/// | |
/// Beats-per-minute (BPM) detection routine. | |
/// | |
/// The beat detection algorithm works as follows: | |
/// - Use function 'inputSamples' to input a chunks of samples to the class for | |
/// analysis. It's a good idea to enter a large sound file or stream in smallish | |
/// chunks of around few kilosamples in order not to extinguish too much RAM memory. | |
/// - Inputted sound data is decimated to approx 500 Hz to reduce calculation burden, | |
/// which is basically ok as low (bass) frequencies mostly determine the beat rate. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# ^^^ YAML documents must begin with the document separator "---" | |
# | |
#### Example docblock, I like to put a descriptive comment at the top of my | |
#### playbooks. | |
# | |
# Overview: Playbook to bootstrap a new host for configuration management. | |
# Applies to: production | |
# Description: | |
# Ensures that a host is configured for management with Ansible. |
I hereby claim:
- I am naggie on github.
- I am naggie (https://keybase.io/naggie) on keybase.
- I have a public key ASB9uGHAMZgoCraaRl0O0-rYI5Q3Yzkbnv1k2G_v0l8Bkwo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
VERSION=3.7.12 | |
NAME=Python-${VERSION} | |
TGZ_FILE=${NAME}.tgz | |
sudo apt update | |
sudo apt -y install \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
VERSION=3.9.5 | |
NAME=Python-${VERSION} | |
TGZ_FILE=${NAME}.tgz | |
sudo apt update | |
sudo apt -y install \ |