Selective Interpolation with pattrstorage

tuk 1's icon

Hi Maxers!

I'm preparing a live performance using the pattrstorage object to store track list numbers (integers) for audio files and (floats) values for sine wave parameters. I've created a patch where integer objects use 'interp off' or 'thresh 1.' to store track numbers from a folder without interpolation, and float objects use linear interpolation for sine wave control. The problem is that when I recall stored values with interpolation, my sfplay~ object (same issue with groove~) produces audio glitches. It seems to trigger all the time the sfplay~, even when I set the integer object to 'interp off' or 'thresh 1.

Any idea how can I prevent these audio glitches during parameter interpolation recall? Thanks!!!!

player_interp.maxpat
Max Patch

double_UG's icon

changemode

tuk 1's icon

Super simple :) Thanks for the help @double_ug