-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Peak Graph | ||
|
||
> [!NOTE] | ||
> This code is taken from the *Composing a Peak Graph* chapter of the Cyma Book. | ||
![A peak graph visualizer with a grid backdrop and a unit ruler to the side.](doc/peak_graph.png) | ||
|
||
A peak analyzer plugin. | ||
|
||
This example plug-in uses a peak buffer that stores incoming audio as peaks that | ||
decay in amplitude. The buffer is behind an `Arc<Mutex>`. By cloning the Arc, a | ||
reference is sent to the editor. The editor uses the buffer to draw a `PeakGraph`. | ||
|
||
Behind it is a grid, and to the side of it is a unit ruler. These views are composed | ||
using VIZIA's *Stack* views. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.