so i sampled this little kids toy that i love into the computer in the attampts to build a sampler of it.
there is not much of an envelope to the sounds at all, so i chopped each note into 3 so there is an attack, sustain, and release. these all have their own sound files.
now, i have it set up in max/msp so that each note has 3 sfplay~ objects. when a button is first pressed, it tells the first sfplay~ (attack) to play. i use the 'bang when done playing' output to tell the second sfplay~ (sustain) to start. when that ones done, it looks to see if the button is still pressed. if it is it tells the second sfplay~ to play again, if the button is no longer pressed, it tells the third sfplay~ (release) to play.
this almost works. . .
my problem is that the bang when done playing isnt immediate so there is a tiny bit of silence between each section which results in an AM sounding effect.
i know that sfplay~ has a loop feature, so that has helped with the problem in the sustain section, but there are still problems with the attack and release sections.
any suggestions would be GREATLY appreciated