audio-reactive-led-strip icon indicating copy to clipboard operation
audio-reactive-led-strip copied to clipboard

Change mode without GUI

Open M0nSt3rManu opened this issue 5 years ago • 8 comments

Hi man, love this program, but i had some problems with the gui and i disabled it. Is there any way to change the mode without it?

M0nSt3rManu avatar Aug 12 '19 20:08 M0nSt3rManu

in visualize.py there is this line:

visualization_effect = visualize_spectrum
"""Visualization effect to display on the LED strip"""

Change it to the effect you want.

@scottlawsonbc We should move this to config.py maybe as "default_effect" or something?

joeybab3 avatar Aug 12 '19 20:08 joeybab3

Thank you so much for your fast response, can you list me the names of the effects to use?

M0nSt3rManu avatar Aug 12 '19 20:08 M0nSt3rManu

You caught me at work so I figured I might as well. The effects can also be found in visualize.py and are as follows:

visualize_energy
visualize_scroll
visualize_spectrum

joeybab3 avatar Aug 12 '19 20:08 joeybab3

Simple solution might be call visualization.py with arguments? example: python python/visualization.py spectrum I've added that feature to my fork so I'll create a pull request if you guys don't mind @joeybab3 @scottlawsonbc 👍

SealedJoy avatar Aug 21 '19 20:08 SealedJoy

Something similar was proposed in https://github.com/scottlawsonbc/audio-reactive-led-strip/pull/185, I ended up closing it because there was more added and I couldn't get an explanation from the original author.

I'll have a look at your pull and see if I can get some testing done.

joeybab3 avatar Aug 21 '19 21:08 joeybab3

Wow yeah those changes look much more in depth than what i added, but hopefully that makes it easier to unify. Have you tried that fork yet? I could try and help decifer it if needed

SealedJoy avatar Aug 27 '19 16:08 SealedJoy

Hi, saw this issue hasn't been updated in a while, and I'd really like to see the feature proposed here. Anything new?

7RST1 avatar Oct 10 '19 19:10 7RST1

This functionality has been incorporated in to this fork: https://github.com/naztronaut/dancyPi-audio-reactive-led

NickSutton avatar Oct 19 '19 00:10 NickSutton