62b2f5dbec
LyrebirdRandom scalar distribution sampling (seedable value type + shared Random) with DistributionKind.sample dispatcher. Live Scratch editor: rename to LyrebirdScratch, App Support artifact staging, Format Code (⌥⌘F), Render to File (⌥⌘R offline CAF), line-number gutter, manual completion, Foundation in snippets, scroll-jump fix, scheduling/NRT docs.
3.0 KiB
3.0 KiB
LyrebirdSynth
A native macOS audio synthesis framework for Swift.
Overview
Lyrebird provides a signal-graph engine backed by Core Audio. You define instruments and effects as Synthesizer instances containing networks of Generator objects, then add them to a running SynthesisEngine. All signal processing runs on the Core Audio real-time thread with no heap allocation in steady state.
let driver = CoreAudioDriver()
let engine = SynthesisEngine(
blockSize: 512, sampleRate: 44100,
numOutputChannels: 2, numInputChannels: 0,
driver: driver
)
try engine.start()
try engine.add(MySynth()) // MySynth — your SynthesizerBase subclass
Topics
Getting Started
Generator Concepts
- doc:GeneratorProtocol
- doc:WritingGenerators
- doc:MultiChannel
GeneratorEnumSampleLoop
Oscillators and Noise
Buffer Utilities
- doc:BufferGuide
- doc:WavetableFill
LyrebirdBufferWavetableSet
Filter Library
Waveshaping and Distortion
Reverb Library
Physical Models
Spectral
SpectralChain
Signal Analysis
Triggers and Timing
Pitch Shifting
- doc:PitchShifting
PitchShiftSpectralPitchShift
Envelopes and Delays
Halfband oversampling
- doc:Oversampling
HalfbandUpsampler2xHalfbandDownsampler2xHalfbandUpsampler4xHalfbandDownsampler4x
Math and Bus I/O
Bus Allocation
BusAllocatorAudioBusControlBusBusAllocatorError
Synthesizers
- doc:SynthesizerProtocol
- doc:ParameterInputs
- doc:PolyphonicVoices
VoicePoolVoiceStealStrategyVoicePoolError
Step Sequencer
StepSequencerSequencerStep
Signal Flow
Temporal and Demand Generation
Advanced
- doc:MultiCore
SendTrigger- doc:AUv3
External Integrations
- doc:ExternalIntegrations
MIDIMIDIMessageOSCServerOSCClientOSCMessageOSCArgumentLyrebirdMessageContextTriggerListenerTriggerEventTriggerHandlerToken
Score and Event Sequencing
- doc:ScoreSystem
- doc:ProcessSystem
VoicePool
Parameter Sources for Non-RT Loops
ValueComputableValueComputableClosureValueComputableBody