@grame/faustwasm 0.0.30 → 0.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/standalone/faustwasm/index.d.ts +42 -0
- package/assets/standalone/faustwasm/index.js +41 -2
- package/assets/standalone/faustwasm/index.js.map +2 -2
- package/dist/cjs/index.d.ts +42 -0
- package/dist/cjs/index.js +41 -2
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs-bundle/index.d.ts +42 -0
- package/dist/cjs-bundle/index.js +45 -6
- package/dist/cjs-bundle/index.js.map +2 -2
- package/dist/esm/index.d.ts +42 -0
- package/dist/esm/index.js +41 -2
- package/dist/esm/index.js.map +2 -2
- package/dist/esm-bundle/index.d.ts +42 -0
- package/dist/esm-bundle/index.js +45 -6
- package/dist/esm-bundle/index.js.map +2 -2
- package/libfaust-wasm/libfaust-wasm.data +0 -0
- package/libfaust-wasm/libfaust-wasm.js +1 -1
- package/libfaust-wasm/libfaust-wasm.wasm +0 -0
- package/package.json +1 -1
- package/src/FaustDspGenerator.ts +111 -36
- package/src/FaustWasmInstantiator.ts +2 -2
- package/test/faustlive-wasm/faustwasm/index.d.ts +42 -0
- package/test/faustlive-wasm/faustwasm/index.js +41 -2
- package/test/faustlive-wasm/faustwasm/index.js.map +2 -2
|
@@ -1181,6 +1181,24 @@ export interface IFaustMonoDspGenerator {
|
|
|
1181
1181
|
* @returns the compiled processor or 'null' if failure
|
|
1182
1182
|
*/
|
|
1183
1183
|
createOfflineProcessor(sampleRate: number, bufferSize: number, factory?: LooseFaustDspFactory, meta?: FaustDspMeta): Promise<IFaustMonoOfflineProcessor | null>;
|
|
1184
|
+
/**
|
|
1185
|
+
* Get DSP JSON description with its UI and metadata as object.
|
|
1186
|
+
*
|
|
1187
|
+
* @return the DSP JSON description as object
|
|
1188
|
+
*/
|
|
1189
|
+
getMeta(): FaustDspMeta;
|
|
1190
|
+
/**
|
|
1191
|
+
* Get DSP JSON description with its UI and metadata.
|
|
1192
|
+
*
|
|
1193
|
+
* @return the DSP JSON description
|
|
1194
|
+
*/
|
|
1195
|
+
getJSON(): string;
|
|
1196
|
+
/**
|
|
1197
|
+
* Get DSP UI description.
|
|
1198
|
+
*
|
|
1199
|
+
* @return the DSP UI description
|
|
1200
|
+
*/
|
|
1201
|
+
getUI(): FaustUIDescriptor;
|
|
1184
1202
|
}
|
|
1185
1203
|
export interface IFaustPolyDspGenerator {
|
|
1186
1204
|
/**
|
|
@@ -1222,6 +1240,24 @@ export interface IFaustPolyDspGenerator {
|
|
|
1222
1240
|
* @returns the compiled processor or 'null' if failure
|
|
1223
1241
|
*/
|
|
1224
1242
|
createOfflineProcessor(sampleRate: number, bufferSize: number, voices: number, voiceFactory?: LooseFaustDspFactory, mixerModule?: WebAssembly.Module, effectFactory?: LooseFaustDspFactory | null): Promise<IFaustPolyOfflineProcessor | null>;
|
|
1243
|
+
/**
|
|
1244
|
+
* Get DSP JSON description with its UI and metadata as object.
|
|
1245
|
+
*
|
|
1246
|
+
* @return the DSP JSON description as object
|
|
1247
|
+
*/
|
|
1248
|
+
getMeta(): FaustDspMeta;
|
|
1249
|
+
/**
|
|
1250
|
+
* Get DSP JSON description with its UI and metadata.
|
|
1251
|
+
*
|
|
1252
|
+
* @return the DSP JSON description
|
|
1253
|
+
*/
|
|
1254
|
+
getJSON(): string;
|
|
1255
|
+
/**
|
|
1256
|
+
* Get DSP UI description.
|
|
1257
|
+
*
|
|
1258
|
+
* @return the DSP UI description
|
|
1259
|
+
*/
|
|
1260
|
+
getUI(): FaustUIDescriptor;
|
|
1225
1261
|
}
|
|
1226
1262
|
export declare class FaustMonoDspGenerator implements IFaustMonoDspGenerator {
|
|
1227
1263
|
private static gWorkletProcessors;
|
|
@@ -1237,6 +1273,9 @@ export declare class FaustMonoDspGenerator implements IFaustMonoDspGenerator {
|
|
|
1237
1273
|
parameterDescriptors: AudioParamDescriptor[];
|
|
1238
1274
|
}>;
|
|
1239
1275
|
createOfflineProcessor(sampleRate: number, bufferSize: number, factory?: LooseFaustDspFactory): Promise<FaustMonoOfflineProcessor>;
|
|
1276
|
+
getMeta(): any;
|
|
1277
|
+
getJSON(): string;
|
|
1278
|
+
getUI(): any;
|
|
1240
1279
|
}
|
|
1241
1280
|
export declare class FaustPolyDspGenerator implements IFaustPolyDspGenerator {
|
|
1242
1281
|
private static gWorkletProcessors;
|
|
@@ -1254,6 +1293,9 @@ export declare class FaustPolyDspGenerator implements IFaustPolyDspGenerator {
|
|
|
1254
1293
|
parameterDescriptors: AudioParamDescriptor[];
|
|
1255
1294
|
}>;
|
|
1256
1295
|
createOfflineProcessor(sampleRate: number, bufferSize: number, voices: number, voiceFactory?: LooseFaustDspFactory, mixerModule?: WebAssembly.Module, effectFactory?: LooseFaustDspFactory | null): Promise<FaustPolyOfflineProcessor>;
|
|
1296
|
+
getMeta(): FaustDspMeta;
|
|
1297
|
+
getJSON(): string;
|
|
1298
|
+
getUI(): FaustUIDescriptor;
|
|
1257
1299
|
}
|
|
1258
1300
|
|
|
1259
1301
|
export {};
|