uli / basicengine-firmware

BASIC Engine Firmware
78 stars 16 forks source link

Failed to init synth #2

Closed antibyte closed 6 years ago

antibyte commented 6 years ago

Just finished building my Basic Engine board, so i tried the examples. In Shmup as soon as a sound should play i get "Failed to init synth in 1340" Soundfont is on the sd card. If i type the Sound command from line 1340 after reset it works, after loading shmup.bas it throws the error.

Sokoban has some strange graphics issues, but i think its WIP ?

uli commented 6 years ago

Wow, that was fast. :)

I think the problem is that I have never tried running shmup from a subdirectory; the sound font is loaded from a relative path. Could you try SOUND FONT "/sd/1mgm.sf2" and see if it works then?

[Sokoban exposes a CALL bug (see commit 9beca8e1c57), and needs fixes for the text window handling, which are also in the master branch since Saturday or something.]

antibyte commented 6 years ago

Yes, SOUND FONT "/sd/1mgm.sf2" makes it work.

uli commented 6 years ago

Fixed in v0.87-alpha.