快速登录:  

Forum: VirtualDJ Plugins

话题: making a slider with only 4 options?

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

I'm having a play with the break effect source code from the downloads section, but I've got a few problems.

What I want is to break the music over a certain number of beats rather than seconds, and I've modified the code to do that but I don't really want the option of 4.02 beats, 4.03 beats, etc. just an option of 1, 2, 4 or 8 beats. Anybody know how to do that?

Also, got a strange thing where the code doesn't work when first applied, just acts as a pause button, but then if you move the slider and try it again it works fine. If anybody's got any ideas why it'd be really useful!

I'm only just starting on this, so havn't got too much worked out at the moment. But I've noticed in the description of the plugin, it says that it's a plugin for VDJ 2.x, could this have something to do with it?

thanks. :)
 

发表时间 Sat 24 Feb 07 @ 3:21 am
djcelPRO InfinityModeratorMember since 2004
use this to convert in beat:

int bpm=SongBpm?SongBpm:22050;

bpm: number of samples between 2 beats

Frequency of VirtualDJ : 44100 samples / second
 

发表时间 Sat 24 Feb 07 @ 2:35 pm
thanks for that djcel, I havn't had a chance to try it yet, because i can only get c++ on university computers, but I'll have a play with it when I get a chance,

also just noticed that there's already a "beat break" effect in the downloads area, d'oh!
 

发表时间 Sun 04 Mar 07 @ 2:13 am


(陈旧帖子或论坛版块会自动关闭)