FastLED-Demos icon indicating copy to clipboard operation
FastLED-Demos copied to clipboard

soundmems & FHT support

Open Yariv-h opened this issue 5 years ago • 5 comments

are there any plans to add the support of http://wiki.openmusiclabs.com/wiki/ArduinoFHT ?

Yariv-h avatar Mar 10 '19 11:03 Yariv-h

Not sure what you mean, as I do include an example that uses the (most excellent) FHT library in fht_log.ino. I'm looking to update that example with high speed A/D acquisition in the next couple of weeks when I get a chance.

In the meantime, I just published another repo with much better A/D acquisition that also uses the Open Music Labs FHT library.

Oh, and whoever wrote that FHT library is a genius.

atuline avatar Mar 10 '19 17:03 atuline

:) definitely! looking forward to that!!

I have a small piece of code that encapsulates the FHT lib I successfully integrate it with your effect, will try to create a branch in your repo and will contribute this part :)

Yariv-h avatar Mar 11 '19 11:03 Yariv-h

In the meantime, my program called 'notasound' (which is in the repo) contains my most recent non-FHT/FFT based sound reactive demos.

atuline avatar Mar 11 '19 13:03 atuline

Will add it to there :)

Yariv-h avatar Mar 11 '19 14:03 Yariv-h

Sounds interesting. In the meantime, my philosophy is that my display routines:

  • Fit on an Arduino Nano.
  • Do not use delay statements.
  • Define each variable as locally and as tightly as possible, i.e. uint8_t instead of a poorly defined int.
  • Variables are all localized unless they are used elsewhere.
  • No floats.
  • No nested loops.
  • Use math instead of pixel counting i.e. fast sine routines to move LED's.
  • The routines need to be short.
  • The fps needs to be very high.

atuline avatar Mar 11 '19 15:03 atuline