주파수 대역의 막대 또는 방사선 길이가 소리 세기에 따라 변화한다.Bars or radial lines change length using precomputed audio band samples.
사전 추출한 16개 주파수 대역을 음악 시각과 맞춰 표시한다.
임의 막대 높이를 실제 소리 분석값으로 소개한다.
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 샘플 속도 | 30fps | 24~60fps | 오디오에서 사전 추출 |
| 대역 수 | 16 | 8~32 | 주파수 순서 고정 |
| 스무딩 | 150ms | 80~250ms | 사전 배열에 적용 |
| 최소 높이 | 4px | 2~8px | 무음 바닥 |
const tl=gsap.timeline({paused:true}),s={t:0};
tl.to(s,{t:2,duration:2,ease:'none',onUpdate:()=>{
const f=s.t*30,i=Math.min(Math.floor(f),frames.length-2),p=f-i;
ctx.clearRect(0,0,1920,1080);
for(let b=0;b<16;b++){const v=frames[i][b]*(1-p)+frames[i+1][b]*p;
const h=Math.max(4,v*240);ctx.fillRect(100+b*56,700-h,32,h);}
}});그대로 붙여 넣는다Paste as is
<파일>의 <대상>에 오디오 스펙트럼을 적용해. 사전 추출한 대역 배열을 시간으로 샘플링해 막대 길이에 매핑한다. 샘플 속도 30fps; 대역 수 16; 스무딩 150ms; 최소 높이 4px을 적용한다. GSAP 코어의 paused 타임라인 하나로 seek 가능하게 만들고 임의 난수와 타이머를 쓰지 마.
Implement Audio Spectrum Visualizer on <target> in <file>. Use precomputed 30fps audio samples with 16 bands, 150ms smoothing, and a 4px minimum bar height. Apply the audio start offset and clamp sample indices at both ends. Use one paused GSAP core timeline, support seeking, and avoid random values and timers.
<파일>의 설명 장면에서 <대상>에 오디오 스펙트럼을 적용해. 사전 추출한 대역 배열을 시간으로 샘플링해 막대 길이에 매핑한다. 샘플 속도 30fps; 대역 수 16; 스무딩 150ms; 최소 높이 4px을 적용한다. 0초, 1초, 2초를 캡처해 시작 상태, 중간 진행, 최종 상태를 확인하고 같은 시각으로 다시 seek했을 때 좌표와 라벨이 같은지 검증해.
Implement Audio Spectrum Visualizer on <target> in <file>. Use precomputed 30fps audio samples with 16 bands, 150ms smoothing, and a 4px minimum bar height. Apply the audio start offset and clamp sample indices at both ends. Use one paused GSAP core timeline, support seeking, and avoid random values and timers. Capture at 0s, 1s, and 2s to check the initial state, intermediate motion, and final state. Seek to each time again and verify identical geometry and labels.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo
claude-skill:hyperframes-animation/rules/gsap-effects.md)unknown