1 viewer
rust 1,854,448 · typescript 233,181 · javascript 132,491 · python 19,572 · 6,381 files · digest 17250db9be6a · built in 2.2 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
32transitive dependents
0calls out
752calls in
969call-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 | 191 | |
| SampleRate::as_u64src/lib.rs:163 | method | 3 | 1 | 104 | 0 | 45.3 | |
| SampleRate::as_f64src/lib.rs:157 | method | 3 | 1 | 58 | 0 | 19.2 | |
| Chain::withsrc/processor.rs:53 | method | 4 | 1 | 4 | 0 | 14.7 | |
| SampleRate::hzsrc/lib.rs:146 | method | 3 | 1 | 53 | 0 | 13.9 | |
| resample_linear_i16src/resample.rs:22 | fn | 31 | 9 | 9 | 1 | 7.7 | |
| descriptorsrc/params.rs:192 | fn | 6 | 1 | 7 | 0 | 7.2 | |
| Biquad64::set_designsrc/eq.rs:155 | method | 98 | 18 | 10 | 3 | 6.7 | |
| Biquad64::identitysrc/eq.rs:72 | method | 3 | 1 | 5 | 0 | 6.6 | |
| RemixMatrix::newsrc/layout.rs:445 | method | 25 | 11 | 28 | 8 | 6 | |
| Biquad64::designsrc/eq.rs:78 | method | 11 | 1 | 9 | 2 | 5.8 | |
| 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 | |
| ParamSet::from_pairssrc/params.rs:213 | method | 14 | 2 | 16 | 1 | 4.8 | |
| ChannelLayout::channelssrc/layout.rs:259 | method | 3 | 1 | 17 | 0 | 4.6 | |
| ParamSet::getsrc/params.rs:237 | method | 3 | 1 | 3 | 0 | 4.3 | |
| SampleRate::newsrc/lib.rs:142 | method | 3 | 1 | 20 | 0 | 4 | |
| ChannelLayout::containssrc/layout.rs:272 | method | 3 | 1 | 2 | 1 | 4 | |
| RemixMatrix::gainsrc/layout.rs:533 | method | 3 | 1 | 10 | 0 | 3.8 | |
| parse_wav_samplessrc/wav.rs:41 | fn | 7 | 1 | 10 | 6 | 3.8 | |
| transform_with_twiddlessrc/fft.rs:174 | fn | 33 | 11 | 2 | 4 | 3.6 | |
| transformsrc/fft.rs:142 | fn | 3 | 1 | 2 | 1 | 3.4 | |
| 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.2 | |
| FdnParams::defaultsrc/fdn_reverb.rs:110 | trait impl | 17 | 1 | 14 | 0 | 3.1 | |
| Mixer::newsrc/mixer.rs:762 | method | 90 | 23 | 14 | 9 | 3 | |
| equal_power_gainssrc/pan.rs:20 | fn | 6 | 1 | 5 | 1 | 3 | |
| 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 | |
| gain_to_dbsrc/processor.rs:118 | fn | 4 | 2 | 12 | 0 | 2.9 | |
| signalsrc/mixer.rs:1006 | fn | 9 | 1 | 1 | 0 | 2.8 | |
| fftsrc/fft.rs:120 | fn | 3 | 1 | 6 | 1 | 2.8 | |
| resample_sinc_f32src/resample.rs:94 | fn | 43 | 13 | 5 | 2 | 2.8 | |
| signalssrc/mixer.rs:1016 | fn | 3 | 1 | 25 | 1 | 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 | |
| world_scoresrc/worldscore.rs:147 | fn | 69 | 22 | 7 | 4 | 2.6 | |
| FdnReverb::newsrc/fdn_reverb.rs:290 | method | 53 | 2 | 12 | 8 | 2.5 |
Outside the workspace
anyhow serde serde_json