快速登录:  

Forum: VirtualDJ Skins

话题: Custom button script for downbeat
Hi,

Does anyone know a way to get a single cue point set on the last downbeat of a track. So pressing the custom button would goto 100% of the track then find the nearest downbeat and set a cue point on it. I can currently get to the end and set a cue point but not specifically on the downbeat.

Thanks
 

发表时间 Tue 28 Jan 25 @ 2:41 pm
locoDogPRO InfinityModeratorMember since 2013
( goto 100% & get_beat_bar 4 & param_multiply -4 & param_cast relative & goto ) & set_cue 1


get_beat_bar 4 gives a 0.0-1.0 value for the progress of a bar, times that value by -4 and then you have a number of beats to move back.
 

发表时间 Tue 28 Jan 25 @ 3:11 pm
Thats spot on, thanks LocoDog, there was no way i was getting anywhere near to that script!
 

发表时间 Tue 28 Jan 25 @ 3:29 pm