-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convolution Box Format documentation
- Loading branch information
Showing
2 changed files
with
23 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,22 @@ | ||
# Convolution Box Format Structure | ||
A file format for easy to implement DSP, only using channel copy and convolution | ||
filters. Channels are numbered from 0 to the number of system channels. Negative | ||
channel indices mean virtual channels, of which any number can be created. | ||
All values are little endian. | ||
* 4 bytes: "CBFM" marker | ||
* 4 bytes: number of filter entries | ||
* 4 bytes: system sample rate, used for all convolutions | ||
|
||
For each filter entry: | ||
* 1 byte: filter type | ||
* 0 - Copy (matrix mixer) filter: | ||
* 4 bytes: number of copy operations | ||
* For each copy entry: | ||
* 4 bytes: source channel index | ||
* 4 bytes: number of target channels | ||
* Serially: 4 byte indices of all target channels | ||
* Merging of channels is allowed, but it is described in two distinct | ||
copy entries. | ||
* 1 - Convolution filter: | ||
* 4 bytes: length of the convolution in samples (must be a power of 2) | ||
* Serially: single precision floating point samples of the filter |
1 change: 1 addition & 0 deletions
1
docs/Limitless Audio Format.md → ...mat definitions/Limitless Audio Format.md
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