@mfcc64/ytms 10.0.0 → 10.0.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/script.mjs +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mfcc64/ytms",
3
- "version": "10.0.0",
3
+ "version": "10.0.1",
4
4
  "description": "YouTube Musical Spectrum",
5
5
  "main": "script.mjs",
6
6
  "scripts": {
package/script.mjs CHANGED
@@ -16,7 +16,7 @@
16
16
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
17
  */
18
18
 
19
- import {ShowCQTElement, AutoResumeAudioContext} from "../../showcqt-element@2/showcqt-element.mjs";
19
+ import {ShowCQTElement} from "../../showcqt-element@2/showcqt-element.mjs";
20
20
 
21
21
  (async function(){
22
22
  const current_script = import.meta.url;
@@ -134,7 +134,7 @@ import {ShowCQTElement, AutoResumeAudioContext} from "../../showcqt-element@2/sh
134
134
  af_links.shadowRoot.getElementById("message").style.display = "block";
135
135
  });
136
136
 
137
- const cqt = new ShowCQTElement(new AutoResumeAudioContext({sampleRate: 48000}));
137
+ const cqt = new ShowCQTElement();
138
138
  set_fixed_style(cqt, 9999999);
139
139
  cqt.style.left = cqt.style.bottom = 0;
140
140
  cqt.style.width = "100%";