The Lurking Horror source code loop handling

Ah, ok.

This audio trouble in SDL Frotz with Lurking Horror is finally fixed. Somehow, and it wasn’t my doing, the SDL code wasn’t waiting for an effect to finish before halting playback. The fix was to add two lines of code to stopsample().

5 Likes

Do we know what format (or file type) the audio media files have to be?

Is it possible to record something and convert it to “Infocom audio”?

How to start and stop sound effects from playing in Z5?

I must know! :grimacing:

Adam

The format is left up to the interpreter. Infocom created their own format, which is documented at http://ifarchive.org/if-archive/infocom/info/sound_format.txt. There are converters at the IF Archive for going to and from this format.

For starting and stopping sounds, see http://inform-fiction.org/zmachine/standards/z1point1/sect09.html.

2 Likes