Update 'README.md'

This commit is contained in:
alban 2020-09-29 14:06:02 +00:00
parent 2fe3d2f425
commit a4e4ae8409

View File

@ -27,7 +27,7 @@ $ redis-cli get spectrum_10
* The audio volume for the scene is pretty low. * The audio volume for the scene is pretty low.
* It is obtained by averaging the RMS of every audio frame during the capture. * It is obtained by averaging the RMS of every audio frame during the capture.
**_spectrum_10_** ***spectrum_10***
* **Mode** spectrum * **Mode** spectrum
* **Type** array of float numbers (0.0-10.0) * **Type** array of float numbers (0.0-10.0)
* **Length** 10 * **Length** 10
@ -39,7 +39,7 @@ $ redis-cli get spectrum_10
* That value being `0.27` is pretty low meaning almost no audio volume for that octave. * That value being `0.27` is pretty low meaning almost no audio volume for that octave.
* It is calculated by averaging the volume of the octave's notes, e.g. `C4, D4, D#4, E4, F4, F#4, G4, G#4, A4, A#4, B4`. * It is calculated by averaging the volume of the octave's notes, e.g. `C4, D4, D#4, E4, F4, F#4, G4, G#4, A4, A#4, B4`.
**_spectrum_120_** ***spectrum_120***
* **Mode** spectrum * **Mode** spectrum
* **Type** array of float numbers (0.0-10.0) * **Type** array of float numbers (0.0-10.0)
* **Length** 120 * **Length** 120
@ -50,7 +50,7 @@ $ redis-cli get spectrum_10
* The audio volume for the `C2` note is `spectrum_10[23]` (12x2 - 1). * The audio volume for the `C2` note is `spectrum_10[23]` (12x2 - 1).
* That value being `0.81` is average meaning there is some audio volume for that octave. * That value being `0.81` is average meaning there is some audio volume for that octave.
**_bpm_sample_interval_** ***bpm_sample_interval***
* **Mode** bpm * **Mode** bpm
* **Type** float * **Type** float
* **Length** scalar(1) * **Length** scalar(1)
@ -60,7 +60,7 @@ $ redis-cli get spectrum_10
* `"3000.0"` * `"3000.0"`
* Each audio sample used to detect the beats is 3s long. * Each audio sample used to detect the beats is 3s long.
**_bpm_delay_** ***bpm_delay***
* **Mode** bpm * **Mode** bpm
* **Type** float * **Type** float
* **Length** scalar(1) * **Length** scalar(1)