Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, AndrewAMD), 12,726 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Sound question, engine rpm...[solved] #419166
03/07/13 12:28
03/07/13 12:28
Joined: Sep 2010
Posts: 82
P
peteredlin Offline OP
Junior Member
peteredlin  Offline OP
Junior Member
P

Joined: Sep 2010
Posts: 82
Hello,

I am bussy coding some engine sound's.
But some how i am stuck. I read the manual and tutorial's, but i just dont get the picture.

Here is my situation:

I have an EngineRpm var where i want to couple a few sound to.
I have .ogg files for 500,1000,1500,2000 rpm's.

What is a good way of coding this?
I understand the math, but i dont know how to put it to use with the lite-c commands.

Last edited by peteredlin; 03/08/13 05:52.
Re: Sound question, engine rpm... [Re: peteredlin] #419169
03/07/13 12:53
03/07/13 12:53
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
I would suggest to use snd_tune and chnage the freqency laugh

Re: Sound question, engine rpm... [Re: Ch40zzC0d3r] #419234
03/08/13 05:52
03/08/13 05:52
Joined: Sep 2010
Posts: 82
P
peteredlin Offline OP
Junior Member
peteredlin  Offline OP
Junior Member
P

Joined: Sep 2010
Posts: 82
Yeah i knew that part..

But anyway thanks, and it already solved.
Somehow i misintrepeted the manual about the snd_tune,frequencie thing.
I thought that a freq. of 1000 would mean the original freq. etc.

But it's like
freq.:10 = 1/10 of original
freq.:100= 1/1 of original
freq.:1000= 1/0.1 of original


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1