pouët.net

Music defined so that a programmer understands it

category: music [glöplog]
How much effort would be needed to port MML to a new (custom) architecture?
added on the 2010-06-25 23:30:16 by trc_wm trc_wm
It depends totally on what features you want to support. There's no real standard for MML - you can add whatever new syntax you like for your target, just like I did for the YM2612 for example.
For a simple chip that plays square waves and white noise it's not that much work to write the playback driver. Most of the work lies in writing the compiler, if you want to write your own that is.
added on the 2010-06-25 23:38:54 by mic mic
Well, time for some inside info here.
I'll let you know that Prisma Teknik does sample playback on an AVR using the PWM outputs. At breakpoint 2008 lft also showed in craft that it was possible to emulate the NES sound system in realtime on an AVR.
You have plenty of power for sound output there. It's all just a matter of what you want to do with it.
I already have an AVR connected to a piezo-electric buzzer here so feel free to release whatever you make so that I can try it out :)
added on the 2010-06-26 01:45:03 by bore bore
Quote:
At breakpoint 2008 lft also showed in craft that it was possible to emulate the NES sound system in realtime on an AVR.

Except that it didn't actually emulate the NES APU :T
Going by his description, his softsynth did for example not have a DPCM channel, all of the square duty cycles or the envelope generator available on the 2A03. Like he said himself, the 2A03 was just an inspiration for his synth.
added on the 2010-06-26 10:33:02 by mic mic
I was browsing the microcontroller section of http://www.conrad.nl yesterday (also available in .de) and I saw that they now sell Atmel ARM7 cores for as little as 7 euro's. Those things run much faster than an AVR, are 32-bit and even have USB (except for the 48-pin 32K flash version) !

Also, www.olimex.com are offering very cheap ARM Cortex M3 dev kits based on NXP's LPC series that could also be interesting for hardware/sound experiments.

I thought that was worth mentioning here...
added on the 2010-06-26 13:06:01 by trc_wm trc_wm

login