* Moritz Heidkamp <[email protected]> [120528 14:30]: > Hey Christian, > > Christian Kellermann <[email protected]> writes: > > 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. > > that sounds very nice, thanks for putting it together! > > > > (play-music (load-music "background.mp3")) > > A question regarding the API: Is the "music" term inherited from SDL?
Yes. > And what's the difference to "sample"? Looks like the "music" functions > play samples asynchronously. If so I'd vote for renaming it (to Both play asynchronously. Samples are mixed together in channels. Output is always the channels plus 1 music channel. > something like play-sample/async, only better) since music isn't > necessarily the only thing one would want to play in background :-) I think the /async is redundant... -- 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
