Skip to content

Commit

Permalink
Update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
billthefarmer committed Sep 9, 2021
1 parent 9fa9561 commit 5c248c7
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 12 deletions.
34 changes: 23 additions & 11 deletions linux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,30 @@ required.


## Using

Play your instrument into your microphone and observe the
display. The oscilloscope display at the top shows the input
waveform. The display below shows the spectrum of the input. It
may be zoomed in and out by clicking on the pane. When zoomed in
the display shows about ±50 cents around the current note and
includes all concurrent notes within that range.
Play your instrument into your microphone and observe the display. The
oscilloscope display at the top shows the input waveform. The display
below shows the spectrum of the input. It may be zoomed in and out by
clicking on the pane. When zoomed in the display shows about ±50 cents
around the current note and includes all concurrent notes within that
range.

## Building

Use the simple makefile provided. The convoluted GNU autoconfig/automake system appears to work, but overwrites the makefile with one that doesn't work. There is a backup in `Makefile.de`.
Use the simple makefile provided. The convoluted GNU
autoconfig/automake system appears to work, but overwrites the
makefile with one that doesn't work. There is a backup in
`Makefile.de`.

### Raspberry Pi

The app builds ok on a pi, but will not work because of the lack of an audio input. It should work fine with one - untested.
The app builds ok on a pi, but will not work because of the lack of an
audio input. It should work fine with one - untested.

## Install
Copy the binary `tuner` to `/usr/local/bin`. That's:
```shell
$ git clone https://github.com/billthefarmer/ctuner.git
$ cd ctuner/linux/
$ sudo apt install libasound2-dev libgtk-3-dev
$ make
$ sudo cp tuner /usr/local/bin/
```
On a debian/ubuntu/linux mint/raspberry pi system.
1 change: 0 additions & 1 deletion linux/tuner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2115,7 +2115,6 @@ void update_options()
}

// Key press

gboolean key_press(GtkWidget *window, GdkEventKey *event, gpointer data)
{
switch (event->keyval)
Expand Down

0 comments on commit 5c248c7

Please sign in to comment.