ARYOP is awesome!!
12Me21Created:
I did a test comparing ARYOP with a FOR loop.
In the test, I used an integer array with 524288 (max number of samples for playing WAV files as BGMs), and used ARYOP/FOR loop to multiply each element by 256, then subtract 32768 (converting it to play with BGMSTREAM)
FOR I = 0 TO LEN(WAV%)-1 WAV%[I]=WAV%[I]*256-32768 NEXT 'vs ARYOP #AOPMAD,WAV%,WAV%,256,-32768Here are the results: FOR loop: 523 frames ARYOP: 9 frames ARYOP is nearly 60 times faster!!