Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sound effects?
#22
LTee Wrote:
oblo Wrote:Hi all

LTee, How a song created with Beepola can be integrated in ZX Basic? I don't know how to handle the .bbsong format in Basic.

Thanks and regards
Hi oblo,

You don't have to handle the bbsong format yourself, you can get Beepola to export the song and a player as executable code. On Beepola's 'tools' menu, select 'Compile Song' and you can export in a variety of formats that you can use elsewhere. I compile to a code block only .tap file using an address high in memory (away from ZX Basic code) and then call it with RANDOMIZE USR xxxxx from within my game code (although there are a couple of quirks at the minute, see http://www.boriel.com/forum/help-support...-t633.html).

Hope that helps!


Thanks, good post about it Smile I was thinking to define a bi-dimensional array, one for the pitch and the other for with the duration; then, put a BEEP x,y: x+1:y+1 in every game loop, but it looks like your solution is more elegant Smile

Cheers
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)