SDL_Mixer Wrappers for Euphoria

Revised October 5, 2006

Mark K. Akita - mkakita@juno.com

 

 

What is it? What it is?

 

This is the 2nd version of my SDL_Mixer header for the Euphoria programming language. The SDL_mixer library makes it relatively easy to add sounds and music to SDL programs. The purpose of the SDL_Mixer header file is to make the SDL_Mixer library functions accessible form Euphoria.  SDL was written by Sam Lantinga and is distributed under the GNU Lesser Public License.

The official SDL website http://www.libsdl.org contains more information both general and specific about both SDL and SDL_mixer.   

 

 

What you need to get started…

 

The following files are included with this SDL_mixer wrapper package:

README.TXT – this file in plain text form

README.HTML – this file in HTML form

SDL_Mixer.DLL – The actual SDL_Mixer dynamic link library.  Currently version 1.2.7

SDL.DLL – The SDL dynamic link library. Currently version 1.2.9

SDL_WRAP.EW – The Euphoria wrapper include file for SDL

SDL_MIXR.EW – The Euphoria wrapper include file for SDL_mixer.

SDLMIX2.EXW – A quick demo program that plays a wave sample, a MOD song and a MIDI song.

AUDIO – a folder containing the sound and music files used by the demo program

BITMAPS – a folder containing images used by the demo program

 

The demo program was re-written to include additional sound file types.

The latest version of the library and full documentation (with programming examples in C) is available at http://www.libsdl.org/projects/SDL_mixer/

 

Feel free to use the SDL_WRAP and SDL_MIXR files in your own projects.  If you write a Euphoria program that includes the SDL_WRAP.EW file, be sure to credit me (Mark K. Akita) somewhere in the help, docs or “about” screen.

 

 

Sounds and music

 

SDL_mixer will play a variety of sample and music formats including WAV, AIFF, RIFF, VOC, MID, MOD, OGG and MP3.  The structure of SDL_mixer probably won’t lend itself to any audio application requiring low-level access such as a real-time synthesis engine.  For adding several channels of audio to games or other applications it’s very well suited.

 

 

Is there more?

 

I’m currently working on a Euphoria library that simplifies some of the SDL functions, and I’ve got a prototype GUI object library in the works.

 

Send comments & feedback to mkakita@juno.com