The library documents itself · Sound
stzSoundGrid
19 own methods · 0 forms written with extensions, listed under their method
the source: base/sound/stzSoundGrid.ring(opens in a new tab) · All classes · The area reference: Sound
Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean
No method of this class is run on this page: the class reaches files, the network, processes, the clock, chance or sound, and an example run here would only be an example of its effects. Each method carries the explanation the library gives of itself.
Method
Explanation, as the source carries it
init
(no comment in the source: the name reads as a sentence) initno extension
GridId
(no comment in the source: the name reads as a sentence) grid idno extension
Release
(no comment in the source: the name reads as a sentence) releaseno extension
IsEmpty
(no comment in the source: the name reads as a sentence) is emptyno extension
Rows
shape and meaningno extension
Columns
(no comment in the source: the name reads as a sentence) columnsno extension
SecondsPerRow
What one row STEP means in time, for a spectrogram. 0 when a row is not a moment (a spectrum, an onset list).no extension
HertzPerColumn
What one column means in frequency. 0 when a column is not a frequency.no extension
At
(no comment in the source: the name reads as a sentence) atno extension
Max
(no comment in the source: the name reads as a sentence) maxno extension
PeakColumnOfRow
Which column holds the largest value in a row -- "which frequency won".no extension
PeakFrequencyOfRow
The same answer in hertz, which is what you actually wanted.no extension
ToList
One row as a plain Haro list. DATA, so To... is right. It crosses the FFI once per value, so it is for looking at a row, not at a whole spectrogram -- ToCanvas does that without ever building a Haro list.no extension
ToTimesList
The whole of a one-row grid -- an onset list is exactly this.no extension
ToCanvas
Recorded as an SN5 finding: an AddImage on stzCanvas would turn this from thousands of rectangles into one call, and the graphics plane is where that belongs.no extension
ToCanvasOf
pnMaxBins caps how much of the spectrum is drawn: nearly all musical energy lives in the bottom fraction of the range, and drawing 2048 bins up to Nyquist wastes most of the picture on silence.no extension
ToSVG
(no comment in the source: the name reads as a sentence) to svgno extension
ToSVGFile
Write the picture. SVG always works -- it needs no device at all, which is what lets a CI machine draw a spectrogram.no extension
ToPNG
PNG goes through the GPU tier, so it needs a device. SVG does not.no extension

