rl ·
This example is a try to create mem array as a "stereo" lookup table to lookup two values at once.
Problem: the Wave Read does not return the expected value at sample index.
1. a memory of size 8*4 bytes is created 2. the memory is filled with values (left channel: 0, 0.1, 0.2, 0.3,...; right channel: 0,1,2,3,...) 3. when reading out the memory using the wave read the result is not as expected (The example tries to read out the left channel). It seems right and left channel values are interleaved. I'd expected the series 0, 0.1, 0.2, 0.3,... instead.
Is this a bug or am I doing something wrong?