It looks like you're new here. If you want to get involved, click one of these buttons!
\ <<if $hasGas and $hasPlug>>[[Two wires|village]]<<audio "out_side" volume 0.1>><<audio "car_start" volume 100 fadeoverto 8 0.0>><<timed 8s>><</timed>><</link>> hang from the broken plastic under the steering wheel.<<set $searchedCar to true>>Secondly, to cut down on file size my audio clips are fairly short (the outside noise is about 10 seconds long and on a loop). Is there anyway to prevent the sudden 'off/on' noise you hear when changing rooms or when the track ends and begins its next loop?
Comments
I suppose it has to be better than the little 'pop' noise that's heard during the transition. I'll give it a try.
No, that only accentuates the transition as I feared. I don't think this can be done, as the looping is being controlled by Twine. I can do a seamless loop in Audacity using crossfade, but that won't help here.
1. The "car_start" audio macro has a volume of 100 but the documentation lists the possible range of 0 -> 1
2. Your timed macro has no contents.
3. You have a <</link>> without a corresponding <<link>>, this would cause the code to be invalid.
2. The timed macro is there because I don't want the next passage to kick in immediately, because there's a short audio clip of a car pulling away which wouldn't make sense if it played while the next passage description was displayed. Should the entire code be enclosed in the timed macro or something, because as I say it works as desired.
3. The closing link is an error I hadn't noticed until now. It's left over from when I was using a link to move the player, before I'd learned of the location method.
Oddly the passage works as desired and throws up no errors.
[edit] Okay, I've fixed the issue on the volume for the 'outside' audio not lowering as the player climbs in the car. Turns out I did need to be using <<link>> instead of text\link afterall.
This is what I have now and it all works perfectly::