Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

FM Synthesis Libraries

Name: Anonymous 2009-12-09 23:28

I'm thinking about using a realtime FM synth for music and sound effects in my next game. I'd write a library myself, but I don't want to waste my time if there's already something good out there. The thing is, google turned up no results. Am I going to have to get cracking on my own?

Name: Anonymous 2009-12-14 22:35

>>79
Delicious.

Name: Anonymous 2009-12-14 22:36

>>80
YHBT

Name: Anonymous 2009-12-14 23:15

>>41
This. I wrote a fast simple wave synthesizer in C a couple years back. It's really that easy. Start with a square wave, it's by far the easiest; then turn it into a sine wave generator, and use multiple passes for FM.

Name: Anonymous 2009-12-14 23:27

>>79
Sounds like the guitar sample in Turtles in Time on SNES.

Name: Anonymous 2009-12-15 1:27

>>83
what sort of library did you use for playback of the sounds you created?

Name: Anonymous 2009-12-15 2:13

>>85
I didn't write that part. It was on Windows Mobile, so whatever the native API is to playback sample buffers.

Name: Anonymous 2009-12-15 2:23

>>86
Oh.  I'm just wondering how I would play those back on Windows or *nix if I did it myself.

Name: Anonymous 2009-12-15 4:48

>>87
| aplay or > /dev/dsp.

Name: Anonymous 2009-12-15 8:40

>>87
(Not >>83) I suggest portaudio. It's fairly concise and is very efficient. OTOH, it involves callbacks and you'll have to write your own mixing code. If that bothers you (well it shouldn't by now, but...) you could just go with OpenAL (I don't recommend this, but there's no real problem with it.)

Name: Anonymous 2009-12-15 13:40

>>87
Use Jack on *nix if you can. If you're writing a synth, it's a fair bet you want to make music, so hooking into the usual system will be a plus.

Name: Anonymous 2009-12-15 13:51

>>90
Don't do this.

If you want to reuse it, make it a LADSPA plugin, but don't use Jack for a video game. It introduces complexities that many of your users will not want to put up with, and none of the benefits of using Jack are applicable to (virtually) any video game.

You want either something relatively simple or an API designed for the kinds of needs your game has (or both.)

Name: Anonymous 2009-12-15 14:06

>>91
Who said he was doing a video game? That's pretty presumptuous.

Jack is the best way to do routable audio for an application.

Name: Anonymous 2009-12-15 14:16

>>92
I assumed he was OP, who said:
I'm thinking about using a realtime FM synth for music and sound effects in my next game.

Anyway, the LADSPA (well, DSSI to be more accurate) advice still holds if he was making an instrument, even more so in fact. Jack is the very worst way to build an instrument. If you want to use your instrument with a Jack host, writing a plugin won't stop you (or even slow you down) but if you want to go the other way, writing it for Jack would make it completely impossible.

Name: Anonymous 2009-12-15 15:25

>>56,94
It was good enough for Timbaland:
http://en.wikipedia.org/wiki/Acidjazzed_evening

who can diaf btw.

Name: Anonymous 2009-12-15 16:49

>>94
faggot hipster with gameboy

Name: Anonymous 2009-12-15 17:30

Name: Anonymous 2009-12-15 17:40

Why is this thread still active?.

Name: Anonymous 2009-12-15 17:50

>>98

Because it is an interesting topic.
[m][spoiler]What the fuck man, I'm the guy who writes his periods in [code] tags, not you[/spoiler][/m]

Name: Anonymous 2009-12-15 17:51

>>98
because your gay

Name: Anonymous 2009-12-15 17:51

>>99

SELF INFLICTED BBCODE FAILURE

Name: Anonymous 2009-12-15 17:56

>>100
What about his gay?

Name: Anonymous 2009-12-15 18:00

>>98
It's not anywhere near over yet.

Name: Anonymous 2009-12-15 18:21

Name: Anonymous 2009-12-15 19:57

>>96
Gameboy music doesn't sound a damn thing like SID music.

Name: Anonymous 2009-12-15 20:20

>>104
I raged at the useless button pressing

Name: Anonymous 2009-12-16 8:09

>>102
It's happy.

Name: Anonymous 2009-12-16 15:30

>>104

What a fucking faggot.

Name: Anonymous 2009-12-19 23:26

>>108
Yeah, of course! Can't have actual diversity, now can we?
http://www.youtube.com/watch?v=XlDwkIm9hvo

Name: Anonymous 2010-03-14 23:10

>>103

Oh, how I wish this guy was right.

Name: Anonymous 2010-03-14 23:20

109 - 2009-12-19 23:26
110 - 2010-03-14 23:10

Name: Anonymous 2010-03-14 23:36

I remember this thread fondly.

Name: Anonymous 2010-03-15 0:44

I fondle this thread remembry.

Name: Anonymous 2010-03-15 0:49

Name: Anonymous 2010-03-15 16:17

I fondle my thread of a member.

Name: Anonymous 2010-06-11 5:48

Name: Anonymous 2010-06-11 9:58

>>116
Gee, it sure must feel good to respond to a three months old post, which in turn was a reply to a four months older post.

Name: Anonymous 2010-06-11 14:24

>>117
Age is a factor in contribution? I don't think this thread came to any meaningful conclusion, so I don't see why new posts shouldn't be made to it.

Name: Anonymous 2010-06-11 14:57

>>118
Normally I'd agree with you, but... you call that a contribution?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List