agehama / minimal_spectrum_analyzer Goto Github PK
View Code? Open in Web Editor NEWA tiny, embeddable command-line sound visualizer
License: MIT License
A tiny, embeddable command-line sound visualizer
License: MIT License
Followed the build instructions but the build fails:
debian@BeagleBone:~/minimal_spectrum_analyzer-build$ make
Consolidate compiler generated dependencies of target muFFT
[ 40%] Built target muFFT
Consolidate compiler generated dependencies of target analyzer
[ 50%] Linking CXX executable analyzer
/usr/bin/ld: cannot find -lmuFFT-avx
/usr/bin/ld: cannot find -lmuFFT-sse
/usr/bin/ld: cannot find -lmuFFT-sse3
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/analyzer.dir/build.make:100: analyzer] Error 1
make[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/analyzer.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
im using oh-my-zsh theme agnoster
and trying to modify it with your analyuzer
setopt PROMPT_SUBST
#this part are original agnoster code
prompt_visual(){
prompt_segment black default "%B%F{yellow}[$(tail -n 1 ~/Documents/build/analyzer_log)]"
}
build_prompt() {
RETVAL=$?
prompt_visual
prompt_status
prompt_virtualenv
prompt_aws
prompt_context
prompt_dir
prompt_git
prompt_bzr
prompt_hg
prompt_end
}
TMOUT=1
TRAPALRM() {
zle reset-prompt
}
currently it updates every second, and it looks very laggy, not smooth
i tried to change the TMOUT=1 to 0.x, apparently , any number smaller than 1, will freeze prompt_visual
do you have solution for this?
how did you get the smooth effect like the gif in your page
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.