@Sexan
Oh so you are digging an workaround for
Track sticking: Can somebody make this real? - Cockos Confederated Forums ?
Track sticking would still be more flexible cause you have all kind of reaper element (text items, colors, notes, gif..) so... don't hesitate to boost this Feature Request !
@eugen
Another code snippet with the function mentionned here :
ReaScripts-Templates/Justin_Get item source frequence and pitch at a certain position.lua at master · ReaTeam/ReaScripts-Templates · GitHub