From d2a47856f63847441b00eeddab2309717f00c56d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E5=9D=9A=E6=9E=9C?= <753610399@qq.com> Date: Tue, 14 Jan 2020 18:21:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96FrequencyHistogramView?= =?UTF-8?q?=E6=89=A9=E5=B1=95=E5=A2=9E=E5=BC=BA0-10khz=E8=AF=AD=E9=9F=B3?= =?UTF-8?q?=E9=83=A8=E5=88=86=E7=9A=84=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/npm-home/hash-history.txt | 8 ++++---- dist/extensions/frequency.histogram.view.js | 2 +- src/extensions/frequency.histogram.view.js | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/npm-home/hash-history.txt b/assets/npm-home/hash-history.txt index e3aebbf..5279c21 100644 --- a/assets/npm-home/hash-history.txt +++ b/assets/npm-home/hash-history.txt @@ -1,4 +1,8 @@ [ + { + "sha1": "2c9728442cfe5e6ba97e73fff21dee502e24f9e5", + "time": "2020-1-14 18:20:47" + }, { "sha1": "bad5a11c405b2766887f5a68bab7c0ce6ea14013", "time": "2020-1-14 17:40:50" @@ -14,9 +18,5 @@ { "sha1": "49a3e316c57542696a81f0d413ffe9c9ea08053a", "time": "2020-1-10 17:05:41" - }, - { - "sha1": "226d35b7411af5c504cea70625413f764eff07d5", - "time": "2020-1-10 13:44:43" } ] \ No newline at end of file diff --git a/dist/extensions/frequency.histogram.view.js b/dist/extensions/frequency.histogram.view.js index e0306c6..44bee37 100644 --- a/dist/extensions/frequency.histogram.view.js +++ b/dist/extensions/frequency.histogram.view.js @@ -3,4 +3,4 @@ https://github.com/xiangyuecn/Recorder src: extensions/frequency.histogram.view.js */ -!function(){"use strict";var t=function(t){return new e(t)},e=function(t){var e=this,r={scale:2,fps:20,lineCount:30,lineWidth:6,minHeight:0,position:-1,stripeEnable:!0,stripeHeight:3,stripeMargin:6,fallDuration:1e3,stripeFallDuration:3500,linear:[0,"rgba(0,187,17,1)",.5,"rgba(255,215,0,1)",1,"rgba(255,102,0,1)"],stripeLinear:null,shadowBlur:0,shadowColor:"#bbb",stripeShadowBlur:-1,stripeShadowColor:"",onDraw:function(t,e){}};for(var a in t)r[a]=t[a];e.set=t=r;var i=t.elem;i&&("string"==typeof i?i=document.querySelector(i):i.length&&(i=i[0])),i&&(t.width=i.offsetWidth,t.height=i.offsetHeight);var o=t.scale,l=t.width*o,n=t.height*o,h=e.elem=document.createElement("div"),s=["","transform-origin:0 0;","transform:scale("+1/o+");"];h.innerHTML='
';var f=e.canvas=h.querySelector("canvas");e.ctx=f.getContext("2d");if(f.width=l,f.height=n,i&&(i.innerHTML="",i.appendChild(h)),!Recorder.LibFFT)throw new Error("需要lib.fft.js支持");e.fft=Recorder.LibFFT(1024),e.lastH=[],e.stripesH=[]};e.prototype=t.prototype={genLinear:function(t,e,r,a){for(var i=t.createLinearGradient(0,r,0,a),o=0;o1.3*e.stripeFallDuration)return clearInterval(t.timer),void(t.timer=0);if(!(a-i
';var f=e.canvas=h.querySelector("canvas");e.ctx=f.getContext("2d");if(f.width=n,f.height=l,a&&(a.innerHTML="",a.appendChild(h)),!Recorder.LibFFT)throw new Error("需要lib.fft.js支持");e.fft=Recorder.LibFFT(1024),e.lastH=[],e.stripesH=[]};e.prototype=t.prototype={genLinear:function(t,e,r,i){for(var a=t.createLinearGradient(0,r,0,i),o=0;o1.3*e.stripeFallDuration)return clearInterval(t.timer),void(t.timer=0);if(!(i-a