Ignotus-mago / PixelAudio

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

MooreGen crashes WaveSynth #10

Closed Ignotus-mago closed 4 months ago

Ignotus-mago commented 4 months ago

MooreGen crashes SimpleWaveSynth example, but HIlbertGen and DiagonalZigzagGen don't. There's probably an error in WaveSynth or Moore -- more likely the latter.

Ignotus-mago commented 4 months ago

The error concerned the calculation of signalPos from x and y coordinates. It was resolved in a refactoring of PixelAudioMapper's pluck and plant methods to only accept signalPos as a index argument, not x and y.