gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > typing sound (not direct sound)

#60905 - ghost Leinad - Wed Nov 16, 2005 12:52 am

anybody knows a cool sound for a text function (letter by letter), like a typewriter sound or smt...

BUT, not using direct sound for this, i mean, please give me the channel to use, and the frequency, in fact, tell me everything i should know...

i need this for a cool text function i make :D:D:D as soon as i add the sound i will let you know this function...but here's some details

*the text is in BG0
*the alfabet is spanish (you can find the letter ?,? the ?, ?, symbol)

textoback(text,posx,posy,nopallete);
just write the text...nothing special

letterbyletter(text,posx,posy,nopallete);
write the text letter by letter (i need a sound for this :D)

textomargentrans(text,posx,posy,nopallete);
writes a text letter by letter but with a frame around, but the bakground of the frame is always blank

textomargen(text,posx,posy,nopallete);
writes a text letter by letter with a frame but the frame background color changes depending the pallete :D

tanx in advance
_________________
All human wisdom is summed up in these two words, - 'Wait and hope"
****************************************
My site www.myth-world.net and www.bmrpg.com :)

#60924 - tepples - Wed Nov 16, 2005 3:00 am

NES games used the noise channel for typewriter sounds. Then they used a note (F at roughly 1395 Hz) on channel 1 for the bell played when the text was about to hit the margin.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.