Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brettbuddin/shaden
/ functions
Functions
905 in github.com/brettbuddin/shaden
⨍
Functions
905
◇
Types & classes
192
↓ 2 callers
Method
acceptRun
(valid string)
lisp/lexer.go:93
↓ 2 callers
Function
advanceLFO
(phase *float64, freq float64)
unit/reverb.go:136
↓ 2 callers
Function
binaryXOR
(x, y float64)
unit/binary.go:63
↓ 2 callers
Function
buildFunction
(env *lisp.Environment, defArgs, body lisp.List)
lisp/builtin/functions.go:78
↓ 2 callers
Method
callEnvFunc
(name string, fn func(*Environment, List) (any, error), args List)
lisp/environment.go:290
↓ 2 callers
Method
callFunc
(name string, fn func(List) (any, error), args List)
lisp/environment.go:276
↓ 2 callers
Function
clampInt
(min, max float64)
unit/in.go:152
↓ 2 callers
Function
compareOrdered
compareOrdered compares two values of the same ordered type.
lisp/builtin/conditional.go:23
↓ 2 callers
Function
compareValues
compareValues dispatches a comparison over the lisp numeric types.
lisp/builtin/conditional.go:31
↓ 2 callers
Method
drain
()
lisp/lexer.go:121
↓ 2 callers
Function
euclidean
(pattern []bool, counts, remainders []int, n, p int)
unit/euclid.go:76
↓ 2 callers
Method
eval
eval is the internal evaluator. It may return TailCall sentinel values that the trampoline in Eval resolves iteratively.
lisp/environment.go:164
↓ 2 callers
Method
evalArgs
(nodes List)
lisp/environment.go:304
↓ 2 callers
Function
evalArgsErrorMsg
(name string)
lisp/environment.go:316
↓ 2 callers
Function
fnName
(v any)
lisp/environment.go:269
↓ 2 callers
Function
functionArityError
(defCount, givenCount int)
lisp/builtin/functions.go:99
↓ 2 callers
Function
functionEvaluate
(env *lisp.Environment, args, defArgs, body lisp.List)
lisp/builtin/functions.go:110
↓ 2 callers
Method
maybeUpdate
()
unit/quantize.go:67
↓ 2 callers
Function
newClock
(creator streamCreator, receiver eventReceiver)
midi/clock.go:11
↓ 2 callers
Function
newLexer
(input string)
lisp/lexer.go:50
↓ 2 callers
Method
newOut
(name string, f []float64)
unit/io.go:72
↓ 2 callers
Method
newPulse
(name string, mult float64)
unit/gen.go:69
↓ 2 callers
Method
newSaw
(name string, mult float64)
unit/gen.go:60
↓ 2 callers
Method
newSine
(name string, mult float64)
unit/gen.go:51
↓ 2 callers
Function
newSlew
()
unit/lag.go:47
↓ 2 callers
Function
padControl
(s []float64)
unit/all_test.go:1193
↓ 2 callers
Function
patchFn
(e Engine, logger *log.Logger, forceReset bool)
runtime/unit.go:246
↓ 2 callers
Function
prepSlopeFall
(s *slopeState)
unit/slope.go:121
↓ 2 callers
Method
read
(i int)
unit/stages.go:75
↓ 2 callers
Function
removeConnectionIndex
(pos int, e *[]connection)
graph/node.go:104
↓ 2 callers
Method
removeInConnection
(from *Node)
graph/node.go:72
↓ 2 callers
Method
removeOutConnection
(to *Node)
graph/node.go:58
↓ 2 callers
Function
replace
(existing, replacement any)
lisp/environment.go:79
↓ 2 callers
Method
run
()
lisp/lexer.go:59
↓ 2 callers
Function
tick
(dl *DelayLine, in, delay float64)
dsp/comb.go:56
↓ 2 callers
Method
tick
(i int)
engine/sink.go:43
↓ 2 callers
Function
toInt16
(v float32)
engine/stdout/stdout.go:74
↓ 2 callers
Function
unitUnmountFn
(e Engine, logger *log.Logger)
runtime/unit.go:210
↓ 2 callers
Method
write
(i int, pw, duty float64)
unit/clock.go:63
↓ 1 callers
Method
ClearUserspace
ClearUserspace resets the environment by clearing all user-defined symbols.
runtime/runtime.go:54
↓ 1 callers
Method
Close
Close closes all processors in the graph.
engine/graph.go:87
↓ 1 callers
Method
Close
Close closes the Processor if it is an io.Closer. It also closes any Outs that it has.
unit/unit.go:69
↓ 1 callers
Function
Cos
Cos is a lookup table version of math.Cos
dsp/trig.go:50
↓ 1 callers
Method
Destinations
Destinations returns a list of all destination inputs of the output
unit/out.go:69
↓ 1 callers
Function
DurationInt
DurationInt returns a scalar value (int) in MS
dsp/values.go:98
↓ 1 callers
Method
Eval
Eval parses and evaluates lisp expressions.
runtime/runtime.go:84
↓ 1 callers
Function
Extract
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 callers
Method
FrameSize
()
engine/engine.go:16
↓ 1 callers
Method
Func
(List)
lisp/values.go:25
↓ 1 callers
Function
Initialize
Initialize initializes portmidi and returns the list of devices on the system.
midi/midi.go:30
↓ 1 callers
Function
Initialize
Initialize initializes portaudio and returns the list of devices on the machine.
engine/portaudio/portaudio.go:26
↓ 1 callers
Method
Load
Load parses and evaluates lisp expressions in a file.
runtime/runtime.go:97
↓ 1 callers
Function
New
New returns a new PortAudio.
engine/portaudio/portaudio.go:55
↓ 1 callers
Method
NewOutWithFrame
NewOutWithFrame registers a new output that has a specific frame
unit/io.go:63
↓ 1 callers
Method
ProcessSample
(i int)
midi/input.go:162
↓ 1 callers
Method
ProcessSample
(i int)
midi/input.go:187
↓ 1 callers
Method
ProcessSample
(i int)
midi/input.go:266
↓ 1 callers
Method
ProcessSample
(i int)
midi/input.go:288
↓ 1 callers
Method
ProcessSample
(i int)
midi/input.go:311
↓ 1 callers
Method
ProcessSample
(i int)
unit/gen.go:115
↓ 1 callers
Method
ProcessSample
(i int)
unit/gen.go:150
↓ 1 callers
Method
ProcessSample
(i int)
unit/gen.go:189
↓ 1 callers
Method
ProcessSample
(i int)
unit/gen.go:235
↓ 1 callers
Method
ProcessSample
(i int)
unit/gen.go:280
↓ 1 callers
Method
ProcessSample
(i int)
unit/gen.go:302
↓ 1 callers
Method
ProcessSample
(i int)
unit/low_gen.go:83
↓ 1 callers
Method
ProcessSample
(i int)
unit/low_gen.go:108
↓ 1 callers
Method
ProcessSample
(i int)
unit/low_gen.go:133
↓ 1 callers
Method
ProcessSample
(i int)
unit/low_gen.go:166
↓ 1 callers
Method
ProcessSample
(i int)
unit/support_test.go:52
↓ 1 callers
Method
ProcessSample
(i int)
unit/io_test.go:31
↓ 1 callers
Method
Processors
Processors returns the sorted slice of unit.FrameProcessors.
engine/graph.go:34
↓ 1 callers
Method
REPL
REPL runs the REPL.
runtime/runtime.go:59
↓ 1 callers
Function
RandRange
RandRange returns random values between a specified range
dsp/math.go:9
↓ 1 callers
Method
Rate
Rate returns the rate of the parent Unit
unit/out.go:44
↓ 1 callers
Method
Receive
()
engine/messages.go:32
↓ 1 callers
Method
Reset
Reset clears the state of the Engine. This includes clearing the audio graph.
engine/engine.go:96
↓ 1 callers
Method
Send
(*Message)
engine/messages.go:33
↓ 1 callers
Method
Size
Size returns the size of the DelayLine buffer
dsp/delay_line.go:27
↓ 1 callers
Method
String
()
engine/portaudio/portaudio.go:37
↓ 1 callers
Function
Terminate
Terminate terminates portmidi.
midi/midi.go:42
↓ 1 callers
Function
Terminate
Terminate terminates portaudio. This is called after all client's have shut down.
engine/portaudio/portaudio.go:50
↓ 1 callers
Method
TestUnit
(t *testing.T, index int, u *Unit)
unit/all_test.go:1152
↓ 1 callers
Method
Tick
Tick advances the operation
dsp/filter.go:14
↓ 1 callers
Method
Tick
Tick advances the allpass filter state using the full length of the delay line
dsp/allpass.go:20
↓ 1 callers
Function
UnitBuilders
UnitBuilders returns the list of units provided by this package.
midi/midi.go:22
↓ 1 callers
Method
UnitBuilders
()
runtime/runtime.go:23
↓ 1 callers
Function
WithFadeIn
WithFadeIn fades the engine output in to prevent pops
engine/engine.go:37
↓ 1 callers
Function
WithGain
WithGain sets the global gain for all samples written to the output
engine/engine.go:44
↓ 1 callers
Function
WithSingleSampleDisabled
WithSingleSampleDisabled disables the single-sample feedback loop behavior.
engine/engine.go:30
↓ 1 callers
Method
advance
(stage *stage, totalStages, mode int)
unit/stages.go:137
↓ 1 callers
Method
advance
(i int, pw, duty float64)
unit/clock.go:50
↓ 1 callers
Method
advanceStage
(totalStages, mode int)
unit/stages.go:154
↓ 1 callers
Function
binaryAND
(x, y float64)
unit/binary.go:49
↓ 1 callers
Function
binaryNAND
(x, y float64)
unit/binary.go:70
↓ 1 callers
Function
binaryNOR
(x, y float64)
unit/binary.go:77
↓ 1 callers
Function
binaryOR
(x, y float64)
unit/binary.go:56
↓ 1 callers
Function
binaryXNOR
(x, y float64)
unit/binary.go:91
↓ 1 callers
Function
bpmFn
(sampleRate int)
runtime/value.go:45
↓ 1 callers
Function
build
(pattern []bool, counts, remainders []int, lvl int, idx *int)
unit/euclid.go:99
← previous
next →
201–300 of 905, ranked by callers