Reverb
Structs
struct Freeverb¶
A custom implementation of the Freeverb reverb algorithm. Based on Romain Michon's Faust implementation (https://github.com/grame-cncm/faustlibraries/blob/master/reverbs.lib), thus is licensed under LGPL.
Traits: AnyType, Copyable, Movable, Representable, UnknownDestructibility
Freeverb Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| num_chans | Int |
1 |
Size of the SIMD vector - defaults to 1. |
Freeverb Functions¶
struct Freeverb . fn init¶
Initialize the Freeverb struct.
fn init Signature
fn init Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| world | UnsafePointer |
— | A pointer to the MMMWorld instance. |
fn init Returns
: Self
Static Method
This is a static method.
struct Freeverb . fn next¶
Process one sample through the freeverb.
fn next Signature
next(mut self, input: SIMD[DType.float64, num_chans], room_size: SIMD[DType.float64, num_chans] = 0, lp_comb_lpfreq: SIMD[DType.float64, num_chans] = 1000, added_space: SIMD[DType.float64, num_chans] = 0) -> SIMD[DType.float64, num_chans]
fn next Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| input | SIMD |
— | The input sample to process. |
| room_size | SIMD |
0 |
The size of the reverb room (0-1). |
| lp_comb_lpfreq | SIMD |
1000 |
The cutoff frequency of the low-pass filter (in Hz). |
| added_space | SIMD |
0 |
The amount of added space (0-1). |
fn next Returns
: SIMD
The processed output sample.
Documentation generated with mojo doc from Mojo version 0.25.6.1