Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (7th_zorro, henrybane, AndrewAMD), 1,343 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19053 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 | chip programmers | 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