The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_parser.php 866 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key 1 - Line: 885 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_parser.php 885 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_parser.php 866 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key 1 - Line: 885 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_parser.php 885 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_parser.php 866 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key 1 - Line: 885 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_parser.php 885 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
Engine sound file - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: General Discussion (https://www.vdrift.net/Forum/forumdisplay.php?fid=8)
+--- Thread: Engine sound file (/showthread.php?tid=392)



Engine sound file - Ferrari_Guy - 11-02-2006

What engine RPM is the sound file supposed to be?


- thelusiv - 11-02-2006

Oooh, good question. I can't remember off the top of my head, but I'm pretty sure it's a high number, something like 6000. Joe knows...


- joevenzon - 11-02-2006

7000 RPM. This is due to limitations within OpenAL about how far it will pitch up a sound -- it only likes to go to 2x pitch. I've wanted to implement better engine sounds that crossfade between multiple samples at different RPMs and load and no-load samples, but I don't have any engine samples like that, so I haven't had any motivation.


- cotharyus - 11-03-2006

What kind of samples do you need, and in what format. I can get you some wicked sounding V8 samples from 1k to ~5.5K rpm range, loaded, unloaded, and in engine-brake (downshifting). Just let me know what kind of quality you need.


- joevenzon - 11-04-2006

Cool, if you could record sound for those three modes maybe every 1k that'd be great. For quality, mono 16-bit 44.1khz is fine.


- cotharyus - 11-04-2006

I'll see what I can do for you - the trick of course will be filtering out wind noise.


- thelusiv - 11-05-2006

Get a really big one of those puffy microphone muff guard thingies.


- RJARRRPCGP - 11-24-2006

joevenzon Wrote:7000 RPM. This is due to limitations within OpenAL about how far it will pitch up a sound -- it only likes to go to 2x pitch. I've wanted to implement better engine sounds that crossfade between multiple samples at different RPMs and load and no-load samples, but I don't have any engine samples like that, so I haven't had any motivation.

I noticed problems, too, don't laugh at me, it seems to ignore anything beyond 15,000 RPM.

I heard that some engines can go past that, but RARELY!



I'm disappointed, because this limitation don't exist in Racer. Sad

Also, unlike with Racer, I can't use more than one sample, based on RPM. Sad


- thelusiv - 11-24-2006

I guess you had to modify one of the cars to get it up to 15000 RPM. OpenAL will only increase the pitch of the sample to a certain point, and it reaches its limit.

Multiple sound support is in the works, Nigo has even posted a very good bit of the code necessary to do this here: http://vdrift.net/Forum/viewtopic.php?t=422


- RJARRRPCGP - 11-29-2006

thelusiv Wrote:I guess you had to modify one of the cars to get it up to 15000 RPM. OpenAL will only increase the pitch of the sample to a certain point, and it reaches its limit.

Multiple sound support is in the works, Nigo has even posted a very good bit of the code necessary to do this here: http://vdrift.net/Forum/viewtopic.php?t=422

I do like the multiple sound support. Have you ever tried Racer to hear the example I'm talking about.

That's why I still have Racer too on my PC.

Also, disappointingly, VDrift often is slow, it often stuggles just for 25 FPS! :evil:

I want it to be at least around 60 FPS. I don't think that's impossible for my PC. Even when it has an earlier video card, which is a GeForce 4 Ti 4200.


- thelusiv - 11-29-2006

What kind of performance do you get out of Racer? With mostly Racer cars and tracks, it should be pretty close to the same with the same display settings. That said I get about the same performance you do with the same video card (TI4200). I don't really play Racer...I can't get it to compile or run right on Ubuntu Linux (and haven't tried in a long time). I've found that some tracks in certain spots are much slower than others. This is usually seen on long straights when lots of objects are visible.

If Racer has support for multiple engine sound files, we could take the engine sounds in that format from the Racer cars that our cars were based on. Then we could put Nigo's code to use (after the engine file definition is moved from an ini file to the .car file, but that's a small detail really).


- RJARRRPCGP - 11-30-2006

thelusiv Wrote:What kind of performance do you get out of Racer? With mostly Racer cars and tracks, it should be pretty close to the same with the same display settings. That said I get about the same performance you do with the same video card (TI4200). I don't really play Racer...I can't get it to compile or run right on Ubuntu Linux (and haven't tried in a long time). I've found that some tracks in certain spots are much slower than others. This is usually seen on long straights when lots of objects are visible.

If Racer has support for multiple engine sound files, we could take the engine sounds in that format from the Racer cars that our cars were based on. Then we could put Nigo's code to use (after the engine file definition is moved from an ini file to the .car file, but that's a small detail really).

Racer uses the .wav format for the engine sounds.

Also, I'm able to get around 60 FPS in Racer with the included tracks, after tweaking with RivaTuner.


- thelusiv - 11-30-2006

Can anyone tell me more about Racer's engine file format? Is it just a single sound that has different parts? Is it more than one file?


- kcid - 12-01-2006

Chris,

It's different sound files for different rpm. So you have a sound file every 1000rpm or every 2000rpm. They also have soundfiles for starting the car, wind and tire squeel.