Sound Zoom
sound_zoomZoom into a word, hit, or note by generating a stacked two-resolution spectrogram PNG that shows sharp timing above and detailed harmonics below for side-by-side analysis.
Instructions
One time x frequency box of a sound at two resolutions, stacked in one PNG: time-sharp on top (256-point window, 32-sample hop at 44.1 kHz: pulses, onsets, stripes, a boundary that sits 50 ms early) and frequency-sharp below (2048-point: harmonics, formant ridges). Reach for it when you need to zoom into one word, hit or note and see both its timing and its harmonics, or when spectrogram's single view blurs the edge you are looking for. Same arguments as spectrogram's eye mode: seconds=[t0, t1] inside bars (or the file), the band f_lo..f_hi Hz, words=[{'w', 't0', 't1'}] in s, a ruler in ms. Both panels sit on spectrogram's fixed plot box, so a box has the same pixels in each (one panel lower) and a .json beside the PNG maps a pixel to (s, Hz) in either panel. Draw the reference and yours on the same window and read them side by side; sound_zoom_diff finds where they differ beyond the reference's own spread.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | No | ||
| bars | No | ||
| f_hi | No | ||
| f_lo | No | ||
| ruler | No | ||
| words | No | ||
| source | No | ||
| project | Yes | ||
| seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |