Doesn someone know a command to directly jump to a sample position, without using "cue points"? this could allow us to add more cue points trough a plugin... That's whan I'd like to do!
Mensajes Fri 10 Mar 06 @ 3:48 pm
Use the function song_pos():
with no sign before the value, it works like a slider [0,4096]
with a sign before, it works with the samples (where vdj_sample_rate=44100 samples / second)
with no sign before the value, it works like a slider [0,4096]
with a sign before, it works with the samples (where vdj_sample_rate=44100 samples / second)
Mensajes Sat 11 Mar 06 @ 1:42 pm
So:
_ positive: raw jumpto position
_ negative: accurate per-sample jumpto position.
If I want to store the position when starting a plugin and coming back to there, I have to store the "int pos" and call "song_pos" with the negated stored variable (converted into samples)!
Thanks djcel, if I understood well, I would make several plugins using this command!!!
_ positive: raw jumpto position
_ negative: accurate per-sample jumpto position.
If I want to store the position when starting a plugin and coming back to there, I have to store the "int pos" and call "song_pos" with the negated stored variable (converted into samples)!
Thanks djcel, if I understood well, I would make several plugins using this command!!!
Mensajes Sat 11 Mar 06 @ 3:59 pm
Sorry, I was wrong! i've read the comments about, in the shortcut window, and I've seen the actions I need are "seek" and "seek_smart"!
However, thanks for the info!
However, thanks for the info!
Mensajes Sat 11 Mar 06 @ 8:19 pm