scottlawsonbc / audio-reactive-led-strip

:musical_note: :rainbow: Real-time LED strip music visualization using Python and the ESP8266 or Raspberry Pi
MIT License
2.7k stars 642 forks source link

How whould you integrate this without a mic and Spotify Api? #332

Closed dalexhd closed 3 years ago

dalexhd commented 3 years ago

Hello, how could I integrate your project with the Audiio Analysis feature from spotify?

Great project :-)

Currently im abe to get the following data per track segment.

[
    "segment",
    {
        "start": 1.83882,
        "duration": 0.38027,
        "confidence": 0.78,
        "loudness_start": -41.235,
        "loudness_max_time": 0.18744,
        "loudness_max": -32.658,
        "loudness_end": 0,
        "pitches": [
            0.012,
            0.071,
            1,
            0.031,
            0.012,
            0.005,
            0.007,
            0.003,
            0.003,
            0.131,
            0.007,
            0.006
        ],
        "timbre": [
            22.452,
            -186.102,
            -0.776,
            -92.73,
            82.41,
            -24.082,
            20.773,
            -11.003,
            -38.828,
            -4.317,
            -4.442,
            14.146
        ]
    }
]
joeybab3 commented 3 years ago

I'm not sure how you would link that but its pretty far outside of the scope of this project atm