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 property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/printthread.php(257) : eval()'d code 2 errorHandler->error
/printthread.php 257 eval
/printthread.php 117 printthread_multipage
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
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 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.27 (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.27 (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.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 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.27 (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.27 (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.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 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.27 (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.27 (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.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 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.27 (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.27 (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.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
Collecting audio - 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: Collecting audio (/showthread.php?tid=799)

Pages: 1 2


Collecting audio - fangbaby - 10-15-2007

Hello everyone, I'm Fangbaby.

Background:
Engineer/programmer/linux nerd/musician.
As a nerd, when I started making music in a band, I pretty much couldn't resist the technical challenges of recording. I have some effective recording equipment and it is somewhat mobile.

Plan:
I've got a car nerd buddy with a Miata, so I figure I'll record an array of sounds and go from there.

In and out of the car versions of:
Engine noise at various RPM
Shifting sound
Tire squeal
horn

Future:
Once we find a set of sounds that works, I'll find more people/cars in the Austin, TX area and record the same set of sounds from other cars.

I'll post back here when I have made progress and start a wiki page with some actual content.

Edit: Started a wiki page here:
http://wiki.vdrift.net/Sound/Audio_Development


- joevenzon - 10-16-2007

Good luck!


- fangbaby - 10-31-2007

Just bumping to say that I did the recordings and put up a wiki page with the results.

http://wiki.vdrift.net/Sound/Audio_Development


Things of interest I didn't put on the wiki.

Tires were too sticky to squeal, a good thing I guess Smile

I didn't think the actual driving sounds were all that great, mostly just wind noise.

Shifting didn't sound like anything, but maybe I should grab some of the engine slowing from high RPM to low.

Lemme know what you think.


- joevenzon - 11-01-2007

Those sounds are great! Nice work. I'll see if I can't get some basic support for multiple RPM sounds hacked in by the weekend.


- joevenzon - 11-01-2007

Okay, I've got some basic support in R1867 and added sounds to the M7 car in the data repos R115. A few issues that became apparent:

1) The lower RPM sounds are really quiet. Personally, I think this is great... I like the dynamic range. Others might complain, but for now... leave it alone. :-)

2) Some of the RPM loops don't loop all that well.

3) The revs need to be pitch matched... what I mean is, if you take a 3k sample and speed it up by the ratio of 4000/3000, it should have the same pitch as the 4k sample. Some of the samples actually sound pretty good already (which is a testament to the nice engine and precise recording), but it's probably worth it to go through and do this for all of the sounds. If you don't have any idea what I'm talking about I could try to do it, but my guess is you probably have better sound editing software than I.[/list]


- charlieg - 11-01-2007

joevenzon Wrote:3) The revs need to be pitch matched... what I mean is, if you take a 3k sample and speed it up by the ratio of 4000/3000, it should have the same pitch as the 4k sample.
That doesn't really make sense -- surely part of the reason for recording the rev sounds at different levels is because it is a sound that does not linearly scale in pitch and volume; 4k revs will not sound like 3k * 4/3.


- fangbaby - 11-01-2007

1) Ok, I can easily adjust this whenever, so I'll do as you say and leave it.

2) It was hard to tell what would work, can you tell me which ones loop well so I can try to make the others similar. I guess I should check out the code and hear for myself.

3) I'm not sure about this, but it is easy to test. Which loops sound good when this is done and which ones don't? Maybe the ones that don't work are just poor loopers to begin with.

Fantastic work by the way, that was fast!


- joevenzon - 11-01-2007

charlieg Wrote:That doesn't really make sense -- surely part of the reason for recording the rev sounds at different levels is because it is a sound that does not linearly scale in pitch and volume; 4k revs will not sound like 3k * 4/3.

So, the way the game uses the multiple RPM sounds is by crossfading between the nearest two RPM sounds. So if you're at 3500k, you'll get 50% gain on the 3k sample (pitched up by 3500/3000) and 50% gain on the 4k sample (pitch down 3500/4000). Unfortunately, if the 4k sample is actually 4050 rpm, then when you're at 3500 playing the 3k pitched up and 4k pitched down at the same time at what should be the same pitch, the 4k sample actually sounds a little higher, and so they don't mix well. It ends up sounding like two engines. Load up the M7, rev to 5500, and you'll hear what I mean.


- joevenzon - 11-01-2007

fangbaby Wrote:2) It was hard to tell what would work, can you tell me which ones loop well so I can try to make the others similar. I guess I should check out the code and hear for myself.

2k looped very well, 3k looped the worst. The reason that 3k didn't loop very well is because the engine was slightly revving up during the middle of the recording.


- joevenzon - 11-01-2007

fangbaby Wrote:3) I'm not sure about this, but it is easy to test. Which loops sound good when this is done and which ones don't? Maybe the ones that don't work are just poor loopers to begin with.

I went through and "tuned" the engine samples. I realized I could do it without modifying the sounds themselves; I just changed the RPMs they represent in the .car file. The way I did it was like you'd tune a guitar... I took the 1k sample, doubled it, then adjusted the speed of the 2k sample until they sounded correct when played over each other. Once I knew the speed I converted that back to RPM and put it in the file.


- fangbaby - 11-16-2007

I grabbed the sources and data from svn, compiled and checked out the M7. I think it sounds great! I tried another car and it sounded synthetic and fake to me.

Do you want more? Since the external sounds seemed to be best, I could use my better equipment to record it and make it all sound just a little more real.

Should I?
Any other requests?


- joevenzon - 11-17-2007

If you're able to grab so road noise sounds, that'd be great. You know, just the ambient, steady sound of moving forward.

I'll try to add in the interior sounds and the engine start sound into the code pretty soon.


- kidrock - 11-17-2007

try using the handbrake or heavy gas while turning to get SOME squealing... these are very good though!


- fangbaby - 11-18-2007

Updated the wiki with 2 more samples.

I grabbed a couple of spots from the original recording when we were moving and the RPMs were not all over the place. I think it just sounds like random noise, but maybe your magic code will make it sound good.

I will get the squealing sounds, lets see how this works first.


- kidrock - 11-19-2007

kk... good to know.