MCPcopy Create free account

hub / github.com/brettbuddin/shaden / functions

Functions905 in github.com/brettbuddin/shaden

↓ 5 callersFunctionLerp
Lerp performs linear interpolation
dsp/interpolate.go:4
↓ 5 callersFunctionMix
Mix sums two panned inputs
dsp/math.go:43
↓ 5 callersMethodOutNeighbors
OutNeighbors returns only neighboring Nodes with an outbound connection from this Node
graph/node.go:26
↓ 5 callersMethodReadRelative
ReadRelative reads sample from the DelayLine at a scale between 0 and 1
dsp/delay_line.go:66
↓ 5 callersMethodRemoveNode
RemoveNode removes a Node from the Graph.
graph/graph.go:39
↓ 5 callersFunctionResolveTailCalls
ResolveTailCalls evaluates any chain of TailCall values to produce a final result. This is needed when a caller requires a fully-evaluated value (e.g.
lisp/tailcall.go:19
↓ 5 callersMethodSource
Source returns the inbound connection if it has one
unit/in.go:103
↓ 5 callersMethodTickAbsolute
TickAbsolute advances the filter's state with a specific delay
dsp/comb.go:25
↓ 5 callersFunctionblep
(p float64, freq, fm float64)
unit/gen.go:323
↓ 5 callersFunctionpatchableValue
(v any)
runtime/unit.go:341
↓ 5 callersFunctionslopeCoeffs
(ratio, duration, target float64, curve int)
unit/slope.go:135
↓ 4 callersFunctionAddHandler
AddHandler registers the evaluation handler with a ServeMux.
runtime/handler.go:20
↓ 4 callersMethodDetach
Detach removes this unit and its inputs/outputs from a Graph
unit/unit.go:110
↓ 4 callersMethodError
()
graph/graph.go:194
↓ 4 callersFunctionParsePitch
ParsePitch parses the scientific notation of a pitch
dsp/values.go:43
↓ 4 callersMethodReset
Reset disconnects an input from an output (if a connection has been established) and fills the frame with the normal constant value
unit/in.go:114
↓ 4 callersMethodSetSymbol
SetSymbol sets the value of a symbol. Like GetSymbol, it advances to parent Environments if the symbol cannot be found in the current context. If the
lisp/environment.go:56
↓ 4 callersMethodSize
Size returns the number of nodes in the graph.
graph/graph.go:25
↓ 4 callersMethodString
()
dsp/values.go:40
↓ 4 callersMethodTickAbsolute
TickAbsolute advances the state of the DelayLine using a specific delay length (less than total) in samples
dsp/delay_line.go:37
↓ 4 callersMethodUnpatch
Unpatch disconnects any sources from an input.
engine/graph.go:133
↓ 4 callersMethodUnsetSymbol
UnsetSymbol removes a symbol definition. It only operates on the current context; no parent Environments will be affected.
lisp/environment.go:105
↓ 4 callersMethodcreateSink
(fadeIn, frameSize, sampleRate int)
engine/graph.go:64
↓ 4 callersMethoderrorf
(format string, args ...any)
lisp/lexer.go:80
↓ 4 callersFunctionfoldNumeric
foldNumeric applies intOp/floatOp across a list of numeric arguments. It preserves the int type when no float64 values are present. For commutative op
lisp/builtin/math.go:16
↓ 4 callersFunctionisHigh
(v float64)
unit/unit.go:168
↓ 4 callersFunctionisType
isType returns a lisp builtin that checks whether its single argument is of type T.
lisp/builtin/value.go:12
↓ 4 callersMethodmaybeDirty
(changed bool)
graph/graph.go:173
↓ 4 callersMethodmounted
()
runtime/unit.go:52
↓ 4 callersFunctionnatsort
(s []string)
runtime/natsort.go:11
↓ 4 callersMethodnewFrame
()
unit/low_gen.go:37
↓ 4 callersFunctionpatchableInputs
(args lisp.List)
runtime/unit.go:297
↓ 4 callersFunctionrepeatControl
(s []float64)
unit/all_test.go:1183
↓ 3 callersFunctionBPM
BPM returns a scalar value in beats-per-minute
dsp/values.go:124
↓ 3 callersMethodDevices
Devices returns the devices currently in use by portaudio.
engine/portaudio/portaudio.go:94
↓ 3 callersFunctionForEachEntry
ForEachEntry iterates over a List or Table, calling fn(key, value) for each entry. For Lists the key is the integer index; for Tables it is the map ke
lisp/extract.go:39
↓ 3 callersFunctionIsPowerOfTwo
IsPowerOfTwo determines whether or not an integer is a power of two
dsp/math.go:60
↓ 3 callersFunctionMountUnit
MountUnit mounts a Unit into the audio graph.
engine/actions.go:14
↓ 3 callersMethodName
()
lisp/values.go:24
↓ 3 callersMethodNeighborCount
NeighborCount returns the total neighbor count
graph/node.go:43
↓ 3 callersFunctionNewDelayLineMS
NewDelayLineMS returns a new DelayLine of a specific maximum size in milliseconds
dsp/delay_line.go:20
↓ 3 callersFunctionNewPitchShift
NewPitchShift returns a new PitchShift
dsp/pitch_shift.go:8
↓ 3 callersMethodNewProp
NewProp registers a new property
unit/io.go:36
↓ 3 callersFunctionPanMix
PanMix pans two inputs between two outputs
dsp/math.go:49
↓ 3 callersFunctionPatchInput
PatchInput patches values into a Unit's Ins. If `forceReset` is set to `true` all Ins on that Unit that haven't been referenced in `inputs` will be re
engine/actions.go:53
↓ 3 callersFunctionPrepareBuilders
PrepareBuilders converts a set of IOBuilders to a set of Builders.
unit/builders.go:118
↓ 3 callersMethodReplace
(v any)
lisp/environment.go:81
↓ 3 callersMethodSampleRate
()
engine/engine.go:15
↓ 3 callersMethodSorted
Sorted returns a topologically sorted list of strongly connected components in the Graph.
graph/graph.go:120
↓ 3 callersMethodStart
(func([]float32, [][]float32))
engine/engine.go:13
↓ 3 callersMethodString
()
runtime/unit.go:48
↓ 3 callersFunctionSwapUnit
SwapUnit swaps one unit out in the graph for another. If the two units or of different types, the original is just removed and nothing is done. Otherw
engine/actions.go:89
↓ 3 callersMethodTick
Tick advances the filter's state with the default delay
dsp/comb.go:20
↓ 3 callersMethodTickAbsolute
TickAbsolute advances the allpass filter state with a specified absolute delay length (less than maximum)
dsp/allpass.go:25
↓ 3 callersMethodTickSemitones
TickSemitones shifts a pitch by a specific number of semitones in equal temperament.
dsp/pitch_shift.go:21
↓ 3 callersMethodTranspose
Transpose transposes the pitch by some interval
dsp/values.go:87
↓ 3 callersMethodUnmount
Unmount removes a unit from the graph.
engine/graph.go:141
↓ 3 callersMethodWrite
Write writes a value to the DelayLine and steps ahead by one sample
dsp/delay_line.go:49
↓ 3 callersMethodapplyFilter
(in, ctrl, cutoffhigh, cutofflow, res float64)
unit/gate.go:71
↓ 3 callersMethodignore
()
lisp/lexer.go:117
↓ 3 callersFunctionisAlphaNumeric
(r rune)
lisp/lexer.go:249
↓ 3 callersFunctionnewPitch
(p musictheory.Pitch, sampleRate int, rawName string)
dsp/values.go:56
↓ 3 callersFunctionparseArgs
(args []string)
config.go:37
↓ 3 callersFunctionprepAdsrAttack
(s *adsrState)
unit/adsr.go:125
↓ 3 callersFunctionprepAdsrRelease
(s *adsrState)
unit/adsr.go:148
↓ 3 callersFunctionprepSlopeRise
(s *slopeState)
unit/slope.go:112
↓ 2 callersMethodAckChange
AckChange acknowledges changes to the Graph, resetting the dirty flag.
graph/graph.go:185
↓ 2 callersMethodChannel
(time.Duration)
midi/midi.go:92
↓ 2 callersFunctionChebyshev
Chebyshev generates the Chebyshev polynomial coefficient for order n
dsp/math.go:96
↓ 2 callersMethodConstant
Constant is the constant value that's filling the buffer.
unit/in.go:108
↓ 2 callersMethodCouple
Couple assigns the internal frame of this input to the frame of an output; binding them together. This in-of-itself does not define the connection. Th
unit/in.go:91
↓ 2 callersFunctionEmitOutputs
EmitOutputs sinks 1 or 2 outputs to the Engine.
engine/actions.go:28
↓ 2 callersMethodError
()
unit/prop.go:40
↓ 2 callersFunctionExpRatio
ExpRatio produces an (inverse-)exponential curve that's inflection can be controlled by a specific ratio
dsp/math.go:14
↓ 2 callersFunctionFold
Fold reflects a value exceeding minimum/maximum thresholds back over those thresholds
dsp/math.go:65
↓ 2 callersMethodFrameSize
()
runtime/runtime.go:24
↓ 2 callersFunctionNew
New returns a new Stdout
engine/stdout/stdout.go:12
↓ 2 callersFunctionNewFBComb
NewFBComb returns a new FBComb
dsp/comb.go:4
↓ 2 callersFunctionNewFFComb
NewFFComb returns a new FBComb
dsp/comb.go:32
↓ 2 callersFunctionNewFilter
NewFilter returns a new Filter.
dsp/filter.go:53
↓ 2 callersFunctionNewPitch
NewPitch creates a Pitch
dsp/values.go:52
↓ 2 callersMethodNewStream
(deviceID portmidi.DeviceID, frameSize int64)
midi/midi.go:87
↓ 2 callersFunctionOverload
Overload is a sigmoid function that simulates soft clip overloading
dsp/math.go:28
↓ 2 callersMethodParse
()
lisp/parser.go:37
↓ 2 callersMethodQuasiQuoteEval
QuasiQuoteEval is a special evaluation mode that is used in quasiquoting. Like `quote` it doesn't evaluate any expressions. However, unlike `quote` it
lisp/environment.go:195
↓ 2 callersMethodReset
Reset empties the graph.
engine/graph.go:50
↓ 2 callersMethodSampleRate
()
runtime/runtime.go:25
↓ 2 callersMethodSetMode
SetMode sets the processing mode for this input.
unit/in.go:122
↓ 2 callersFunctionSoftClamp
SoftClamp limits a value to a specific range, but compresses the value as it goes beyond the threshold
dsp/math.go:19
↓ 2 callersMethodSort
Sort sorts the graph; caching a slice of unit.FrameProcessors.
engine/graph.go:37
↓ 2 callersMethodString
()
unit/in.go:136
↓ 2 callersFunctionTan
Tan is a lookup table version of math.Tan
dsp/trig.go:45
↓ 2 callersMethodTick
Tick advances the operation
dsp/filter.go:62
↓ 2 callersMethodTick
Tick advances the filter's state with the default delay
dsp/comb.go:47
↓ 2 callersMethodTick
Tick advances the state
dsp/dc_block.go:9
↓ 2 callersMethodTickAbsolute
TickAbsolute advances the filter's state with a specific delay
dsp/comb.go:52
↓ 2 callersFunctionUnmountUnit
UnmountUnit removes a Unit from the audio graph.
engine/actions.go:21
↓ 2 callersFunctionUnpatch
Unpatch disconnects all inbound neighbors (Outs) from an In. All graph edges are removed as well to track the disconnection. Once all, if any, Outs ar
unit/graph.go:18
↓ 2 callersMethodValue
Value returns the Prop's value
unit/prop.go:21
↓ 2 callersMethodaccept
(valid string)
lisp/lexer.go:85
← previousnext →101–200 of 905, ranked by callers