MCPcopy Create free account

hub / github.com/brettbuddin/shaden / functions

Functions905 in github.com/brettbuddin/shaden

↓ 2 callersMethodacceptRun
(valid string)
lisp/lexer.go:93
↓ 2 callersFunctionadvanceLFO
(phase *float64, freq float64)
unit/reverb.go:136
↓ 2 callersFunctionbinaryXOR
(x, y float64)
unit/binary.go:63
↓ 2 callersFunctionbuildFunction
(env *lisp.Environment, defArgs, body lisp.List)
lisp/builtin/functions.go:78
↓ 2 callersMethodcallEnvFunc
(name string, fn func(*Environment, List) (any, error), args List)
lisp/environment.go:290
↓ 2 callersMethodcallFunc
(name string, fn func(List) (any, error), args List)
lisp/environment.go:276
↓ 2 callersFunctionclampInt
(min, max float64)
unit/in.go:152
↓ 2 callersFunctioncompareOrdered
compareOrdered compares two values of the same ordered type.
lisp/builtin/conditional.go:23
↓ 2 callersFunctioncompareValues
compareValues dispatches a comparison over the lisp numeric types.
lisp/builtin/conditional.go:31
↓ 2 callersMethoddrain
()
lisp/lexer.go:121
↓ 2 callersFunctioneuclidean
(pattern []bool, counts, remainders []int, n, p int)
unit/euclid.go:76
↓ 2 callersMethodeval
eval is the internal evaluator. It may return TailCall sentinel values that the trampoline in Eval resolves iteratively.
lisp/environment.go:164
↓ 2 callersMethodevalArgs
(nodes List)
lisp/environment.go:304
↓ 2 callersFunctionevalArgsErrorMsg
(name string)
lisp/environment.go:316
↓ 2 callersFunctionfnName
(v any)
lisp/environment.go:269
↓ 2 callersFunctionfunctionArityError
(defCount, givenCount int)
lisp/builtin/functions.go:99
↓ 2 callersFunctionfunctionEvaluate
(env *lisp.Environment, args, defArgs, body lisp.List)
lisp/builtin/functions.go:110
↓ 2 callersMethodmaybeUpdate
()
unit/quantize.go:67
↓ 2 callersFunctionnewClock
(creator streamCreator, receiver eventReceiver)
midi/clock.go:11
↓ 2 callersFunctionnewLexer
(input string)
lisp/lexer.go:50
↓ 2 callersMethodnewOut
(name string, f []float64)
unit/io.go:72
↓ 2 callersMethodnewPulse
(name string, mult float64)
unit/gen.go:69
↓ 2 callersMethodnewSaw
(name string, mult float64)
unit/gen.go:60
↓ 2 callersMethodnewSine
(name string, mult float64)
unit/gen.go:51
↓ 2 callersFunctionnewSlew
()
unit/lag.go:47
↓ 2 callersFunctionpadControl
(s []float64)
unit/all_test.go:1193
↓ 2 callersFunctionpatchFn
(e Engine, logger *log.Logger, forceReset bool)
runtime/unit.go:246
↓ 2 callersFunctionprepSlopeFall
(s *slopeState)
unit/slope.go:121
↓ 2 callersMethodread
(i int)
unit/stages.go:75
↓ 2 callersFunctionremoveConnectionIndex
(pos int, e *[]connection)
graph/node.go:104
↓ 2 callersMethodremoveInConnection
(from *Node)
graph/node.go:72
↓ 2 callersMethodremoveOutConnection
(to *Node)
graph/node.go:58
↓ 2 callersFunctionreplace
(existing, replacement any)
lisp/environment.go:79
↓ 2 callersMethodrun
()
lisp/lexer.go:59
↓ 2 callersFunctiontick
(dl *DelayLine, in, delay float64)
dsp/comb.go:56
↓ 2 callersMethodtick
(i int)
engine/sink.go:43
↓ 2 callersFunctiontoInt16
(v float32)
engine/stdout/stdout.go:74
↓ 2 callersFunctionunitUnmountFn
(e Engine, logger *log.Logger)
runtime/unit.go:210
↓ 2 callersMethodwrite
(i int, pw, duty float64)
unit/clock.go:63
↓ 1 callersMethodClearUserspace
ClearUserspace resets the environment by clearing all user-defined symbols.
runtime/runtime.go:54
↓ 1 callersMethodClose
Close closes all processors in the graph.
engine/graph.go:87
↓ 1 callersMethodClose
Close closes the Processor if it is an io.Closer. It also closes any Outs that it has.
unit/unit.go:69
↓ 1 callersFunctionCos
Cos is a lookup table version of math.Cos
dsp/trig.go:50
↓ 1 callersMethodDestinations
Destinations returns a list of all destination inputs of the output
unit/out.go:69
↓ 1 callersFunctionDurationInt
DurationInt returns a scalar value (int) in MS
dsp/values.go:98
↓ 1 callersMethodEval
Eval parses and evaluates lisp expressions.
runtime/runtime.go:84
↓ 1 callersFunctionExtract
Extract performs a type assertion on a value and returns a user-friendly error on failure. argPos is 1-indexed for error messages.
lisp/extract.go:5
↓ 1 callersMethodFrameSize
()
engine/engine.go:16
↓ 1 callersMethodFunc
(List)
lisp/values.go:25
↓ 1 callersFunctionInitialize
Initialize initializes portmidi and returns the list of devices on the system.
midi/midi.go:30
↓ 1 callersFunctionInitialize
Initialize initializes portaudio and returns the list of devices on the machine.
engine/portaudio/portaudio.go:26
↓ 1 callersMethodLoad
Load parses and evaluates lisp expressions in a file.
runtime/runtime.go:97
↓ 1 callersFunctionNew
New returns a new PortAudio.
engine/portaudio/portaudio.go:55
↓ 1 callersMethodNewOutWithFrame
NewOutWithFrame registers a new output that has a specific frame
unit/io.go:63
↓ 1 callersMethodProcessSample
(i int)
midi/input.go:162
↓ 1 callersMethodProcessSample
(i int)
midi/input.go:187
↓ 1 callersMethodProcessSample
(i int)
midi/input.go:266
↓ 1 callersMethodProcessSample
(i int)
midi/input.go:288
↓ 1 callersMethodProcessSample
(i int)
midi/input.go:311
↓ 1 callersMethodProcessSample
(i int)
unit/gen.go:115
↓ 1 callersMethodProcessSample
(i int)
unit/gen.go:150
↓ 1 callersMethodProcessSample
(i int)
unit/gen.go:189
↓ 1 callersMethodProcessSample
(i int)
unit/gen.go:235
↓ 1 callersMethodProcessSample
(i int)
unit/gen.go:280
↓ 1 callersMethodProcessSample
(i int)
unit/gen.go:302
↓ 1 callersMethodProcessSample
(i int)
unit/low_gen.go:83
↓ 1 callersMethodProcessSample
(i int)
unit/low_gen.go:108
↓ 1 callersMethodProcessSample
(i int)
unit/low_gen.go:133
↓ 1 callersMethodProcessSample
(i int)
unit/low_gen.go:166
↓ 1 callersMethodProcessSample
(i int)
unit/support_test.go:52
↓ 1 callersMethodProcessSample
(i int)
unit/io_test.go:31
↓ 1 callersMethodProcessors
Processors returns the sorted slice of unit.FrameProcessors.
engine/graph.go:34
↓ 1 callersMethodREPL
REPL runs the REPL.
runtime/runtime.go:59
↓ 1 callersFunctionRandRange
RandRange returns random values between a specified range
dsp/math.go:9
↓ 1 callersMethodRate
Rate returns the rate of the parent Unit
unit/out.go:44
↓ 1 callersMethodReceive
()
engine/messages.go:32
↓ 1 callersMethodReset
Reset clears the state of the Engine. This includes clearing the audio graph.
engine/engine.go:96
↓ 1 callersMethodSend
(*Message)
engine/messages.go:33
↓ 1 callersMethodSize
Size returns the size of the DelayLine buffer
dsp/delay_line.go:27
↓ 1 callersMethodString
()
engine/portaudio/portaudio.go:37
↓ 1 callersFunctionTerminate
Terminate terminates portmidi.
midi/midi.go:42
↓ 1 callersFunctionTerminate
Terminate terminates portaudio. This is called after all client's have shut down.
engine/portaudio/portaudio.go:50
↓ 1 callersMethodTestUnit
(t *testing.T, index int, u *Unit)
unit/all_test.go:1152
↓ 1 callersMethodTick
Tick advances the operation
dsp/filter.go:14
↓ 1 callersMethodTick
Tick advances the allpass filter state using the full length of the delay line
dsp/allpass.go:20
↓ 1 callersFunctionUnitBuilders
UnitBuilders returns the list of units provided by this package.
midi/midi.go:22
↓ 1 callersMethodUnitBuilders
()
runtime/runtime.go:23
↓ 1 callersFunctionWithFadeIn
WithFadeIn fades the engine output in to prevent pops
engine/engine.go:37
↓ 1 callersFunctionWithGain
WithGain sets the global gain for all samples written to the output
engine/engine.go:44
↓ 1 callersFunctionWithSingleSampleDisabled
WithSingleSampleDisabled disables the single-sample feedback loop behavior.
engine/engine.go:30
↓ 1 callersMethodadvance
(stage *stage, totalStages, mode int)
unit/stages.go:137
↓ 1 callersMethodadvance
(i int, pw, duty float64)
unit/clock.go:50
↓ 1 callersMethodadvanceStage
(totalStages, mode int)
unit/stages.go:154
↓ 1 callersFunctionbinaryAND
(x, y float64)
unit/binary.go:49
↓ 1 callersFunctionbinaryNAND
(x, y float64)
unit/binary.go:70
↓ 1 callersFunctionbinaryNOR
(x, y float64)
unit/binary.go:77
↓ 1 callersFunctionbinaryOR
(x, y float64)
unit/binary.go:56
↓ 1 callersFunctionbinaryXNOR
(x, y float64)
unit/binary.go:91
↓ 1 callersFunctionbpmFn
(sampleRate int)
runtime/value.go:45
↓ 1 callersFunctionbuild
(pattern []bool, counts, remainders []int, lvl int, idx *int)
unit/euclid.go:99
← previousnext →201–300 of 905, ranked by callers