0
0

I need to know how make a vu meter, how make the graphical part, and how do for indicate in vu meter sound information?

[img:2bbqsot1]http://personal.auna.com/rs92/vumeter.jpg[/img:2bbqsot1]

an other question, i am working in Visual Basic.NET, and the fmod.bas show errors when this is added to references, or added at project.

should good an API speciphic for Visual Basic.NET.

Thanks.

  • You must to post comments
0
0

I wouldn’t use Modules (bas) files in VB.NET anymore, I would go ahead and create a “Sound” [b:3ebi1pfy]class[/b:3ebi1pfy]. Just reference stuff you will absoloutly need, this makes the class size smaller and keeps the clutter down.

From fmod.chm (3.74):
[code:3ebi1pfy].
FSOUND_GetCurrentLevels
Returns a left and right VU/Level reading at the current position of the specified channel.
Levels are are only supported for software channels.

DLL_API signed char F_API FSOUND_GetCurrentLevels(
int channel,
F_FLOAT_API *l,
F_FLOAT_API *r
);

Parameters
channel Channel number/handle to retrieve left and right level from.

l Pointer to a floating point value to store left level, between 0 and 1.

r Pointer to a floating point value to store right level, between 0 and 1.

Return Value
On success, TRUE is returned.
On failure, FALSE is returned.
[/code:3ebi1pfy]

Basicly it’s saying:
[code:3ebi1pfy]
Dim l as single, r as single

Call FMod_GetCurrentLevels(channel,l,r)

‘l now has the value for the left side
‘r now has the value for the right side
[/code:3ebi1pfy]

FMOD Ex:
http://52.88.2.202/forum/viewtopic.php … t=vu+meter

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.