[request] jump to seq/pattern/line position from synced sample...

…depending on the play position in the sample editor.

I’m looking for a keyboard shortcut in the sample editor for beatsynced samples which lets you automatically jump to the corresponding pattern line position in the pattern editor depending on where the play position in the sample editor is. Obviously a note event from the selected sample should already be placed somewhere in the pattern editor for it to work and in the case the sample is used multiple times some rules need to be thought off.

This request can be handy for example when you import relatively long >1 minute stems for remix purposes and are processing/editing the long samples in the sample editor, want to quickly find the position in the pattern editor to line up sounds in other tracks.

Is there already a tool out there that can do this? If not, eternal kudo’s for a scripter that can pick this up! Would be a lifesaver here and perhaps useful for others as well? :drummer:

Hm, if the sample is playing and it’s beat synced then the pattern should already be at the right position, no?

I probably didn’t understand the idea happy.png

yep you don’t understand it + I probably should have explained it better :stuck_out_tongue: ,

This is meant for when you’re editing a long sample in the sample editor, the track/songfile isn’t playing! You’re moving the play position of the sample through mouse clicking in the sample editor and are pressing enter for sample playback, for example you click on 00.48.000 (48 seconds) in the sample, but want to see where this particular moment in time resides in the pattern editor (you already should have inserted a note-event of this beatsynced sample somewhere in a pattern). So you can double up the moment with another sound in another track. The keyboard shortcut in the sample editor should automatically jump to the right pattern editor cursor position.

Hope this makes things clearer? It saves having to manually trial & error navigate the sequencer and press play to see where you’re at in the long sample in the sequence list, instead you’re finding the pattern position through the waveview in the sample editor. Ideally it should be, mouseclick somewhere in waveview, press keyboard shortcut and bamm pattern editor cursor is placed at corresponding moment in time.

I’m on a dual monitor set-up by the way, perhaps it makes more sense in such set-up as I have the pattern editor on one screen and the sample editor on the other.

Ah, OK - playing, but not through the sequencer. Got it :slight_smile:

This is sort of a reverse SliceMate, I guess. In that tool, I’m determining the sample offset from the pattern.

Only problem is that the API doesn’t expose the selected position in the sample editor when it’s collapsed (dotted line).

Only when a range has been selected would this work - which unfortunately makes the workflow quite a bit more clunky.

Another question: would you expect the position in the song to start from the very beginning?

I could easily imagine a project where you’d want some other start time/offset.

In SliceMate, this is easy because the tool is tracking when the sample has been triggered. We could do something similar here, look for the most recent triggering note in the selected track, etc.

Another question: would you expect the position in the song to start from the very beginning?

For me it is mainly/solely a ‘jump to’ pattern editor cursor thing, I don’t want the song to automatically start playing from that cursor position in the pattern editor, though that could be a cool additional keyboard shortcut.

Main thing is waveview position takes you to pattern position, I don’t necessarily need or see the need to have additional start time offsets → if I’d want to be somewhere else, I mouseclick navigate to that position in the waveview, or perhaps I misunderstand what you mean?

Shame the dotted line position can’t be fetched :frowning:

What I mean is, do you imagine that all your timesynced samples to start from the very beginning? So, when you jump to somewhere, you jump to that position_relative to / computed from_the start of the song.

That would obviously be the easiest to code, and perhaps also to understand. But I could imagine it being a bit limiting as well.

And yes, it’s indeed a shame we can’t currently track the dotted line. Definitely on the TODO list

What I mean is, do you imagine that all your timesynced samples to start from the very beginning? So, when you jump to somewhere, you jump to that position_relative to / computed from_the start of the song.

9 out of 10 times the stems start at line 0 in the first pattern indeed, but if clever maths can crack the code for other starting points that’d be sweet! All the variables are there no? Bpm/patternlength/amount of patterns/note placement on line number…, perhaps not worth the hassle if proven to much work.

Great request, Djeroek. As indicated in the SliceMate tool thread, I would also find such a feature useful.