@grame/faustwasm 0.0.63 → 0.0.65
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/README.md +10 -0
- package/assets/standalone/faust-ui/index.js +77 -35
- package/assets/standalone/faust-ui/index.js.map +1 -1
- package/assets/standalone/faustwasm/index.d.ts +16 -0
- package/assets/standalone/faustwasm/index.js +15 -1
- package/assets/standalone/faustwasm/index.js.map +3 -3
- package/dist/cjs/index.d.ts +16 -0
- package/dist/cjs/index.js +14 -1
- package/dist/cjs/index.js.map +3 -3
- package/dist/cjs-bundle/index.d.ts +16 -0
- package/dist/cjs-bundle/index.js +17 -3
- package/dist/cjs-bundle/index.js.map +3 -3
- package/dist/esm/index.d.ts +16 -0
- package/dist/esm/index.js +15 -1
- package/dist/esm/index.js.map +3 -3
- package/dist/esm-bundle/index.d.ts +16 -0
- package/dist/esm-bundle/index.js +17 -3
- package/dist/esm-bundle/index.js.map +3 -3
- package/libfaust-wasm/libfaust-wasm.js +1 -1
- package/libfaust-wasm/libfaust-wasm.wasm +0 -0
- package/package.json +1 -1
- package/scripts/faust2cmajor.js +18 -0
- package/src/FaustCmajor.ts +29 -0
- package/src/FaustSvgDiagrams.ts +3 -3
- package/src/exports.ts +1 -0
- package/src/faust2CmajorFiles.d.ts +3 -0
- package/src/faust2cmajorFiles.js +38 -0
- package/src/faust2svgFiles.js +1 -3
- package/test/faustlive-wasm/faust-ui/index.js +77 -35
- package/test/faustlive-wasm/faust-ui/index.js.map +1 -1
- package/test/faustlive-wasm/faustwasm/index.d.ts +16 -0
- package/test/faustlive-wasm/faustwasm/index.js +15 -1
- package/test/faustlive-wasm/faustwasm/index.js.map +3 -3
- package/test/gain.dsp +0 -2
- package/test/organ/faust-ui/index.css +0 -416
- package/test/organ/faust-ui/index.css.map +0 -1
- package/test/organ/faust-ui/index.d.ts +0 -1
- package/test/organ/faust-ui/index.js +0 -3476
- package/test/organ/faust-ui/index.js.map +0 -1
- package/test/organ/faustwasm/index.d.ts +0 -1294
- package/test/organ/faustwasm/index.js +0 -3874
- package/test/organ/faustwasm/index.js.map +0 -7
- package/test/organ/icon.png +0 -0
- package/test/organ/index.html +0 -86
- package/test/organ/manifest.json +0 -15
- package/test/organ/organ.js +0 -227
- package/test/organ/organ.json +0 -126
- package/test/organ/organ.wasm +0 -0
- package/test/organ/service-worker.js +0 -35
|
@@ -995,6 +995,22 @@ export declare class FaustSvgDiagrams implements IFaustSvgDiagrams {
|
|
|
995
995
|
constructor(compiler: FaustCompiler);
|
|
996
996
|
from(name: string, code: string, args: string): Record<string, string>;
|
|
997
997
|
}
|
|
998
|
+
export interface IFaustCmajor {
|
|
999
|
+
/**
|
|
1000
|
+
* Generates auxiliary files from Faust code. The output depends on the compiler options.
|
|
1001
|
+
*
|
|
1002
|
+
* @param name - the DSP's name
|
|
1003
|
+
* @param code - Faust code
|
|
1004
|
+
* @param args - compilation args
|
|
1005
|
+
* @returns the Cmajor compiled string
|
|
1006
|
+
*/
|
|
1007
|
+
compile(name: string, code: string, args: string): string;
|
|
1008
|
+
}
|
|
1009
|
+
export declare class FaustCmajor implements IFaustCmajor {
|
|
1010
|
+
private compiler;
|
|
1011
|
+
constructor(compiler: FaustCompiler);
|
|
1012
|
+
compile(name: string, code: string, args: string): string;
|
|
1013
|
+
}
|
|
998
1014
|
export interface WavEncoderOptions {
|
|
999
1015
|
bitDepth: number;
|
|
1000
1016
|
float?: boolean;
|