some effects uses the level of the song, for example vocoder.
Does a variable exist in vdj to measure the level of the sound?
For skin for example this kind of variable is used for bargraph.
Does a variable exist in vdj to measure the level of the sound?
For skin for example this kind of variable is used for bargraph.
Mensajes Mon 13 Jun 05 @ 12:48 pm
I know you can get the volume of the song with Getparam() + volume . I mean the volume written in the VirtualDJ Database.xml and not the position of the slider level on the skin. But i don't really know what is this value "Volume"
Mensajes Mon 13 Jun 05 @ 4:53 pm
It's the overall volume of the song. I think deun deun looks for the momental level
Hmm maybe code it yourself
have a buffer of x samples
count the absoulute value of each sample together (so negative nubmers will be positive)
and devide that big number with the X. You will have the aproximate level
of the song for the particular block.
Hmm maybe code it yourself
have a buffer of x samples
count the absoulute value of each sample together (so negative nubmers will be positive)
and devide that big number with the X. You will have the aproximate level
of the song for the particular block.
Mensajes Mon 13 Jun 05 @ 5:48 pm
Waou incredible !! where have you learnt that? You seem better known plugins than me lol
Mensajes Mon 13 Jun 05 @ 7:35 pm
LOL, You must be kidding.
But more brains = more knowledge.
But some info's I have, have two meanings and I don't know if I get the correct meaning always.
And you mentioned it is info from the xml. The only volume from the xml is the one from BPM analysis.
But more brains = more knowledge.
But some info's I have, have two meanings and I don't know if I get the correct meaning always.
And you mentioned it is info from the xml. The only volume from the xml is the one from BPM analysis.
Mensajes Mon 13 Jun 05 @ 7:44 pm
I activated your plugin this night after testing it. Thank you very much for it.
After trying to guess how to do that (i was surprised as we hadn't functions for that) , i think i found: only put a minus just before the int of the sample. It was very clever an tell me if i'm wrong ;-)
MAKECHAN(l,-r); for each sample?
After trying to guess how to do that (i was surprised as we hadn't functions for that) , i think i found: only put a minus just before the int of the sample. It was very clever an tell me if i'm wrong ;-)
MAKECHAN(l,-r); for each sample?
Mensajes Mon 13 Jun 05 @ 7:59 pm
I agree with djcel : we met an expert !
thanx for your advice
thanx for your advice
Mensajes Mon 13 Jun 05 @ 8:34 pm
Thanks.... sourcecode is uploaded too,
but i had some problems with assigning values so I used temporary values.
Samples are from -32768 to +32767 so it is
temp=-1-right_channel;
in order no to have invalid value +32768 on output.
-------
I just finished testing HDJC mapping. Will post to hardware forum.
but i had some problems with assigning values so I used temporary values.
Samples are from -32768 to +32767 so it is
temp=-1-right_channel;
in order no to have invalid value +32768 on output.
-------
I just finished testing HDJC mapping. Will post to hardware forum.
Mensajes Mon 13 Jun 05 @ 8:55 pm
yes you're right: the function LIMITER(u) cuts at 32768. I forgot that detail
Mensajes Mon 13 Jun 05 @ 10:47 pm
Maybe you don't know it but in the function OnLoad() you can write (it's the same in C++):
//////////////
prehod=false;
invertuj=false;
///////////////
instead of
////////////
prehod=0;
invertuj=0;
//////////
You also forgot the function LIMITER()
I have just improved your source code by removing a lot of useless things. I will send it to you like that you can have a look on what i changed and so improved yourself and at the same time update the .dll file and .cpp on the website. Use the link modify next to you plugin
//////////////
prehod=false;
invertuj=false;
///////////////
instead of
////////////
prehod=0;
invertuj=0;
//////////
You also forgot the function LIMITER()
I have just improved your source code by removing a lot of useless things. I will send it to you like that you can have a look on what i changed and so improved yourself and at the same time update the .dll file and .cpp on the website. Use the link modify next to you plugin
Mensajes Mon 13 Jun 05 @ 11:18 pm
I'm currently reworking it to do it binary ;-)
and also will use english name for variables.
and also will use english name for variables.
Mensajes Tue 14 Jun 05 @ 11:35 am
Yes sometimes i forgot to write my commentaries in English in the cpp file because it's easier for me to write them in French. You will see when you wil become experienced after releasing some plugins ;-) Don't worry we are here to help you like we did for Deun-Deun
Mensajes Tue 14 Jun 05 @ 11:46 am
djcel, do not forget to remember Lopez this kind of French sentences: "y qu'à, faut que, facile "and the incredible "il suffit de" .... :-D
Mensajes Tue 14 Jun 05 @ 12:43 pm
Uploaded new version (source and dll)
reworked audio part ... have a look
Btw. limiter was not necessary int the previous (1.0) because I did no math operations that
could lead to greater numbers than allowed (thats because -1-chan so it will stay in -32768 to 32767)
btw. What's the translation of Deun Deun's french sentences ?
babelfish did not help - i didn't understand:
"there that for, is necessary that, easy" and the incredible "it is enough to"
reworked audio part ... have a look
Btw. limiter was not necessary int the previous (1.0) because I did no math operations that
could lead to greater numbers than allowed (thats because -1-chan so it will stay in -32768 to 32767)
btw. What's the translation of Deun Deun's french sentences ?
babelfish did not help - i didn't understand:
"there that for, is necessary that, easy" and the incredible "it is enough to"
Mensajes Tue 14 Jun 05 @ 2:08 pm
In fact when i started to explain him plugins, i used some sentences which express idea that things were easy to do lol
He is laughing at me
Besides, your code is now very clean :-) Go on like that among us
He is laughing at me
Besides, your code is now very clean :-) Go on like that among us
Mensajes Tue 14 Jun 05 @ 5:39 pm
Thanks lopez.
It's only the begining I think ...
It's only the begining I think ...
Mensajes Tue 14 Jun 05 @ 8:55 pm