You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clearly this is going to be the biggest error source. We need to consider how arguments img or sig, signalPos, and length can result in out of bounds errors. Here are some ideas.
General transcoding tools:
Transcode an audio sample array to RGB (with channel specified) or an RGB array to audio range.
With two arrays supplied, source and target, typically we'll write signal to RGB or RGB channel to RGB. They should be the same size.
For write methods that accept both a source (signal or image) and a target (signal or image) and optionally a channel (where applicable):
Source and target are the same size but not necessarily the size of the LUTs, which are not used.
Source, target, and LUTs are the same size
Target is the same size as LUTs and source is either the same size or smaller
For read methods:
Source, array index position and length arguments must be consistent
If position is less than source length but position + length exceeds source length, post a warning and trim length or pad the return array with zeros
if position exceeds source length, throw an error.
The text was updated successfully, but these errors were encountered:
Clearly this is going to be the biggest error source. We need to consider how arguments
img
orsig
,signalPos
, andlength
can result in out of bounds errors. Here are some ideas.General transcoding tools:
For write methods that accept both a source (signal or image) and a target (signal or image) and optionally a channel (where applicable):
For read methods:
The text was updated successfully, but these errors were encountered: