Found my program Stanley, which uses the NSM plugin hack to control #OctaMED (as well as removing the copy protection that required the original CD to be inserted into the drive at program launch). It's a tool to help chop up #samples into slices.

One Adds markers in the Stanley window at the bottom, which copies the location of the start of the selected range from the sample editor window. When happy with the markers, the Stanley button copy/pastes each section between markers to a new sample instrument. Finally, selecting a track in the block editor and pressing the Notify button puts notes into the #tracker editor, such that the timing of the slices approximately matches the timing of the original complete sample, using the 1Fxy command for sub-line resolution.

I think I uploaded it to #aminet almost 20 years ago.

NSM removed the protection, not Stanley (just to clarify..)
Here's an example of the Notify command. The block has 64 lines, the lines outside of the view are blank. I changed the editor font from Topaz 9 to Topaz 8 to fit more in.

Video of booting an emulated Amiga 500+ image in FS-UAE, launching OctaMED Soundstudio, slicing a breakbeat with Stanley and then syncing the generated notes to the original sample.

https://media.mathr.co.uk/mathr/2019-toot-media/mathr%20-%202019-04-25%20-%20stanley%20in%20fs-uae%20-%20640x512p60.mp4

The first take was abandoned when I accidentally hit the button labelled Reset underneath the Add button, thus losing all my markers instantly with no confirmation. Bad GUI design :(

@mathr Hi! glad to find someone who spent time tweaking #octamed :) i have been collecting and studying #AREXX scripts to find new ideas - am converting them to #LUA for #renoise and your idea sounds interesting, do you have a direct aminet link or sourcecode i could take a look at? I have added dozens of features from #PlayerPro #octamed #protracker #impulsetracker #pollytracker #modplugtracker #openmpt #madtracker etc into my add-on for Renoise, #paketti. Always looking 4 more.
Aminet - dev/e/cha_source.lha