Sound/Voice Volumes way too low

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Bryy
Veteran
Posts: 407
Joined: Thu Dec 20, 2012 10:12 pm
Completed: 30+ games so far
Projects: Furry Shakespeare
Organization: Stegalosaurus Game Development
Location: Portage, MI
Contact:

Sound/Voice Volumes way too low

#1 Post by Bryy »

Hello.

So I am busy making a new game, and have found that the sound and voice volumes are drastically lower than the music volume. The music always plays at the volume that it was recorded and edited at, but not the others.

I have tried different file types as well as manually raising and lowering volume to no effect.

Some sample code (persistent.set_volumes does not seem to work either, btw):

Code: Select all

label splashscreen:
    python:
        if not persistent.set_volumes:
            persistent.set_volumes = True

            _preferences.volumes['music'] *= .75
            _preferences.volumes['sound'] *= 19
            _preferences.volumes['voice'] *= 8
    if renpy.music.get_playing() != "m/Nature Peace.wav":
        play music "m/Nature Peace.wav"
    show splash
    with fade
    with Pause(5.0)
    scene black
    with fade
    with Pause(1.0)
    return

############################################################## STORY

label start:
    $achievement.sync()
    scene black
    play sound "se/computer.wav"
    w "..... "
    b "{i}IT WASN'T ME!!!!!{/i}"
    play sound "m/victory.ogg"
    mag "*lol* Yes it was!"
    play sound "m/victory.ogg"
    b "No, no, seriously, it {i}was not me!{/i}"
I have even tried putting sound in as:

Code: Select all

    if renpy.sound.get_playing() != "m/victory.wav":
        play sound "m/victory.wav"
This is what my screens look like:

Code: Select all

    frame xpos 190 ypos 1030: # MUSIC
        style_group "pref"
        has vbox
        bar value Preference("music volume")
    frame xpos 590 ypos 1030: # SFX
        style_group "pref"
        has vbox
        bar value Preference("sound volume")
    frame xpos 990 ypos 1030: # VOICE
        style_group "pref"
        has vbox
        bar value Preference("voice volume")

init -2 python:
    # Styling for the bar sliders:
    # Aleema's Customizing Menus tutorial: http://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=9812
    # Bar style properties documentation: http://www.renpy.org/doc/html/style.html#bar-style-properties
    style.pref_frame.background = None
    style.pref_slider.left_bar = "gui/SET_Bar2.jpg"
    style.pref_slider.right_bar = "gui/SET_Bar.jpg"
    #style.pref_slider.thumb = "gui/SET_Slider.png"
    #style.pref_slider.ymaximum = 750
    #style.pref_slider.xmaximum = 400
I have tried renaming 'sound volume' to 'sfx volume'. No avail.

The volume is fine for every single one of my other games.

I'm at the end of my rope.

Post Reply

Who is online

Users browsing this forum: Bing [Bot]