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.
Freeverb[N](world)
Traits: AnyType, Copyable, Movable, Representable, UnknownDestructibility
Freeverb Parameters
| Name | Type | Description |
|---|---|---|
| N | Int |
size of the SIMD vector - defaults to 1 |
Freeverb Functions¶
struct Freeverb . fn init¶
fn init Signature
fn init Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| world | UnsafePointer |
— | — |
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, N], room_size: SIMD[DType.float64, N] = 0, lp_comb_lpfreq: SIMD[DType.float64, N] = 1000, added_space: SIMD[DType.float64, N] = 0) -> SIMD[DType.float64, N]
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