Audio channel things πŸ‘€


Hello everyone!
Hope you're doing great! 😊



Here's this week's dev log :D

This week

As mentioned last week, I mainly focused on bug fixes and smaller improvements.

The biggest task was "fixing" the audio channels in the game, so to speak.
Currently, the preferences menu has three audio sliders:

  • Music: Works somewhat reliably for most background music.
  • Sound: Controls some sound effects, but inconsistently.
  • Voice: Does nothing (since the voice channel isn’t currently used).

Because of this, I decided on the following changes:

  • All audio that includes Yuma's voice (moaning sounds, blowjob sounds, kissing sounds) will now be mapped to voice volume.
  • All other sound effects (both sex-related and regular SFX) will be mapped to sound volume.
  • A new slider will be added to control menu sounds (button sounds in the menus).
  • A master volume slider will also be added to adjust the overall volume.

I still need to research how to implement the master volume—not sure if Ren’Py has built-in support for this. But well... even if the functionality isn't there, I'm sure it can be coded πŸ™‚

So, I went through all the audio commands and adjusted them to the correct channels.
Since audio channels are saved in save files, older saves will still have the β€˜wrong’ channels.
Where this becomes an issue is when an looping sound from an outdated channel is not stopped anymore because the new version uses a different audio channel.
Therefore, to maintain some backward compatibility, for old channels whenever a looping sound is played. That was a bit of work πŸ˜…
Once the full game releases, I might remove these compatibility fixes, but for now, they’ll stay.

Since I had to go through the dialogue quickly anyway, I also made some small tweaks to the dialogue and sprites—nothing major, just minor adjustments.

Plans for next week

I will continue working on small fixes and improvements—there are still a few left on my to-do list πŸ‘€
Once those are done, I still plan to release version 0.4.1 as a quality update without new content, as mentioned last week.

Other than that, I'm also eager to start writing the script for the next version! πŸ˜€


That's all from me for this week!

Have a great day, and see you all next week! πŸ‘‹πŸ˜Š

Get Orange Smash!

Download NowName your own price

Comments

Log in with itch.io to leave a comment.

IIRC there is no standard master volume function within Renpy. 

What most developers do is to define a master variable and then multiply with each channel's volume in order to maintain the same differentiation.

Hope this helps.

Hi, thanks for the info! 😊

That sounds good, I’ll try to do that!