From e3263a868e3db5cbbd1a0271a8ba2c9686184c65 Mon Sep 17 00:00:00 2001 From: Map Date: Tue, 3 Dec 2024 17:06:22 -0600 Subject: [PATCH] tweak guitar sounds to be more pleasant --- .../script/8.anon-and-fang-study-together.rpy | 45 +++++++++++++++---- 1 file changed, 37 insertions(+), 8 deletions(-) diff --git a/game/script/8.anon-and-fang-study-together.rpy b/game/script/8.anon-and-fang-study-together.rpy index c6f8cfe..0ed40ba 100644 --- a/game/script/8.anon-and-fang-study-together.rpy +++ b/game/script/8.anon-and-fang-study-together.rpy @@ -718,7 +718,7 @@ label chapter_8: pause .5 "{cps=*0.5}AAAAAAAAAAAAAAAA{/cps}" - play music 'audio/OST/Dragging on and on....ogg' fadein 1.0 + play music 'audio/OST/Dragging on and on....ogg' fadein 1.0 volume 0.5 pause .5 F "Anon, are you paying attention?" @@ -732,15 +732,31 @@ label chapter_8: pause .5 F "Alright, try these chords." - play sound 'audio/effects/goodA.ogg' fadein 0.5 + + # Renpy's audio is rarted, do this workaround instead + $ renpy.music.set_volume(1.0, 0.0, 'sound') + play sound 'audio/effects/goodA.ogg' + $ renpy.music.set_volume(0.0, 1.5, 'sound') + pause 0.25 + "Her fingers press mine down, holding down the strings in an awkward position." F "Then this." - play sound 'audio/effects/goodB.ogg' fadein 0.5 + + $ renpy.music.set_volume(1.0, 0.0, 'sound') + play sound 'audio/effects/goodB.ogg' + $ renpy.music.set_volume(0.0, 1.5, 'sound') + pause 0.25 + "My hands are slid down closer to the base of the neck and too close to my crotch." F "And then finally this." - play sound 'audio/effects/goodC.ogg' fadein 0.5 + + $ renpy.music.set_volume(1.0, 0.0, 'sound') + play sound 'audio/effects/goodC.ogg' + $ renpy.music.set_volume(0.0, 1.5, 'sound') + pause 0.25 + "My fingers are shifted back up to the middle of the fretboard." F "Try that out, Anon." @@ -749,14 +765,25 @@ label chapter_8: "Fang let’s go of my sweaty hands. She doesn’t move from behind me though." "I try and replicate the movements." - pause .5 - play sound 'audio/effects/goodA.ogg' fadein 0.5 + + $ renpy.music.set_volume(1.0, 0.0, 'sound') + play sound 'audio/effects/goodA.ogg' + $ renpy.music.set_volume(0.0, 1.5, 'sound') + pause 0.25 "The first strum sounds… not bad…" - play sound 'audio/effects/badA.ogg' fadein 0.5 + + $ renpy.music.set_volume(1.0, 0.0, 'sound') + play sound 'audio/effects/badA.ogg' + $ renpy.music.set_volume(0.0, 1.5, 'sound') + pause 0.25 "The second note is horrendous. I blame my pants." - play sound 'audio/effects/goodC.ogg' fadein 0.5 + + $ renpy.music.set_volume(1.0, 0.0, 'sound') + play sound 'audio/effects/goodC.ogg' + $ renpy.music.set_volume(0.0, 1.5, 'sound') + pause 0.25 "And the last chord comes out alrightish." pause .5 @@ -792,6 +819,8 @@ label chapter_8: "My pinky slides off the fretboard and when I strum again a strange look appears in Fang’s eyes." window hide window auto + + $ renpy.music.set_volume(1.0, 0.5, 'sound') pause .5 label musicalchoices: