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

export DISPLAY=:0 run on Pi 4 8GB RAM #29

Open
lovehifi opened this issue Aug 28, 2023 · 0 comments
Open

export DISPLAY=:0 run on Pi 4 8GB RAM #29

lovehifi opened this issue Aug 28, 2023 · 0 comments

Comments

@lovehifi
Copy link

I run on Pi 4 8GB Ram (64 bit)
Linux 6.1.21-v8+ aarch64 GNU/Linux
LCD 5 inche

Using command: export DISPLAY=:0 && python3 run_FFT_analyzer.py
Show it OK, spectrum not play.

I check sound of pippopeppy is OK, Pygame work with pippopeppy is OK.

My log:
##################################################################################################

Defaulted to using first working mic, Running on:

MIC 1:
defaultHighInputLatency: 0.034829931972789115
defaultHighOutputLatency: 0.034829931972789115
defaultLowInputLatency: 0.008707482993197279
defaultLowOutputLatency: 0.008707482993197279
defaultSampleRate: 44100.0
hostApi: 0
index: 1
maxInputChannels: 32
maxOutputChannels: 32
name: pippopeppy
structVersion: 2

##################################################################################################
Recording from pippopeppy at 41000 Hz
Using (non-overlapping) data-windows of 42 samples (updating at 976.19fps)

Applying temporal smoothing to the FFT features...
Smoothing buffer contains 3 FFT windows (sigma: 1.000) --> min_contribution: 13.534%
Filter weights:
03: 0.233
02: 1.045
01: 1.722
Using FFT_window_size length of 2460 for FFT ---> window_size = 60ms
##################################################################################################

-- Starting live audio stream...

Starting spectrum visualizer...

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

1 participant