Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaulBatchelor/Trio
/ functions
Functions
100 in github.com/PaulBatchelor/Trio
⨍
Functions
100
◇
Types & classes
17
↓ 50 callers
Method
add_transition
(&mut self, from_chord: usize, to_chord: usize)
dsp/src/chords.rs:237
↓ 31 callers
Method
tick
(&mut self)
dsp/src/voice.rs:86
↓ 22 callers
Method
add_chord
(&mut self, chord: &Chord)
dsp/src/chords.rs:228
↓ 15 callers
Method
insert
(&mut self, curnote: u8, nxtnote: u8, chord_ref: usize)
dsp/src/chords.rs:61
↓ 15 callers
Function
pop_events
(vs: &mut VoiceScheduler)
dsp/src/voice.rs:350
↓ 14 callers
Method
change
(&mut self, pitch: u16)
dsp/src/chords.rs:529
↓ 13 callers
Method
change
(&mut self, pitch: u32)
dsp/src/voice.rs:124
↓ 12 callers
Method
query
(&self, curchord: usize, next_note: u8, key: u8, candidates: &mut CandidatesTable)
dsp/src/chords.rs:275
↓ 11 callers
Method
on
(&mut self)
dsp/src/voice.rs:69
↓ 8 callers
Method
add_fallback_chord
(&mut self, scale_degree: u8, chord_ref: usize)
dsp/src/chords.rs:266
↓ 8 callers
Method
pop_next_event
(&mut self)
dsp/src/voice.rs:132
↓ 7 callers
Method
get_chord
(&self, pos: usize)
dsp/src/chords.rs:106
↓ 7 callers
Method
get_first_chord
(&self)
dsp/src/chords.rs:117
↓ 6 callers
Method
cache_lower
(&mut self, pitch: u16)
dsp/src/chords.rs:591
↓ 6 callers
Method
cache_upper
(&mut self, pitch: u16)
dsp/src/chords.rs:587
↓ 6 callers
Method
fire
(&mut self)
dsp/src/voice.rs:39
↓ 6 callers
Method
populate_hooks
(&mut self)
dsp/src/voice.rs:143
↓ 6 callers
Method
remove_previous_transition
( &mut self, note_transitions: &NoteTransitionTable, prev: u8, next: u8, )
dsp/src/chords.rs:134
↓ 5 callers
Method
reset
(&mut self)
dsp/src/lib.rs:60
↓ 5 callers
Method
reset
(&mut self)
dsp/src/chords.rs:96
↓ 5 callers
Method
tick
(&mut self)
dsp/src/lib.rs:46
↓ 4 callers
Function
find_nearest_lower
(chord: &Chord, lead_pitch: u16, key: u8)
dsp/src/chords.rs:348
↓ 4 callers
Function
find_nearest_upper
(chord: &Chord, lead_pitch: u16, key: u8)
dsp/src/chords.rs:318
↓ 4 callers
Function
measure_movement
( chord: &Chord, lead_pitch: u16, prev_upper: u16, prev_lower: u16, key: u8, )
dsp/src/chords.rs:332
↓ 4 callers
Method
populate
Populate the chord state transitions This is fairly subjective, and can be changed to taste
dsp/src/chords.rs:380
↓ 4 callers
Method
schedule_pitch
(&mut self, pitch: f32)
dsp/src/lib.rs:70
↓ 3 callers
Method
off
(&mut self)
dsp/src/voice.rs:75
↓ 2 callers
Method
append_chord
(&mut self, chord_ref: usize)
dsp/src/chords.rs:100
↓ 2 callers
Method
check
(&mut self)
dsp/src/voice.rs:51
↓ 2 callers
Function
clamp
(x, mn, mx)
web/main.js:32
↓ 2 callers
Method
get_fallback_chord
(&mut self, pitch: u16, key: u8)
dsp/src/chords.rs:270
↓ 2 callers
Method
get_least_movement
( &mut self, chords: &ChordStates, lead_pitch: u16, last_upper: u16, l
dsp/src/chords.rs:180
↓ 2 callers
Method
get_least_used
(&mut self, chord_freqs: &HashMap<usize, usize>)
dsp/src/chords.rs:151
↓ 2 callers
Method
lower_pitch_lookup
(&self, _pitch: f32)
dsp/src/lib.rs:219
↓ 2 callers
Method
move
(x, y)
web/audio.js:8
↓ 2 callers
Method
reset
(&mut self)
dsp/src/voice.rs:47
↓ 2 callers
Method
select_next_chord
(&mut self, pitch: u16)
dsp/src/chords.rs:458
↓ 2 callers
Function
sendGateEvent
(turnOn)
web/main.js:57
↓ 2 callers
Function
sendMoveEvent
(xpos, ypos)
web/main.js:38
↓ 2 callers
Method
tick_with_gesture
(&mut self, clk: f32)
dsp/src/lib.rs:53
↓ 2 callers
Method
upper_pitch_lookup
TODO: I know, a bit repetitive...
dsp/src/lib.rs:211
↓ 1 callers
Method
check_for_pitch_changes
(&mut self)
dsp/src/lib.rs:180
↓ 1 callers
Function
db2lin
(db: f32)
dsp/src/lib.rs:370
↓ 1 callers
Function
draw
()
web/main.js:70
↓ 1 callers
Method
find_lower_pitch
(&self)
dsp/src/chords.rs:579
↓ 1 callers
Method
find_upper_pitch
(&self)
dsp/src/chords.rs:571
↓ 1 callers
Function
getGlobalTrio
()
web/audio.js:48
↓ 1 callers
Function
getStepWidth
(portraitMode, width, height)
web/main.js:24
↓ 1 callers
Method
has_fired
(&mut self)
dsp/src/voice.rs:43
↓ 1 callers
Method
off
()
web/audio.js:17
↓ 1 callers
Method
on
()
web/audio.js:13
↓ 1 callers
Method
onmessage
(event)
web/processor.js:35
↓ 1 callers
Method
process
(&mut self, outbuf: *mut f32, sz: usize)
dsp/src/lib.rs:362
↓ 1 callers
Method
running
(&mut self)
dsp/src/lib.rs:352
↓ 1 callers
Function
startAudio
(context)
web/audio.js:22
↓ 1 callers
Method
was_used_last
(&self, curnote: u8, nxtnote: u8, chord_ref: usize)
dsp/src/chords.rs:78
Function
alloc
(size: usize)
dsp/src/lib.rs:470
Method
constructor
(context, name, options)
web/audio.js:4
Method
constructor
(options)
web/processor.js:2
Method
default
()
dsp/src/chords.rs:51
Function
down
(event)
web/main.js:124
Method
drop
(&mut self)
dsp/src/lib.rs:375
Function
move
(event)
web/main.js:145
Method
new
(sr: usize, tract_len_cm: f32, oversample: u16)
dsp/src/lib.rs:25
Function
newdsp
(sr: u32)
dsp/src/lib.rs:400
Function
process
(vd: &mut VoxData, outbuf: *mut f32, sz: usize)
dsp/src/lib.rs:478
Method
process
(inputs, outputs, parameters)
web/processor.js:20
Method
set_pitch
(&mut self, pitch: f32)
dsp/src/lib.rs:66
Function
test_add_chord_transitions
()
dsp/src/chords.rs:601
Function
test_autovoice
()
dsp/src/voice.rs:319
Function
test_change
()
dsp/src/voice.rs:244
Function
test_chord_manager
()
dsp/src/chords.rs:819
Function
test_defaults
()
dsp/src/voice.rs:158
Function
test_fallback_chords
()
dsp/src/chords.rs:760
Function
test_least_movement
()
dsp/src/chords.rs:919
Function
test_least_used
()
dsp/src/chords.rs:854
Function
test_lower_changed
()
dsp/src/voice.rs:397
Function
test_lower_initial
()
dsp/src/voice.rs:355
Function
test_measure_movement
()
dsp/src/chords.rs:892
Function
test_note_transition_table
()
dsp/src/chords.rs:676
Function
test_note_transitions
()
dsp/src/chords.rs:701
Function
test_off
()
dsp/src/voice.rs:218
Function
test_on
()
dsp/src/voice.rs:171
Function
test_query
()
dsp/src/chords.rs:627
Function
test_tick
()
dsp/src/voice.rs:192
Function
test_trigger
()
dsp/src/voice.rs:292
Function
test_upper_changed
()
dsp/src/voice.rs:472
Function
test_upper_initial
()
dsp/src/voice.rs:443
Function
test_voice_finder
()
dsp/src/chords.rs:790
Function
testgetter
(vd: &mut VoxData)
dsp/src/lib.rs:407
Function
up
(event)
web/main.js:136
Function
vox_free
(vd: &mut VoxData)
dsp/src/lib.rs:427
Function
vox_gate
(vd: &mut VoxData, gate: f32)
dsp/src/lib.rs:438
Function
vox_pitch
(vd: &mut VoxData, pitch: f32)
dsp/src/lib.rs:433
Function
vox_poll
(_vd: &mut VoxData)
dsp/src/lib.rs:417
Function
vox_running
(vd: &mut VoxData)
dsp/src/lib.rs:422
Function
vox_tick
(vd: &mut VoxData)
dsp/src/lib.rs:412
Function
vox_tongue_shape
(vd: &mut VoxData, x: f32, y: f32)
dsp/src/lib.rs:455
Function
vox_x_axis
(vd: &mut VoxData, x: f32)
dsp/src/lib.rs:460
Function
vox_y_axis
(vd: &mut VoxData, y: f32)
dsp/src/lib.rs:465