I'm looking for a way to make my textbox play a noise. Not voice acting lines, but like a tiny repeated multiple times like in Undertale or LISA.
Speech noise
RGSS3 Script RequestsI wonder if you could have a common event that plays an SE then Wait 15 frames, set to parallel process, and conditioned by a switch. Then just turn the switch on before each Show Text command, and off again after.
Otherwise you will need a script, and should report your post and ask the mods to move it to RGSS3 Script Requests.
Otherwise you will need a script, and should report your post and ask the mods to move it to RGSS3 Script Requests.
As Shaz said, it is more interesting to look for one of these codes that include sounds in messages and modify. You only need to modify one or two variables, probably. Anyway, if you want to test your files to see how "speech" will turn out, try this:
I can try to do what I suggested above, I edit here as soon as I have something.
##EDIT##
Try this. Simple editing of a code created by Raizen:
I can try to do what I suggested above, I edit here as soon as I have something.
##EDIT##
Try this. Simple editing of a code created by Raizen:
Code:
#=======================================================
# Message Sound
# Autor : Raizen
# Comunidade : centrorpg.com
# Função do script: O script adiciona um som a cada tecla digitada
# nas mensagens, perfeito para fazer efeito de maquina de escrever por exemplo
#=======================================================
#=======================================================
module Raizen_Message
# Volume do Som
Volume = 80
# Arquivo que será tocado na pasta SE
Sound = "Dog"
# Frequencia que será tocado o som (0 equivale a cada tecla digitada)
Freq = 6
# Switch que ativa e desativa o efeito.
Switch = 2
# Tom padrão no qual o som será executado
Pitch = 100
end
# Aqui começa o script
#=======================================================
class Window_Message < Window_Base
alias :raizen_sound_message :wait_for_one_character
alias :raizen_initialize_sound initialize
def initialize
raizen_initialize_sound
@charcount = 0
end
def wait_for_one_character
raizen_sound_message
if $game_switches[Raizen_Message::Switch]
if @charcount == Raizen_Message::Freq
RPG::SE.new(Raizen_Message::Sound, @volume = Raizen_Message::Volume, (Raizen_Message::Pitch + rand(100))).play
@charcount = 0
else
@charcount += 1
end
end
end
end
What do the instrctions say?
Volume = Volume of the sound.
Sound = Filename
Freq = Number of characters shown for sound to play. For example, every six characters the sound is played once. Zero indicates that it will be played with each character.
Pitch = Initial tone to change depending on variations.
centrorpg.com it's the author's forum. Also, it just says that the script inserts sounds into messages, like those from a typewriter, for example.
Sound = Filename
Freq = Number of characters shown for sound to play. For example, every six characters the sound is played once. Zero indicates that it will be played with each character.
Pitch = Initial tone to change depending on variations.
centrorpg.com it's the author's forum. Also, it just says that the script inserts sounds into messages, like those from a typewriter, for example.
Or this
forums.rpgmakerweb.com
Post #4 has a mod by Bird Eater to let you set up multiple sounds.
MSS Text SE
Text SE - V1.0 Last Update: 2012.07.23 Updates: N/A Script Description: This Script plays a SE you define in the module at the top every x letters. These settings can be made in a module: SE File Name Pitch Range Volume Interval(x) List of methods: Compatible Scripts: Should...
forums.rpgmakerweb.com
Post #4 has a mod by Bird Eater to let you set up multiple sounds.
There are some scripts for that:
MSS Text SE
ATS Message Options
Text Sound Effect 1
Text Sound Effect 2
Yanfly's Ace Message System has a text SE feature too, but it comes with a lot of other features that may conflict or not be of your use~
MSS Text SE
ATS Message Options
Text Sound Effect 1
Text Sound Effect 2
Yanfly's Ace Message System has a text SE feature too, but it comes with a lot of other features that may conflict or not be of your use~
Looks like the eventing option hasn't found favour, so...
Moved to: RGSS3 Script Requests
Moved to: RGSS3 Script Requests
Original thread: https://forums.rpgmakerweb.com/threads/speech-noise.116905/