Update 'README.md'
This commit is contained in:
parent
2fe3d2f425
commit
a4e4ae8409
@ -27,7 +27,7 @@ $ redis-cli get spectrum_10
|
||||
* The audio volume for the scene is pretty low.
|
||||
* It is obtained by averaging the RMS of every audio frame during the capture.
|
||||
|
||||
**_spectrum_10_**
|
||||
***spectrum_10***
|
||||
* **Mode** spectrum
|
||||
* **Type** array of float numbers (0.0-10.0)
|
||||
* **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.
|
||||
* 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
|
||||
* **Type** array of float numbers (0.0-10.0)
|
||||
* **Length** 120
|
||||
@ -50,7 +50,7 @@ $ redis-cli get spectrum_10
|
||||
* 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.
|
||||
|
||||
**_bpm_sample_interval_**
|
||||
***bpm_sample_interval***
|
||||
* **Mode** bpm
|
||||
* **Type** float
|
||||
* **Length** scalar(1)
|
||||
@ -60,7 +60,7 @@ $ redis-cli get spectrum_10
|
||||
* `"3000.0"`
|
||||
* Each audio sample used to detect the beats is 3s long.
|
||||
|
||||
**_bpm_delay_**
|
||||
***bpm_delay***
|
||||
* **Mode** bpm
|
||||
* **Type** float
|
||||
* **Length** scalar(1)
|
||||
|
Loading…
Reference in New Issue
Block a user