Gamestudio Links
Zorro Links
Newest Posts
Lapsa's very own thread
by Lapsa. 06/20/26 18:18
Ranger by Robert Pardo - now for Zorro
by Smallz. 06/20/26 11:23
Z12 live performance
by jcl. 06/19/26 11:21
Z9 getting Error 058
by jcl. 06/16/26 09:51
How to select between IB accounts by script?
by AndrewAMD. 06/13/26 15:44
Zorro tutorial ideas?
by AndrewAMD. 06/13/26 15:01
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
4 registered members (Grant, TipmyPip, monarch, Lapsa), 5,773 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Student_64151, Koti, curry, DeepxKalsi, Samed
19219 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