Dear Chicken fans, I want to direct your attention to a new egg that I have created and found quite entertaining so far: sdl-mixer a binding to libsdl-mixer that allows you to play music and samples in scheme with ease.
It is LGPL licensed (as is libsdl-mixer) and the docs can be found in the usual places: http://wiki.call-cc.org/eggref/4/sdl-mixer Playing a file and samples is easy: (use sdl-mixer) (open-audio) (channel-finished (lambda (c) (printf "Channel ~a finished~%" c))) (play-music (load-music "background.mp3")) (let ((s (load-sample "noise.wav"))) (play-sample s)) (close-audio) So maybe for all the game developers out there this is useful. I am looking forward to hearing your feedback. Cheers, Christian -- 9 out of 10 voices in my head say, that I am crazy, one is humming. _______________________________________________ Chicken-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-users
