hvianna / audioMotion-analyzer

High-resolution real-time graphic audio spectrum analyzer JavaScript module with no dependencies.
https://audioMotion.dev
GNU Affero General Public License v3.0
643 stars 63 forks source link

Is there a way to set the background color or even make it alpha = 0? #80

Closed alanosman closed 4 months ago

alanosman commented 4 months ago

I'm still learning about this great tool and got stuck. I tried following the instructions but always got a black background. I really want to make it alpha.

Thanks

tomsdob commented 4 months ago

Was stuck with the same problem and found a fairly hard to find description of how to get the background transparent in the readme: https://github.com/hvianna/audioMotion-analyzer?tab=readme-ov-file#showbgcolor-boolean

Adding these made the background transparent:

showBgColor: false,
overlay: true,
hvianna commented 4 months ago

Check showBgColor as it links to all other related properties.

I'm moving this to Discussions.