Skip to content

Commit

Permalink
Untrack panpi.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansuchocki committed Dec 22, 2022
1 parent 4f3fe8e commit 79a3640
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 43 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ panpi_sim
.vscode
gmon.out
prof_output
panpi.cfg

*.d
*.o
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ After rebooting, I was able to verify that the display driver was loaded by disp
1. `$ git clone [email protected]:ryansuchocki/panpi.git --recurse-submodules`
2. `$ cd panpi`
3. `$ make`
4. Customise `panpi.cfg` (see below)
5. `$ ./panpi`
4. `$ cp panpi.cfg.template panpi.cfg`
5. Customise `panpi.cfg` (see below)
6. `$ ./panpi`

## Configuration

Expand Down
9 changes: 5 additions & 4 deletions panpi.cfg → panpi.cfg.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# Source type selection. Should be 'soundcard' or 'file'
source: soundcard
# source: file

# Device selection (only applies if the source type is 'soundcard')
# May be an ALSA identifier string (such as 'hw:1,0' or 'default)
Expand All @@ -10,14 +11,14 @@ source: soundcard
# device: auto

# Source file path (only applies if the source type is 'file')
file: test/1min.dat
file: /dev/urandom

# Capture sample rate
sample_rate: 96000

# Set to 'true' to render to an X11 window rather than direct
# to the framebuffer
# x_window: true
x_window: true

# Capture gain level
capture_gain: 1.0
Expand All @@ -27,8 +28,8 @@ dc_alpha: 0.999

# Upper and lower reference levels for the spectrogram and
# waterfall display. Use this to "zoom in/out" vertically.
refl: 8.0
refh: 18.0
refh: -20
refl: -120

# Smoothing factors for the spectrogram display
sgam_spread: 1
Expand Down
37 changes: 0 additions & 37 deletions src/template.cfg

This file was deleted.

0 comments on commit 79a3640

Please sign in to comment.