0
0

Hello,

Have anyone successfully ported the oscilloscope in the FMOD sample application to Delphi?

I have tried to, but it seems like my values are somewhat strange. Even worse, if I raise the volume to max, it hangs the application ๐Ÿ˜

Any code example is very welcome.

Thanks in advance,
Mikael S

(Sorry if this is a repost, but I have searched the forum for this one but without any luck)

  • You must to post comments
0
0

Hmmm, deja vu ! :) t’is an old topic!! Anyway

Hi Jedinight,
It’s quite easy really, just get the volume level as with
the delphi code below then index into a picture graphic array to display
the picture for the right volume level.

// Get the volume levels
FSOUND_GetCurrentLevels(0,@XLVOL,@XRVOL);// Channel 0 Vol Left ‘n’ right
LVOL:=trunc((((XLVOL)10))); // Drop Fraction and align
RVOL:=trunc((((XRVOL)
10))); // Drop Fraction and align

// Drawing routine here !
// Do your picture updates with LVOL and RVOL to index into
// the right graphic picture

The value 10 is just to index it to the right volume level graphic ( I only
used 10 picture with this code ). The code segment above would be placed inside some type of timer routine.

Anyway hope this helps

Regards Leo

PS Sorry for the delay in the reply, been a bit busy. ๐Ÿ˜‰

  • You must to post comments
0
0

I was going to do that as part of Delphi FMOD testbed app, but I have not gotten around to doing it yet.

  • You must to post comments
0
0

Hi Again,

Take a look at the VU meters picture below, it’s in png format to keep
it small, feel free to use and or adjust it.

[url=http://homepage.ntlworld.com/leo.parnell/Pictures/VUMeters.png:9gz5z2ns]URL Here ![/url:9gz5z2ns]

Regards Leo ๐Ÿ˜‰

  • You must to post comments
0
0

Can you please share that code?
If so you are welcome to mail me that on:
ear@helium2.com.

Thanks in advance.

  • You must to post comments
0
0

That’s great :)
Thanks for the tips and for the png sample ๐Ÿ˜€

  • You must to post comments
0
0

I haven’t done the conversion yet, so there is no code to send. It will have to wait until I have a block of spare time. I just bought a house at auction over the weekend and I am planning a wedding for next year, so spare time is kind of scarce at the moment.

  • You must to post comments
0
0

[quote:55dpdldv]I just bought a house at auction over the weekend and I am planning a wedding for next year, so spare time is kind of scarce at the moment.[/quote:55dpdldv]

Oh, congratulations to the house and to the wedding (in advance)!

  • You must to post comments
0
0

Hi,
Take a look at this tell me if it’s what your after, although this was written with Fmod 3.6 way back but I’m sure you will be able to convert it
to the latest Fmod release version.

http://homepage.ntlworld.com/leo.parnel … wnload.htm

Regards

Leo

  • You must to post comments
0
0

[quote="Anonymous":790xqrjn]Hi,
Take a look at this tell me if it’s what your after, although this was written with Fmod 3.6 way back but I’m sure you will be able to convert it
to the latest Fmod release version.

http://homepage.ntlworld.com/leo.parnel … wnload.htm

Regards

Leo[/quote:790xqrjn]
how to get the author’s email address,I have many questions to ask him.
thanks a lot.

  • You must to post comments
0
0

Hmmm,

You could just leave your own email address?

Leo

PS I Think it’s best to create a temp email address with an Hotmail account then post it to this forum and I will get in touch with you, if you like. After the correspondence the hotmail account can be deleted.

  • You must to post comments
0
0

my email:cqwty@hotmail.com
thank you very much!

  • You must to post comments
0
0

Hi Tianyu, I’ve sent you an email with an email address so you can ask
your questions so, ask away !

Leo

  • You must to post comments
0
0

Hi Leo,
how did you created the vumeter in scroll demo app ?

my e-mail is emuloader@mameworld.net

regards.

  • You must to post comments
Showing 13 results
Your Answer

Please first to submit.