- Add AdditiveEngine (48 params) and FMEngine (55 params) wrapping FaustEngineBase - Remove comingSoon flags from ENGINES descriptors - Replace stub onSwitch handler with real engine construction + init + setActiveEngine - Fix setActiveEngine EOC rewire to work with both C15 (_bridge.audioContext) and Faust (_audioCtx) - Fix _startEocChain audioCtx resolution to support Faust engines - Fix synth param send loop: use N_OUTPUTS instead of hardcoded SYNTH_PARAM_MAP.length
14 lines
406 B
JavaScript
14 lines
406 B
JavaScript
import { FaustEngineBase } from './faust-engine-base.js';
|
|
|
|
export class AdditiveEngine extends FaustEngineBase {
|
|
constructor() {
|
|
super({
|
|
id: 'additive',
|
|
displayName: 'Additive',
|
|
wasmUrl: 'faust/additive.wasm',
|
|
jsonUrl: 'faust/additive.json',
|
|
workletUrl: 'faust/additive-processor.js',
|
|
processorName: 'additive-processor',
|
|
});
|
|
}
|
|
}
|