Robbert van der Helm
|
92ce737000
|
Add a gain_to_db_fast() with a lower limit
These functions probably need some better organization at some point.
|
2023-01-15 18:15:52 +01:00 |
|
Robbert van der Helm
|
11d9476a5f
|
Use db_to_gain_fast() in plugins
|
2023-01-04 17:05:13 +01:00 |
|
Robbert van der Helm
|
3b57ebe895
|
Add test for fast decibel<->gain functions
|
2023-01-04 17:01:25 +01:00 |
|
Robbert van der Helm
|
c55fb02982
|
Add faster decibel<->gain conversion functions
|
2023-01-04 16:58:28 +01:00 |
|
Robbert van der Helm
|
74a9e294b1
|
Make gain_to_db() branchless
|
2023-01-04 16:45:11 +01:00 |
|
Robbert van der Helm
|
4dbc0c1a87
|
Mark the utils functions as inlnie
So the compiler can decide what to do with them.
|
2022-11-18 16:09:32 +01:00 |
|
Robbert van der Helm
|
6d0c1eebbe
|
Move frequency to note number conversion to utils
|
2022-11-18 16:09:18 +01:00 |
|
Robbert van der Helm
|
5330a7d938
|
Add a version of util::midi_note_to_freq for f32
|
2022-11-12 01:25:33 +01:00 |
|
Robbert van der Helm
|
e77eca88a5
|
Rename the midi_note_to_freq() argument name
To match the 'note' term used everywhere else.
|
2022-07-06 17:16:19 +02:00 |
|
Robbert van der Helm
|
b0ba815514
|
Fix -inf in gain to Db conversion
|
2022-03-21 19:17:41 +01:00 |
|
Robbert van der Helm
|
0f60ce9609
|
Clean up i32 note formatters
|
2022-03-21 14:40:17 +01:00 |
|
Robbert van der Helm
|
af4db7be53
|
Fix fallback permit_alloc() implementation
|
2022-03-06 15:42:32 +01:00 |
|
Robbert van der Helm
|
0fa394247f
|
Add a permit_alloc function
Since assert_no_alloc also hides panic messages which can make debugging
more difficult:
https://github.com/Windfisch/rust-assert-no-alloc/issues/4
|
2022-03-06 15:11:42 +01:00 |
|
Robbert van der Helm
|
bf215ef88e
|
Add a Hann function for the STFT helper
|
2022-03-06 14:41:40 +01:00 |
|
Robbert van der Helm
|
b2600f4b93
|
Add a helper for buffering audio for STFTs
|
2022-03-06 02:07:44 +01:00 |
|
Robbert van der Helm
|
3e0316e17c
|
Add missing docstrings
|
2022-03-03 23:34:06 +01:00 |
|
Robbert van der Helm
|
f581294d7b
|
Update rustdoc formatting for links
Apparently it showed this text verbatim, and not in monospace.
|
2022-03-03 23:05:12 +01:00 |
|
Robbert van der Helm
|
f645b6a92f
|
Relicense under the ISC license
|
2022-02-12 16:04:46 +01:00 |
|
Robbert van der Helm
|
1f2029ecbe
|
Replace spawn_unchecked with static lifetimes
These things don't need to hold references, so this gets rid of some
nasty c ode.
|
2022-02-05 16:09:59 +01:00 |
|
Robbert van der Helm
|
b901dac012
|
Disambiguate rustdoc link references
|
2022-02-05 12:56:03 +01:00 |
|
Robbert van der Helm
|
366deda83c
|
Add MIDI support to the sine example
|
2022-02-04 15:17:42 +01:00 |
|
Robbert van der Helm
|
6cde9cea0e
|
Simplify spawn_unchecked lifetime transmute
|
2022-02-02 13:02:28 +01:00 |
|
Robbert van der Helm
|
98076ff792
|
Use a custom .spawn_unchecked without nightly req
Courtesy of Yandros on the Rust Discord.
|
2022-02-01 15:04:36 +01:00 |
|
Robbert van der Helm
|
070e68c084
|
Move nih_plug to the repo's root
Makes more sense to have this be on the same level as the workspace
since technically this crate can be used separately.
|
2022-01-26 12:52:57 +01:00 |
|