Ignotus-mago / PixelAudio

PixelAudio maps arrays of audio samples onto arrays of pixel values.
Other
0 stars 0 forks source link

PixelMapGen Features #1

Closed Ignotus-mago closed 1 week ago

Ignotus-mago commented 1 week ago

One of the big questions for me to resolve just now is how tightly bound an instance of PixelMapGen should be to an instance of PixelAudioMapper.

So, should PixelMapGen act like a singleton, where the width and height values and the LUTs never vary, after they are generated? That's the second question.

In real-time performance situations, initialing all required resources for the performance up front is desirable, anyhow. Another question: do we want a no-argument constructor for PixelMapGen?