Anmelden:     


Forum: VirtualDJ Plugins

Topic: Miscellaneous questions/ - Page: 1

Dieser Teil des Themas ist veraltet und kann veraltete oder falsche Informationen enthalten

I'll probably have lots of questions occur to me hence the vague thread title.

Can I query if a deck exists? I'm thinking invisible decks.
 

geposted Mon 27 Apr 15 @ 9:32 pm
The 'loaded' action is probably the closest you can get.
 

Probably your question is related to a Plugin you re working on (since its posted here), so bare with me as i have no clue on these matters, but in theory soemthing like this could work too ??
param_bigger get_decks get_deck ?
 

thanks to both, before posting I opted for querying play as if was playing it exists and if it wasn't, loading to it (to create it) wouldn't be heard.

Question 2 I have a plugin that works here, but the few people whom I've sent it as a "whitelabel" tell me it doesn't work, I've tried DLing the copy I sent out and it works fine for me.
Windows 7 32bit VSE 2013, what could be wrong?
 

Could it be that those users don't have the C++ VSE 2013 redistribute package?
 

Most likely yes.
You need to instruct them install VC++ 2013 redist
 

Thanks for that, I'm learning these lessons the hard way but the information is sticking far better than it did with disconnected "Hello World" tutorials .

Just so I know, if a plugin I submit doesn't pass muster do I get any feedback?
 

It also depends on the Windows SDK version you use but mainly to the version of Visual C++.
 

If you are using Visual C++, the preferred way to fix this would be to go to Project Properties -> C/C++ -> Code Generation.
There the 'Runtime Library' should be Multi-Threaded for release builds and Multi-Threaded Debug for debug builds.

The default is Multi-Threaded DLL and Mulit-Threaded Debug DLL, but this indeed means that the end user needs these DLL's.
With the first option, all the code is built into your plugin and the end user doesn't need to install any additional files.
 

Superb, thanks very much.

Actually problem, error d8016 '/clr' and '/mt command line operations are incompatible.
 

locodog wrote :
Could it be that those users don't have the C++ VSE 2013 redistribute package?


Nope, that was not the error.

I reinstalled the packages but the plugin didn't load.

Must have been a wrong DL. Works with the latest.
 

locodog wrote :
Superb, thanks very much.

Actually problem, error d8016 '/clr' and '/mt command line operations are incompatible.

CLR stands for Common Language Runtime, unless you want to use .NET features in your program, you don't need that either.
You can set project properties -> General -> Common Language Runtime support to "No"
 

Thanks again, unfortunately it appears the plugin framework I have uses at least some .Net, why I don't know, I don't really know what I'm doing other than VDJ script with better maths and objects. (It's still pretty enjoyable)
I'll have a pm with my source.
 

the get_beatgrid command

before the set_firstbeat, I'd get a negative value = to the distance from the firstbeat e.g. -12.043, but after the first beat I'd get a between 0.999 to -0.999,
Is that expected behaviour?
 

Thats how it's coded, but I'm not sure it's what I would expect.
 

Looks like it's completely wrong at the moment compared to the description :p
 

It sheds some light on why VSTs like Glitch2 don't work until you've crossed the set first beat.

I've got a hunch get_beatgid = get_beatpos with the whole numbers removed, by something like > 1 ? -1,
Somebody forgot beatpos could be < -1,
 

VST's don't know about VDJ script, so they couldn't have used get_beatgrid though :p

It is indeed true that the beatgrid position that VST's get currently could indeed get negative, and perhaps not all vst's handle negative values correctly.
(It doesn't seem explicit in the vst documentation that this value should be positive or not)
 

Adion wrote :
...that VST's get currently could indeed get negative...


The addition of that word I like. XD
 

Who is on plugin review duty? I've 2 that have been sat waiting review for two weeks now, if they don't pass muster I can handle it, I'll only cry a bit.
 

80%