The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
Sound clicking fixed - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4)
+--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9)
+--- Thread: Sound clicking fixed (/showthread.php?tid=258)



Sound clicking fixed - martin - 07-04-2006

Hi,

I fixed the sound clicking (on osx at least).
The engine.wav and the wind.wav files are not correctly looped,
I looped them using some audio editor and now, as I put wind.wav
into the sound and engine.wav into the car directory of the car I am
driving the clicking is gone.

I did put the two edited files on a wen page for others to try:
www.cas.mcmaster.ca/~mohrens/engine.wav (and wind.wav)

If this works for others I can loop the other wav files too. This clicking
happened in all versions including the snv one.

M.


Re: Sound clicking fixed - abs1nth - 07-05-2006

thanks!

i don't know anything about sound looping but the clicking definitely annoys me.

it would be great to get ALL the sounds fixed for the next release (if the main developers agree), since there were many new ones introduced since the last release.

do you know how to check out the latest vdrift version from SVN?

this might help:
http://vdrift.net/faqman/index.php?op=view&t=18


- joevenzon - 07-05-2006

Nice job, martin. It does make it sound better. There's still a slight clicking in Linux, but that's due to a bug in openal (which I've heard the developers are working on fixing Real Soon Now). Sounds in general have been neglected; we don't even use the wind or crash or car start sounds in-game yet. Hopefully I'll get a chance to work on the sound code more in the next release cycle.


- martin - 07-05-2006

OK,
I am grad if I can help a bit,

yes I use the development SVM version, this is the one I compiles on OSX

I looked at all the engine sound files and found the following:

There are 4 different ones:

3S CS FE FF GT M7 MC MI RG T73 TL XS
AX2 CO M3 TC XG (XG had different envelop ?) XM
G4 (this one is stereo)
SB (nice one!)

can someone confirm this?

I looped them and also distributed them to the cars,
I put a tar file here:
www.cas.mcmaster.ca/~mohrens/sound.tar.gz
This was create using
tar cvf sound.tar `find . -name '*.wav' -print`
and is relative to the data directory.
So if you un-tar it there (data directory) it will overwrite all the engine sounds to the looped ones.

I hope this helps,

M.


- joevenzon - 07-05-2006

Thanks again. These sound great. The weird XG envelope was really bugging me. I checked these into SVN.