1 viewer
rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off
cre8-util-dsp crates cargo crate
Shared DSP primitives (typed SampleRate, WAV decoder). First crate in the cre8-util-* namespace (shared utilities lifted from apps/*) — distinct from cre8-runtime-* (core runtime) and cre8-app-* (installable RuntimeApps).
0workspace deps
6direct dependents
33transitive dependents
0calls out
727calls in
958call-graph weight
0.0%exact crystals
Neighbourhood
Left: crates that declare this one. Right: crates it declares (dev-dependencies included). Edge width grows with resolved calls.
Files
lowhigh
File call graph
Resolved calls between this crate's files, callers left of callees.
Heaviest functions
By call-graph weight (PageRank; 1.0 is the average function). 760 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| ParamDescriptor::clampsrc/params.rs:102 | method | 17 | 5 | 463 | 0 | 190 | |
| SampleRate::as_u64src/lib.rs:163 | method | 3 | 1 | 105 | 0 | 46.3 | |
| SampleRate::as_f64src/lib.rs:157 | method | 3 | 1 | 58 | 0 | 18.8 | |
| Chain::withsrc/processor.rs:53 | method | 4 | 1 | 4 | 0 | 14.7 | |
| SampleRate::hzsrc/lib.rs:146 | method | 3 | 1 | 45 | 0 | 10.8 | |
| resample_linear_i16src/resample.rs:22 | fn | 31 | 9 | 9 | 1 | 7.7 | |
| descriptorsrc/params.rs:192 | fn | 6 | 1 | 5 | 0 | 6.6 | |
| Biquad64::set_designsrc/eq.rs:155 | method | 98 | 18 | 10 | 3 | 6.4 | |
| Biquad64::identitysrc/eq.rs:72 | method | 3 | 1 | 5 | 0 | 6.2 | |
| RemixMatrix::newsrc/layout.rs:445 | method | 25 | 11 | 28 | 8 | 5.9 | |
| ChannelLayout::discretesrc/layout.rs:230 | method | 10 | 3 | 15 | 0 | 5.6 | |
| Speaker::bitsrc/layout.rs:78 | method | 3 | 1 | 8 | 0 | 5.6 | |
| flush_denormalsrc/processor.rs:105 | fn | 3 | 2 | 10 | 0 | 5.5 | |
| Biquad64::designsrc/eq.rs:78 | method | 11 | 1 | 9 | 2 | 5.1 | |
| ParamSet::from_pairssrc/params.rs:213 | method | 14 | 2 | 16 | 1 | 4.7 | |
| SampleRate::newsrc/lib.rs:142 | method | 3 | 1 | 18 | 0 | 4.6 | |
| ChannelLayout::channelssrc/layout.rs:259 | method | 3 | 1 | 17 | 0 | 4.5 | |
| ParamSet::getsrc/params.rs:237 | method | 3 | 1 | 3 | 0 | 4.3 | |
| parse_wav_samplessrc/wav.rs:41 | fn | 7 | 1 | 10 | 6 | 4 | |
| ChannelLayout::containssrc/layout.rs:272 | method | 3 | 1 | 2 | 1 | 3.9 | |
| RemixMatrix::gainsrc/layout.rs:533 | method | 3 | 1 | 10 | 0 | 3.8 | |
| transform_with_twiddlessrc/fft.rs:174 | fn | 33 | 11 | 2 | 4 | 3.5 | |
| transformsrc/fft.rs:142 | fn | 3 | 1 | 2 | 1 | 3.3 | |
| RemixMatrix::apply_frame_f32src/layout.rs:564 | method | 17 | 5 | 7 | 0 | 3.3 | |
| ChannelLayout::speakers_for_countsrc/layout.rs:247 | method | 10 | 6 | 8 | 1 | 3.1 | |
| Mixer::newsrc/mixer.rs:762 | method | 90 | 23 | 14 | 9 | 2.9 | |
| equal_power_gainssrc/pan.rs:20 | fn | 6 | 1 | 5 | 1 | 2.9 | |
| ChannelLayout::speakerssrc/layout.rs:288 | method | 3 | 1 | 5 | 1 | 2.9 | |
| ParamSet::f64_orsrc/params.rs:241 | method | 3 | 1 | 11 | 1 | 2.9 | |
| Master::newsrc/mixer.rs:462 | method | 3 | 1 | 3 | 0 | 2.9 | |
| resample_sinc_f32src/resample.rs:94 | fn | 43 | 13 | 5 | 2 | 2.8 | |
| signalsrc/mixer.rs:1006 | fn | 9 | 1 | 1 | 0 | 2.7 | |
| db_to_gainsrc/processor.rs:111 | fn | 3 | 2 | 13 | 0 | 2.7 | |
| MixerDocument::newsrc/mixer.rs:256 | method | 3 | 1 | 28 | 1 | 2.7 | |
| FdnParams::defaultsrc/fdn_reverb.rs:110 | trait impl | 17 | 1 | 12 | 0 | 2.6 | |
| fftsrc/fft.rs:120 | fn | 3 | 1 | 6 | 1 | 2.6 | |
| world_scoresrc/worldscore.rs:147 | fn | 69 | 22 | 7 | 4 | 2.6 | |
| signalssrc/mixer.rs:1016 | fn | 3 | 1 | 24 | 1 | 2.6 | |
| gain_to_dbsrc/processor.rs:118 | fn | 4 | 2 | 10 | 0 | 2.6 | |
| FilterMode::kindsrc/eq.rs:469 | method | 8 | 4 | 8 | 0 | 2.4 |
Outside the workspace
anyhow serde serde_json