Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

soundmems & FHT support #25

Open
Yariv-h opened this issue Mar 10, 2019 · 5 comments
Open

soundmems & FHT support #25

Yariv-h opened this issue Mar 10, 2019 · 5 comments

Comments

@Yariv-h
Copy link

Yariv-h commented Mar 10, 2019

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

@atuline
Copy link
Owner

atuline commented Mar 10, 2019

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.

@Yariv-h
Copy link
Author

Yariv-h commented Mar 11, 2019

:) 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 :)

@atuline
Copy link
Owner

atuline commented Mar 11, 2019

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

@Yariv-h
Copy link
Author

Yariv-h commented Mar 11, 2019

Will add it to there :)

@atuline
Copy link
Owner

atuline commented Mar 11, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants