v1.3.0 release: graceful-release fix, quickstart template + demo, documentation accuracy pass
- Fixed: SynthesizerBase subclasses' release/free now dispatch correctly (gated synths were hard-freed instead of released). - New: quickstart project template + LyrebirdQuickstartDemo. - Docs: every example typechecked or provably illustrative (426->542); ~20 wrong-API examples fixed; root docs brought under the compile guard. - Fixed: NRT/Score demo Package.swift build from terminal again. See RELEASES.md for details.
This commit is contained in:
@@ -13,9 +13,9 @@ so any parameter controllable from code is automatically controllable from a GUI
|
||||
import LyrebirdUI
|
||||
|
||||
class MySynth: SynthesizerBase {
|
||||
@UIParam var frequency: LyrebirdFloat = 440.0
|
||||
@UIParam var amplitude: LyrebirdFloat = 0.5
|
||||
@UIParam var pan: LyrebirdFloat = 0.0
|
||||
@UIParam var frequency: Double = 440.0
|
||||
@UIParam var amplitude: Double = 0.5
|
||||
@UIParam var pan: Double = 0.0
|
||||
|
||||
override func build() {
|
||||
let osc = OscSin.Audio(freq: $frequency)
|
||||
|
||||
Reference in New Issue
Block a user