February 13, 200521 yr Hi all,To continue with the Danieletona previous post related to sounds in sceneries, I prepared a first dll that associates a sound to an object (or many) in a Snn scenery file.The zip (link below : 63 Kb) contains a complete example and descriptions of the way the dll can be used.This is a first attempt and it needs probably some improvements ...BTW sounds are not yet attached to posts, then I'm sorry I can't give here an example, eh, eh !http://rotw.simvol.org/beta/Project_Scener...S_SOUND_v10.zipCheers,laurentC (rotw)http://forums.avsim.net/user_files/106650.gif
February 13, 200521 yr Hi Laurent,can you check that ZIP file please!I loaded it two times but it seems to be corrupted, tried StuffIt and WinZip.Thanks a lotGeorg HeliFLYer EDDW
February 13, 200521 yr Hi Laurent,thanks and compliments for your job. :-beerchug The DLL works but I has discovered a small BUG. :-( Because the DLL correctly works it needs to apply a sound to all the objects of a scenery. Example:If in a scenery I have three objects and I only apply a sound to a model, the DLL it doesn't work.Thanks still for your collaboration.Dan
February 14, 200521 yr Ok,Thanks for the feedback ... I'll see what I can do ...BTW : heliflyer, I tried the link and it works ... try http://rotw.simvol.org/beta/Project_Scenery_Sounds/laurentC
February 14, 200521 yr Hi Dan,I tried to add some trees to the D022171 data scenery I provided in the example and it works even if I have only three models with sounds and 5 without sound.See the scenerya.s01 below (txt format file included) ...But I noticed the sound type is important in order to have it work properly. I initially put the firebell.wav which has two related files (: firebell.vol and firebel.klp) and I saw that when the firebell was used all the other sounds were firebell !!! I think this kind of wav must be avoid and rather prefer raw wav files like the 172stall.wav file I put in place of the initial firebell.wavCheers,laurentC http://forums.avsim.net/user_files/106785.gif
February 14, 200521 yr Thank you, Laurentbut the problem was/is NOT the link but that I canot unzip the files.Here are the messages of StuffIt Expander and WinZip:http://forums.avsim.net/user_files/106799.jpghttp://forums.avsim.net/user_files/106800.jpgAnyone else with the same problem?RegardsGeorg HeliFLYer EDDW
February 15, 200521 yr Also Dan, remember to place each noisy object beyond the distance set in the wobj dll setting ... 0.5 NM right now... otherwise sounds are rendered in a messy way.HeliFlyer : I'll post the files non zipped for you.Cheers,Laurent
February 15, 200521 yr Hi Georg,I zipped again the files (you were right ! A unzipped problem occured to me too ! "sigh ! very few people tried it so !") and put also the unzipped folder in the repository.Complete folderhttp://rotw.simvol.org/beta/Project_Scenery_Sounds/ (attention with the last slash mark)or zip filehttp://rotw.simvol.org/beta/Project_Scener...S_SOUND_v10.zipCheers,laurent
February 15, 200521 yr Thanks Laurent.For a correct installation:The objects with sound must be position for last?It is worthwhile to create two files VOL and KLP associating them to a sound "mute"?Dan
February 15, 200521 yr Hi Dan,I don't think the "sound" objets have to be placed at the end of the file. The dll should find by itself the names ID of the wobj.I'm not expert enough with sounds for the second question : I just noticed that sounds with VOL and KLP worked badly ... you need to experiment that issue ...Take care,laurentC
February 15, 200521 yr Laurent,Do you automatically loop the sound file or do you play is just once?If you're looping it maybe the problem is that it's double looping it because that's what the KLP file is used for. The VOL is simply the volume so that shouldn't matter.Just my 2 cents...http://www.avsim.com/hangar/fly/dfdg/banneraa.jpg
February 16, 200521 yr Thank you Laurent,now I could test your work and I had no problems except the already described "*.KLP" files and the persisting sound.But after all another possiblity for scenery enhancing!Georg HeliFLYer EDDW
February 16, 200521 yr Hi Alejandro,do you have some information about the *.KLP format?I could not find it searching the Forum or looking into the SDK.pdf/flyscript.pdf.Some time ago I read that the 3 numbers describe playing once/loop, the time of playing ...Mostly I found a format like this1 0 0OR1 53528 0Any ideas?Thanks a lot in advanceGeorg HeliFLYer EDDW
February 17, 200521 yr Georg,I can't get my sound editor to work in order to verify what I'm about to write. In fact, I can't get my sound card to work properly...Anyway, from what I recall the second is the point at which it should loop. I don't think I tried changing the first and last values. Maybe you can make it start at a point other than the very beginning. I'd have to try it...Sorry,http://www.avsim.com/hangar/fly/dfdg/banneraa.jpg
Create an account or sign in to comment