PDA

View Full Version : 190% Range!!


RizlaUK
08-10-2008, 01:59 PM
so im testing a commercal ocx that is far from cheap, but its got the functions im after and the events work ok in AMS

i wont mention any names till i find a fault with the ocx, but the help file.. .. what a mess, half the propertys in the ocx are not documented, and theres stuff like below

Parameters

pitch

[in] pitch value for audio effect ,the value is in range from 10 to 200, default value is 100. units is percent

10 to 200 = 190, percent ??, ok my math is not the best, but even i can see this is not right

i just wanted to know, would you pay $349.00 for a single developer license when theres silly mistakes like this ?

bule
08-10-2008, 02:27 PM
What's the problem there?

Range of the effect is 10% - 200%.

Which means 10% will lower the output to a one tenth
of the original, while 200% will double the output.

RizlaUK
08-10-2008, 03:15 PM
ok, put like that i spose it makes sence but why confuse things

every other method in this ocx ranges from "-50 to 50" or "-12 to 12" or "0 to 100" and the same applies to other ocx's of this type that iv tested

it just seemed a bit odd to me

this is from another ocx
Public Function SeekTo(ByVal NewValue As Long)

This function will change the playback position based on the value passed , the value need to be in percent format , so , a value of 0 will seek to the beginning of the media file , a value of 50 will go to the middle and so on , it can be used by a slider to change the playback position , take a look in the sample project to see how

so if i see that a value is a percent i automaticly assume its range from 0% to 100%, not that the default 100 is 90% more than the lowest setting and 100% less than the highest,

but i stand corrected, guess iv still got a lot to learn