-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* mfcc rst and sc help file * mfcc sc examples * mfcc output * mfcc helpfile readability * BufMFCC udpates * update bufonsetslice docs slightly (#87) * fix audio transport segmentation of discussion and desc * fix audio transport segmentation of discussion and desc (#88) * add missing see alsos * Json driver (#35) * Make jinja rendering conditional on driver having a template * minimal driver for raw JSON output * cmake target for raw JSON * fix cmake output directory * add command line option for raw * remove spurious item from raw driver * add back changes that dealt with conditional template rendering * add a github action for creating a basic API on actions Co-authored-by: James Bradbury <[email protected]> * Update json_api.yml * Update json_api.yml * Update json_api.yml * change name of raw output to api.json * Update json_api.yml * remove indentation on api * typo in UMAP * [Docs] OnsetSlice and BufOnsetSlice (#91) * update bufonsetslice text * onsetslice update * ted's changes * copy changes to bufonsetslice also * revamp MelBands and BufMelBands RST, update SC example code * *melbands description * added a hyphen * pitch and buf pitch RST * added link to the learn page * edited normalize description * pitch sc help files * BufFlatten RST and SC examples * buf thresh * sc help file * typo in fluid pitch sc example code * bufthresh rst * typo * james' feedback * add .ds_store to gitignore * pa feedback * pa feedback * pa feedback * PA feedback * [Docs] Update Normalize Docs (#76) * update normalize entry * update description * pa's requests Co-authored-by: James Bradbury <[email protected]> * [Docs] Slicer Feature Objects (#101) * add skeleton of bufnoveltyfeature * caveat novelty feature * add onset feature * remove space * add bufampfeature * realtime amp feature * update output of AmpFeature * clean up the language * caveats for bufonset feature * add onset feature * Add JSON generators for Slicers' feature counterparts * rt noveltyfeature * fix various errors * robots in disguise * change feature -> algorithm * cleanup noveltyfeature * make noveltyfeature more consistent * remove superfluous spaces * fix description * fix reference to buffer version in rt object * add padding * sc example code for slicer-features
- Loading branch information
James Bradbury
authored
Mar 30, 2022
1 parent
7dd5ffc
commit fb28246
Showing
53 changed files
with
1,574 additions
and
595 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,48 @@ | ||
name: Dev API | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ dev, ci/** ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: flucoma/actions/env@v4 | ||
- uses: flucoma/actions/docs@v4 | ||
with: | ||
target: 'MAKE_RAW_REF' | ||
|
||
- uses: dev-drprasad/[email protected] | ||
with: | ||
delete_release: true # default: false | ||
tag_name: api # tag name to delete | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Setup SSH | ||
uses: shimataro/ssh-key-action@v2 | ||
with: | ||
key: ${{ secrets.SSH }} | ||
known_hosts: 'placeholder' | ||
|
||
- name: Adding Known Hosts | ||
run: | | ||
mkdir -p ~/.ssh | ||
ssh-keyscan -H ${{ secrets.DO_IP }} >> ~/.ssh/known_hosts | ||
- name: package and upload | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
name: FluCoMa Docs API | ||
body: "A JSON that can be accessed to derive parameters/args for objects. The build hash is ${{ github.sha }}" | ||
files: 'build/flucoma.api.json' | ||
prerelease: true | ||
tag_name: api | ||
draft: false | ||
|
||
- name: Upload To Droplet | ||
run: | | ||
rsync -avz --delete --no-times --no-o --no-g --no-perms ./build/api.json james@${{ secrets.DO_IP }}:/home/learn/www/ |
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 |
---|---|---|
|
@@ -10,3 +10,4 @@ schelp | |
*.pyc | ||
interfaces/* | ||
*.log | ||
**/.DS_Store |
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,41 @@ | ||
:digest: Realtime Amplitude Differential Feature | ||
:species: transformer | ||
:sc-categories: Libraries>FluidDecomposition | ||
:sc-related: Guides/FluidCorpusManipulationToolkit | ||
:see-also: AmpGate, AmpSlice, OnsetFeature, NoveltyFeature | ||
:description: Calculate the amplitude differential feature in realtime. | ||
:discussion: | ||
:fluid-obj:`AmpSlice` uses the differential between a fast and a slow envelope follower to determine changes in amplitude. This object calculates the amplitude differential and copies it to an output buffer. | ||
|
||
:process: The audio rate in, control rate out version of the object. | ||
:output: A KR signal of the feature. | ||
|
||
:control in: | ||
|
||
The audio to be processed. | ||
|
||
:control fastRampUp: | ||
|
||
The number of samples the relative envelope follower will take to reach the next value when raising. Typically, this will be faster than slowRampUp. | ||
|
||
:control fastRampDown: | ||
|
||
The number of samples the relative envelope follower will take to reach the next value when falling. Typically, this will be faster than slowRampDown. | ||
|
||
:control slowRampUp: | ||
|
||
The number of samples the absolute envelope follower will take to reach the next value when raising. | ||
|
||
:control slowRampDown: | ||
|
||
The number of samples the absolute envelope follower will take to reach the next value when falling. | ||
|
||
:control floor: | ||
|
||
The level in dB the slowRamp needs to be above to consider a detected difference valid, allowing to ignore the slices in the noise floor. | ||
|
||
:control highPassFreq: | ||
|
||
The frequency of the fourth-order Linkwitz–Riley high-pass filter (https://en.wikipedia.org/wiki/Linkwitz%E2%80%93Riley_filter). This is done first on the signal to minimise low frequency intermodulation with very fast ramp lengths. A frequency of 0 bypasses the filter. | ||
|
||
|
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,67 @@ | ||
:digest: Buffer-Based Amplitude Differential Feature | ||
:species: buffer-proc | ||
:sc-categories: Libraries>FluidDecomposition | ||
:sc-related: Guides/FluidCorpusManipulationToolkit | ||
:see-also: BufAmpSlice, BufNoveltyFeature, BufAmpFeature, BufOnsetFeature | ||
:description: Calculate the amplitude differential feature used by :fluid-obj:`BufAmpSlice`. | ||
:discussion: | ||
:fluid-obj:`BufAmpSlice` uses the differential between a fast and a slow envelope follower to determine changes in amplitude. This object calculates the amplitude differential and copies it to an output buffer. | ||
|
||
:output: Nothing, as the destination buffer is declared in the function call. | ||
|
||
|
||
:control source: | ||
|
||
The index of the buffer to use as the source material to be sliced through novelty identification. The different channels of multichannel buffers will be summed. | ||
|
||
:control startFrame: | ||
|
||
Where in the srcBuf should the slicing process start, in sample. | ||
|
||
:control numFrames: | ||
|
||
How many frames should be processed. | ||
|
||
:control startChan: | ||
|
||
For multichannel sources, which channel should be processed. | ||
|
||
:control numChans: | ||
|
||
For multichannel sources, how many channel should be summed. | ||
|
||
:control features: | ||
|
||
The index of the buffer where the amplitude differential feature will be copied to. | ||
|
||
:control fastRampUp: | ||
|
||
The number of samples the relative envelope follower will take to reach the next value when raising. Typically, this will be faster than slowRampUp. | ||
|
||
:control fastRampDown: | ||
|
||
The number of samples the relative envelope follower will take to reach the next value when falling. Typically, this will be faster than slowRampDown. | ||
|
||
:control slowRampUp: | ||
|
||
The number of samples the absolute envelope follower will take to reach the next value when raising. | ||
|
||
:control slowRampDown: | ||
|
||
The number of samples the absolute envelope follower will take to reach the next value when falling. | ||
|
||
:control floor: | ||
|
||
The level in dB the slowRamp needs to be above to consider a detected difference valid, allowing to ignore the slices in the noise floor. | ||
|
||
:control highPassFreq: | ||
|
||
The frequency of the fourth-order Linkwitz–Riley high-pass filter (https://en.wikipedia.org/wiki/Linkwitz%E2%80%93Riley_filter). This is done first on the signal to minimise low frequency intermodulation with very fast ramp lengths. A frequency of 0 bypasses the filter. | ||
|
||
:control padding: | ||
|
||
Controls the zero-padding added to either end of the source buffer or segment. Possible values are 0 (no padding), 1 (default, half the window size), or 2 (window size - hop size). Padding ensures that all input samples are completely analysed: with no padding, the first analysis window starts at time 0, and the samples at either end will be tapered by the STFT windowing function. Mode 1 has the effect of centering the first sample in the analysis window and ensuring that the very start and end of the segment are accounted for in the analysis. Mode 2 can be useful when the overlap factor (window size / hop size) is greater than 2, to ensure that the input samples at either end of the segment are covered by the same number of analysis frames as the rest of the analysed material. | ||
|
||
:control action: | ||
|
||
A Function to be evaluated once the offline process has finished and indices instance variables have been updated on the client side. The function will be passed indices as an argument. |
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
Oops, something went wrong.