@scalable-vector-audio/sva-wasm 0.14.22 → 0.14.23

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@scalable-vector-audio/sva-wasm",
3
3
  "type": "module",
4
4
  "description": "JS bindings: a composition a page fills node by node, rendered in the browser",
5
- "version": "0.14.22",
5
+ "version": "0.14.23",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
package/sva_wasm.d.ts CHANGED
@@ -7,7 +7,7 @@ export interface Samples {
7
7
  }
8
8
  /**
9
9
  * One node of a solve's cost; each node holds one key. A number, or a weight vector `[1, 0.5]`;
10
- * a leaf `{ repr: "bands(prune=1)", target: "@lead([0, 5s])" }`, the reading as `render`'s
10
+ * a leaf `{ repr: "envelope(frame=10ms)", target: "@lead([0, 5s])" }`, the reading as `render`'s
11
11
  * representations spell it and its target a render expression or a recording passed whole;
12
12
  * `{ value }`, a number, a list of numbers or a reading's `data` as `analyze` answers it,
13
13
  * checked against the leaf it subtracts from; `add`, `sub`, `mul` and `div` over two or more,
package/sva_wasm.js CHANGED
@@ -666,7 +666,7 @@ function __wbg_get_imports(memory) {
666
666
  __wbg__wbg_cb_unref_997e73d32238e655: function(arg0) {
667
667
  arg0._wbg_cb_unref();
668
668
  },
669
- __wbg_arrayBuffer_87a9dc6a565e6fd8: function(arg0) {
669
+ __wbg_arrayBuffer_bc552366714c8e26: function(arg0) {
670
670
  const ret = arg0.arrayBuffer();
671
671
  return ret;
672
672
  },
@@ -686,18 +686,18 @@ function __wbg_get_imports(memory) {
686
686
  const ret = arg0.call(arg1, arg2);
687
687
  return ret;
688
688
  }, arguments); },
689
- __wbg_close_906553cc419be424: function(arg0) {
689
+ __wbg_close_287a7f6286184cd1: function(arg0) {
690
690
  const ret = arg0.close();
691
691
  return ret;
692
692
  },
693
- __wbg_close_ecb25af1733ed38c: function(arg0) {
693
+ __wbg_close_f60cffd3d4dd96ad: function(arg0) {
694
694
  arg0.close();
695
695
  },
696
696
  __wbg_composition_new: function(arg0) {
697
697
  const ret = Composition.__wrap(arg0);
698
698
  return ret;
699
699
  },
700
- __wbg_createWritable_70b6cc272d305a5f: function(arg0) {
700
+ __wbg_createWritable_5adddb6732dab31c: function(arg0) {
701
701
  const ret = arg0.createWritable();
702
702
  return ret;
703
703
  },
@@ -713,15 +713,15 @@ function __wbg_get_imports(memory) {
713
713
  const ret = Array.from(arg0);
714
714
  return ret;
715
715
  },
716
- __wbg_getDirectoryHandle_4782b0cafd25395d: function(arg0, arg1, arg2, arg3) {
716
+ __wbg_getDirectoryHandle_34823c2560303fc5: function(arg0, arg1, arg2, arg3) {
717
717
  const ret = arg0.getDirectoryHandle(getStringFromWasm0(arg1, arg2), arg3);
718
718
  return ret;
719
719
  },
720
- __wbg_getFileHandle_6ce383885d3f9c30: function(arg0, arg1, arg2, arg3) {
720
+ __wbg_getFileHandle_7ffcad976e72218e: function(arg0, arg1, arg2, arg3) {
721
721
  const ret = arg0.getFileHandle(getStringFromWasm0(arg1, arg2), arg3);
722
722
  return ret;
723
723
  },
724
- __wbg_getFile_fa3fb8ebd94a282c: function(arg0) {
724
+ __wbg_getFile_6706fc57a4c7fcf4: function(arg0) {
725
725
  const ret = arg0.getFile();
726
726
  return ret;
727
727
  },
@@ -775,7 +775,7 @@ function __wbg_get_imports(memory) {
775
775
  const ret = Array.isArray(arg0);
776
776
  return ret;
777
777
  },
778
- __wbg_keys_1c9eb917291e1703: function(arg0) {
778
+ __wbg_keys_fdd10ec5d017c04e: function(arg0) {
779
779
  const ret = arg0.keys();
780
780
  return ret;
781
781
  },
@@ -791,11 +791,11 @@ function __wbg_get_imports(memory) {
791
791
  const ret = arg0.length;
792
792
  return ret;
793
793
  },
794
- __wbg_move_2304ff9d235f169e: function(arg0, arg1, arg2, arg3) {
794
+ __wbg_move_56f25d9723fa95b4: function(arg0, arg1, arg2, arg3) {
795
795
  const ret = arg0.move(arg1, getStringFromWasm0(arg2, arg3));
796
796
  return ret;
797
797
  },
798
- __wbg_name_0798d2056cf2fedc: function(arg0, arg1) {
798
+ __wbg_name_16383c06462427c2: function(arg0, arg1) {
799
799
  const ret = arg1.name;
800
800
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
801
801
  const len1 = WASM_VECTOR_LEN;
@@ -810,10 +810,6 @@ function __wbg_get_imports(memory) {
810
810
  const ret = new Uint8Array(arg0);
811
811
  return ret;
812
812
  },
813
- __wbg_new_35fc3d2cfa57e6c6: function(arg0, arg1) {
814
- const ret = new Error(getStringFromWasm0(arg0, arg1));
815
- return ret;
816
- },
817
813
  __wbg_new_8f72ed7c652bf5a2: function(arg0, arg1) {
818
814
  try {
819
815
  var state0 = {a: arg0, b: arg1};
@@ -832,12 +828,16 @@ function __wbg_get_imports(memory) {
832
828
  state0.a = 0;
833
829
  }
834
830
  },
831
+ __wbg_new_bae4bcbae639035c: function() {
832
+ const ret = new MessageChannel();
833
+ return ret;
834
+ },
835
835
  __wbg_new_bebc3f4757acf305: function() {
836
836
  const ret = new Object();
837
837
  return ret;
838
838
  },
839
- __wbg_new_cc4282fcf8d4f3b3: function() {
840
- const ret = new MessageChannel();
839
+ __wbg_new_f4b889d058a0b47a: function(arg0, arg1) {
840
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
841
841
  return ret;
842
842
  },
843
843
  __wbg_new_ffa92086ea89f79c: function() {
@@ -870,7 +870,7 @@ function __wbg_get_imports(memory) {
870
870
  const ret = new Worker(getStringFromWasm0(arg0, arg1));
871
871
  return ret;
872
872
  },
873
- __wbg_next_7a63722894205a53: function(arg0) {
873
+ __wbg_next_4a9e06ca57ecf966: function(arg0) {
874
874
  const ret = arg0.next();
875
875
  return ret;
876
876
  },
@@ -878,22 +878,22 @@ function __wbg_get_imports(memory) {
878
878
  const ret = Array.of(arg0, arg1, arg2);
879
879
  return ret;
880
880
  },
881
- __wbg_parse_2a04b7b557ca6b5d: function() { return handleError(function (arg0, arg1) {
881
+ __wbg_parse_8abfd5e38c201e76: function() { return handleError(function (arg0, arg1) {
882
882
  const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
883
883
  return ret;
884
884
  }, arguments); },
885
- __wbg_port1_1acca3689a3fa952: function(arg0) {
885
+ __wbg_port1_a250390457907d09: function(arg0) {
886
886
  const ret = arg0.port1;
887
887
  return ret;
888
888
  },
889
- __wbg_port2_959711b13a6f37e0: function(arg0) {
889
+ __wbg_port2_4bc27de8d9a79b20: function(arg0) {
890
890
  const ret = arg0.port2;
891
891
  return ret;
892
892
  },
893
893
  __wbg_postMessage_8105a302ed002474: function() { return handleError(function (arg0, arg1) {
894
894
  arg0.postMessage(arg1);
895
895
  }, arguments); },
896
- __wbg_postMessage_e2b48bcd7435443d: function(arg0, arg1) {
896
+ __wbg_postMessage_84424e6b09e577dd: function(arg0, arg1) {
897
897
  arg0.postMessage(arg1);
898
898
  },
899
899
  __wbg_prototypesetcall_804a1eb1b047ccb9: function(arg0, arg1, arg2) {
@@ -906,7 +906,7 @@ function __wbg_get_imports(memory) {
906
906
  const ret = arg0.push(arg1);
907
907
  return ret;
908
908
  },
909
- __wbg_query_ba42c1ab97bd2dff: function(arg0) {
909
+ __wbg_query_36c8415b9803e10a: function(arg0) {
910
910
  const ret = arg0.query();
911
911
  return ret;
912
912
  },
@@ -921,19 +921,19 @@ function __wbg_get_imports(memory) {
921
921
  const ret = Math.random();
922
922
  return ret;
923
923
  },
924
- __wbg_removeEntry_06c9b313637cb8ea: function(arg0, arg1, arg2) {
925
- const ret = arg0.removeEntry(getStringFromWasm0(arg1, arg2));
924
+ __wbg_removeEntry_3d708e36971bcd89: function(arg0, arg1, arg2, arg3) {
925
+ const ret = arg0.removeEntry(getStringFromWasm0(arg1, arg2), arg3);
926
926
  return ret;
927
927
  },
928
- __wbg_removeEntry_e62ca5567c3c8da3: function(arg0, arg1, arg2, arg3) {
929
- const ret = arg0.removeEntry(getStringFromWasm0(arg1, arg2), arg3);
928
+ __wbg_removeEntry_41861c62a22ff9f9: function(arg0, arg1, arg2) {
929
+ const ret = arg0.removeEntry(getStringFromWasm0(arg1, arg2));
930
930
  return ret;
931
931
  },
932
932
  __wbg_rendering_new: function(arg0) {
933
933
  const ret = Rendering.__wrap(arg0);
934
934
  return ret;
935
935
  },
936
- __wbg_request_684bf61751ab029e: function(arg0, arg1, arg2, arg3) {
936
+ __wbg_request_e1a203c2d49b6d46: function(arg0, arg1, arg2, arg3) {
937
937
  const ret = arg0.request(getStringFromWasm0(arg1, arg2), arg3);
938
938
  return ret;
939
939
  },
@@ -948,23 +948,23 @@ function __wbg_get_imports(memory) {
948
948
  __wbg_set_c41f8dbc07a2190f: function(arg0, arg1, arg2) {
949
949
  arg0.set(getArrayF32FromWasm0(arg1, arg2));
950
950
  },
951
- __wbg_set_name_e390ff88d5c1624c: function(arg0, arg1, arg2) {
951
+ __wbg_set_name_f1f1bdf40b169cc8: function(arg0, arg1, arg2) {
952
952
  arg0.name = getStringFromWasm0(arg1, arg2);
953
953
  },
954
- __wbg_set_onmessage_0d3615a7db9e8946: function(arg0, arg1) {
954
+ __wbg_set_onmessage_2244c2525c4e0c38: function(arg0, arg1) {
955
955
  arg0.onmessage = arg1;
956
956
  },
957
- __wbg_set_onmessage_2244c2525c4e0c38: function(arg0, arg1) {
957
+ __wbg_set_onmessage_bb99ed790907fbe8: function(arg0, arg1) {
958
958
  arg0.onmessage = arg1;
959
959
  },
960
- __wbg_set_refusal_ebcc109bbdae644d: function(arg0, arg1) {
960
+ __wbg_set_refusal_a20e372884f991e4: function(arg0, arg1) {
961
961
  arg0.refusal = arg1;
962
962
  },
963
- __wbg_size_37793ccb3227c76c: function(arg0) {
963
+ __wbg_size_dd0e62db7cf6f15c: function(arg0) {
964
964
  const ret = arg0.size;
965
965
  return ret;
966
966
  },
967
- __wbg_slice_bbd7b3e926391315: function(arg0, arg1, arg2) {
967
+ __wbg_slice_35b4a301b4554afc: function(arg0, arg1, arg2) {
968
968
  const ret = arg0.slice(arg1, arg2);
969
969
  return ret;
970
970
  },
@@ -1028,10 +1028,10 @@ function __wbg_get_imports(memory) {
1028
1028
  const ret = Atomics.waitAsync;
1029
1029
  return ret;
1030
1030
  },
1031
- __wbg_warn_d6a88af0d3c9ac42: function(arg0, arg1) {
1031
+ __wbg_warn_b11e56c8f3f99bd2: function(arg0, arg1) {
1032
1032
  console.warn(getStringFromWasm0(arg0, arg1));
1033
1033
  },
1034
- __wbg_write_b1389fbf06301456: function(arg0, arg1) {
1034
+ __wbg_write_7446586e7944aa97: function(arg0, arg1) {
1035
1035
  const ret = arg0.write(arg1);
1036
1036
  return ret;
1037
1037
  },
@@ -1041,12 +1041,12 @@ function __wbg_get_imports(memory) {
1041
1041
  return ret;
1042
1042
  },
1043
1043
  __wbindgen_generic_0000000000000002: function(arg0, arg1) {
1044
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 610, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1044
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 608, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1045
1045
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d3a5247b0aa3f0ac___convert__closures_____invoke___wasm_bindgen_d3a5247b0aa3f0ac___JsValue__core_ea519e494776717c___result__Result_____wasm_bindgen_d3a5247b0aa3f0ac___JsError___true_);
1046
1046
  return ret;
1047
1047
  },
1048
1048
  __wbindgen_generic_0000000000000003: function(arg0, arg1) {
1049
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 612, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1049
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 610, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1050
1050
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d3a5247b0aa3f0ac___convert__closures_____invoke___js_sys_2b088e2931f41c5___futures__task__wait_async_polyfill__MessageEvent______true_);
1051
1051
  return ret;
1052
1052
  },
package/sva_wasm_bg.wasm CHANGED
Binary file