How to detect a sample recorder has stopped recording?

hi, how do i make it so that when i stop the sample recorder, i can detect that the sample has been saved, and THEN run a script?

the problem here is that if i use this:

i need to be able to modify the inserted sample. if i don’t use this, i already have a script working that integrates macros + samplefx + modulation mapping, autofade, autoseek, oneshot, loop, beatsync, oversampling, interpolation settings. but i need it to work if creating new samples or if creating to same instrument.

1 Like

i figured out a method of doing it… by deciding on a different approach for this :slight_smile:
but still can’t set instrument.name or loopmode, due to that being unable to be set before the sample finishes processing. gotta figure it out someday.