mimium-web 2.2.7 → 2.4.1-alpha

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 CHANGED
@@ -8,7 +8,7 @@ A programming language as an infrastructure for sound and music.
8
8
  <img src = "mimium_logo_slant.svg" width="300" alt="An icon of the mimium. The word “mimium” is written in small caps, white letters at an angle on a gray diamond-shaped background with a gradient. The vertical bars of the letters are evenly spaced, making it look like a pedestrian crossing." />
9
9
  </p>
10
10
 
11
- https://mimium.org (A documentation for v2 is under preparation!)
11
+ https://mimium.org
12
12
 
13
13
  ---
14
14
 
@@ -69,7 +69,7 @@ See [Development](./Development) section.
69
69
 
70
70
  There's no concrete way for contributing to the mimium project for now but any type of contribution (bugfix, code refactoring, documentation, showing the usecases, etc).
71
71
 
72
- (However, because the mimium is still early stage of the development and there's much things to do, the proposal or request for new feature without Pull Request will not be accepted.)
72
+ (However, because the mimium is still early stage of the development and there's much things to do, the proposal or request for new feature without Pull Request may not be accepted.)
73
73
 
74
74
  Take a look at [Code of Conduct](./CODE_OF_CONDUCT) before you make contribution.
75
75
 
package/mimium_web.d.ts CHANGED
@@ -24,57 +24,3 @@ export class Context {
24
24
  */
25
25
  process(input: Float32Array, output: Float32Array): bigint;
26
26
  }
27
-
28
- export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
29
-
30
- export interface InitOutput {
31
- readonly memory: WebAssembly.Memory;
32
- readonly __wbg_config_free: (a: number, b: number) => void;
33
- readonly __wbg_get_config_sample_rate: (a: number) => number;
34
- readonly __wbg_set_config_sample_rate: (a: number, b: number) => void;
35
- readonly __wbg_get_config_input_channels: (a: number) => number;
36
- readonly __wbg_set_config_input_channels: (a: number, b: number) => void;
37
- readonly __wbg_get_config_output_channels: (a: number) => number;
38
- readonly __wbg_set_config_output_channels: (a: number, b: number) => void;
39
- readonly __wbg_get_config_buffer_size: (a: number) => number;
40
- readonly __wbg_set_config_buffer_size: (a: number, b: number) => void;
41
- readonly config_new: () => number;
42
- readonly __wbg_context_free: (a: number, b: number) => void;
43
- readonly context_new: (a: number) => number;
44
- readonly context_compile: (a: number, b: number, c: number) => void;
45
- readonly context_get_input_channels: (a: number) => number;
46
- readonly context_get_output_channels: (a: number) => number;
47
- readonly context_process: (a: number, b: number, c: number, d: number, e: number, f: any) => bigint;
48
- readonly __wbindgen_exn_store: (a: number) => void;
49
- readonly __externref_table_alloc: () => number;
50
- readonly __wbindgen_export_2: WebAssembly.Table;
51
- readonly __wbindgen_malloc: (a: number, b: number) => number;
52
- readonly __wbindgen_free: (a: number, b: number, c: number) => void;
53
- readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
54
- readonly __wbindgen_export_6: WebAssembly.Table;
55
- readonly closure39_externref_shim: (a: number, b: number, c: any) => void;
56
- readonly closure68_externref_shim: (a: number, b: number, c: any) => void;
57
- readonly closure84_externref_shim: (a: number, b: number, c: any, d: any) => void;
58
- readonly __wbindgen_start: () => void;
59
- }
60
-
61
- export type SyncInitInput = BufferSource | WebAssembly.Module;
62
- /**
63
- * Instantiates the given `module`, which can either be bytes or
64
- * a precompiled `WebAssembly.Module`.
65
- *
66
- * @param {{ module: SyncInitInput }} module - Passing `SyncInitInput` directly is deprecated.
67
- *
68
- * @returns {InitOutput}
69
- */
70
- export function initSync(module: { module: SyncInitInput } | SyncInitInput): InitOutput;
71
-
72
- /**
73
- * If `module_or_path` is {RequestInfo} or {URL}, makes a request and
74
- * for everything else, calls `WebAssembly.instantiate` directly.
75
- *
76
- * @param {{ module_or_path: InitInput | Promise<InitInput> }} module_or_path - Passing `InitInput` directly is deprecated.
77
- *
78
- * @returns {Promise<InitOutput>}
79
- */
80
- export default function __wbg_init (module_or_path?: { module_or_path: InitInput | Promise<InitInput> } | InitInput | Promise<InitInput>): Promise<InitOutput>;