-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto-generate documentation for each Node class
- Loading branch information
Showing
148 changed files
with
1,743 additions
and
174 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
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
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
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
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
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,10 @@ | ||
[Reference library](../index.md) > [Analysis](index.md) > [CrossCorrelate](crosscorrelate.md) | ||
|
||
# CrossCorrelate | ||
|
||
Outputs the cross-correlation of the input signal with the given buffer. If hop_size is zero, calculates the cross-correlation every sample. | ||
|
||
Signature: | ||
```python | ||
CrossCorrelate(input=None, buffer=None, hop_size=0) | ||
``` |
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,7 @@ | ||
[Reference library](../index.md) > [Analysis](index.md) | ||
|
||
# Analysis | ||
|
||
- **[CrossCorrelate](crosscorrelate.md)**: Outputs the cross-correlation of the input signal with the given buffer. If hop_size is zero, calculates the cross-correlation every sample. | ||
- **[OnsetDetector](onsetdetector.md)**: Simple time-domain onset detector. Outputs an impulse when an onset is detected in the input. Maintains short-time and long-time averages. An onset is registered when the short-time average is threshold x the long-time average. min_interval is the minimum interval between onsets, in seconds. | ||
- **[VampAnalysis](vampanalysis.md)**: Feature extraction using the Vamp plugin toolkit. |
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,10 @@ | ||
[Reference library](../index.md) > [Analysis](index.md) > [OnsetDetector](onsetdetector.md) | ||
|
||
# OnsetDetector | ||
|
||
Simple time-domain onset detector. Outputs an impulse when an onset is detected in the input. Maintains short-time and long-time averages. An onset is registered when the short-time average is threshold x the long-time average. min_interval is the minimum interval between onsets, in seconds. | ||
|
||
Signature: | ||
```python | ||
OnsetDetector(input=0.0, threshold=2.0, min_interval=0.1) | ||
``` |
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,10 @@ | ||
[Reference library](../index.md) > [Analysis](index.md) > [VampAnalysis](vampanalysis.md) | ||
|
||
# VampAnalysis | ||
|
||
Feature extraction using the Vamp plugin toolkit. | ||
|
||
Signature: | ||
```python | ||
VampAnalysis(input=0.0, plugin_id="vamp-example-plugins:spectralcentroid:linearcentroid") | ||
``` |
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,10 @@ | ||
[Reference library](../index.md) > [Buffer](index.md) > [BeatCutter](beatcutter.md) | ||
|
||
# BeatCutter | ||
|
||
Cuts a buffer into segment_count segments, and stutters/jumps with the given probabilities. | ||
|
||
Signature: | ||
```python | ||
BeatCutter(buffer=None, segment_count=8, stutter_probability=0.0, stutter_count=1, jump_probability=0.0, duty_cycle=1.0, rate=1.0, segment_rate=1.0) | ||
``` |
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,10 @@ | ||
[Reference library](../index.md) > [Buffer](index.md) > [BufferLooper](bufferlooper.md) | ||
|
||
# BufferLooper | ||
|
||
Read and write from a buffer concurrently, with controllable overdub. | ||
|
||
Signature: | ||
```python | ||
BufferLooper(buffer=None, input=0.0, feedback=0.0, loop_playback=false, loop_record=false) | ||
``` |
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,10 @@ | ||
[Reference library](../index.md) > [Buffer](index.md) > [BufferPlayer](bufferplayer.md) | ||
|
||
# BufferPlayer | ||
|
||
Plays the contents of the given buffer. start_time/end_time are in seconds. When a clock signal is receives, rewinds to the start_time. | ||
|
||
Signature: | ||
```python | ||
BufferPlayer(buffer=None, rate=1.0, loop=0, start_time=None, end_time=None, clock=None) | ||
``` |
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,10 @@ | ||
[Reference library](../index.md) > [Buffer](index.md) > [BufferRecorder](bufferrecorder.md) | ||
|
||
# BufferRecorder | ||
|
||
Records the input to a buffer. feedback controls overdub. | ||
|
||
Signature: | ||
```python | ||
BufferRecorder(buffer=None, input=0.0, feedback=0.0, loop=false) | ||
``` |
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,10 @@ | ||
[Reference library](../index.md) > [Buffer](index.md) > [FeedbackBufferReader](feedbackbufferreader.md) | ||
|
||
# FeedbackBufferReader | ||
|
||
Counterpart to FeedbackBufferWriter. | ||
|
||
Signature: | ||
```python | ||
FeedbackBufferReader(buffer=None) | ||
``` |
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,10 @@ | ||
[Reference library](../index.md) > [Buffer](index.md) > [FeedbackBufferWriter](feedbackbufferwriter.md) | ||
|
||
# FeedbackBufferWriter | ||
|
||
Counterpart to FeedbackBufferReader. | ||
|
||
Signature: | ||
```python | ||
FeedbackBufferWriter(buffer=None, input=0.0, delay_time=0.1) | ||
``` |
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,10 @@ | ||
[Reference library](../index.md) > [Buffer](index.md) > [GrainSegments](grainsegments.md) | ||
|
||
# GrainSegments | ||
|
||
GrainSegments | ||
|
||
Signature: | ||
```python | ||
GrainSegments(buffer=None, clock=0, target=0, offsets={}, values={}, durations={}) | ||
``` |
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,10 @@ | ||
[Reference library](../index.md) > [Buffer](index.md) > [Granulator](granulator.md) | ||
|
||
# Granulator | ||
|
||
Granulator. Generates a grain from the given buffer each time a clock signal is received, with the given duration/rate/pan parameters. The input buffer can be mono or stereo. | ||
|
||
Signature: | ||
```python | ||
Granulator(buffer=None, clock=0, pos=0, duration=0.1, pan=0.0, rate=1.0, max_grains=2048) | ||
``` |
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,13 @@ | ||
[Reference library](../index.md) > [Buffer](index.md) | ||
|
||
# Buffer | ||
|
||
- **[BeatCutter](beatcutter.md)**: Cuts a buffer into segment_count segments, and stutters/jumps with the given probabilities. | ||
- **[BufferLooper](bufferlooper.md)**: Read and write from a buffer concurrently, with controllable overdub. | ||
- **[BufferPlayer](bufferplayer.md)**: Plays the contents of the given buffer. start_time/end_time are in seconds. When a clock signal is receives, rewinds to the start_time. | ||
- **[BufferRecorder](bufferrecorder.md)**: Records the input to a buffer. feedback controls overdub. | ||
- **[FeedbackBufferReader](feedbackbufferreader.md)**: Counterpart to FeedbackBufferWriter. | ||
- **[FeedbackBufferWriter](feedbackbufferwriter.md)**: Counterpart to FeedbackBufferReader. | ||
- **[GrainSegments](grainsegments.md)**: GrainSegments | ||
- **[Granulator](granulator.md)**: Granulator. Generates a grain from the given buffer each time a clock signal is received, with the given duration/rate/pan parameters. The input buffer can be mono or stereo. | ||
- **[SegmentPlayer](segmentplayer.md)**: Trigger segments of a buffer at the given onset positions. |
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,10 @@ | ||
[Reference library](../index.md) > [Buffer](index.md) > [SegmentPlayer](segmentplayer.md) | ||
|
||
# SegmentPlayer | ||
|
||
Trigger segments of a buffer at the given onset positions. | ||
|
||
Signature: | ||
```python | ||
SegmentPlayer(buffer=None, onsets={}) | ||
``` |
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,7 @@ | ||
[Reference library](../index.md) > [Control](index.md) | ||
|
||
# Control | ||
|
||
- **[MouseX](mousex.md)**: Outputs the normalised cursor X position, from 0 to 1. Currently only supported on macOS. | ||
- **[MouseY](mousey.md)**: Outputs the normalised cursor Y position, from 0 to 1. Currently only supported on macOS. | ||
- **[MouseDown](mousedown.md)**: Outputs 1 if the left mouse button is down, 0 otherwise. Currently only supported on macOS. |
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,10 @@ | ||
[Reference library](../index.md) > [Control](index.md) > [MouseDown](mousedown.md) | ||
|
||
# MouseDown | ||
|
||
Outputs 1 if the left mouse button is down, 0 otherwise. Currently only supported on macOS. | ||
|
||
Signature: | ||
```python | ||
MouseDown(button_index=0) | ||
``` |
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,10 @@ | ||
[Reference library](../index.md) > [Control](index.md) > [MouseX](mousex.md) | ||
|
||
# MouseX | ||
|
||
Outputs the normalised cursor X position, from 0 to 1. Currently only supported on macOS. | ||
|
||
Signature: | ||
```python | ||
MouseX() | ||
``` |
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,10 @@ | ||
[Reference library](../index.md) > [Control](index.md) > [MouseY](mousey.md) | ||
|
||
# MouseY | ||
|
||
Outputs the normalised cursor Y position, from 0 to 1. Currently only supported on macOS. | ||
|
||
Signature: | ||
```python | ||
MouseY() | ||
``` |
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,10 @@ | ||
[Reference library](../index.md) > [Envelope](index.md) > [ADSREnvelope](adsrenvelope.md) | ||
|
||
# ADSREnvelope | ||
|
||
Attack-decay-sustain-release envelope. Sustain portion is held until gate is zero. | ||
|
||
Signature: | ||
```python | ||
ADSREnvelope(attack=0.1, decay=0.1, sustain=0.5, release=0.1, gate=0) | ||
``` |
Oops, something went wrong.