Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411511 Posts in 69375 Topics- by 58430 Members - Latest Member: Jesse Webb

April 26, 2024, 12:26:32 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperTechnical (Moderator: ThemsAllTook)Music Macro Languages!
Pages: [1]
Print
Author Topic: Music Macro Languages!  (Read 2673 times)
Noyemi K
Level 0
***


[ * ] - we are all so hapy


View Profile WWW
« on: February 02, 2016, 04:43:26 AM »

Hey people! A lot of people have asked me elsewhere about help and resources on MML (Music Macro Languages) for creating chiptunes, particularly as a friendly and useful alternative to trackers and, if you're dedicated, the only way to get hardware-ready sound on some less ubiquitous chips (such as the really nice ones used in Japanese PCs and arcade machines in the 80s and early 90s).

So, I'm here to answer any questions you have about working with MMLs, or you can talk about them or tell me about some other ones as well!

I'm familiar with:
+the MCK family (multi-chip)
+SiON (multi-chip but not hardware-targeted or compiled)
+NRTDRV (Sharp X1 FM boards)
+PMD (multi-FM chip for Japanese PCs)
+KOLIN2 (Akikaz & Takeshi Abo's MML for PC-98 with OPNA FM boards)

KOLIN2, PMD, and NRTDRV do not currently have English documentation so much of the information that exists for PMD in English was written by me, including a quick-start guide for getting ready to compile and a work-in-progress English version of the PMD guide with newbie-friendly instructions on every aspect and not just a commands list. KOLIN2 is not currently usable with windows because of its relative obscurity even in Japanese circles, but I am considering looking further into it to get some tools made for people who wish to use that over PMD. But who knows, right?

I have a guide specifically for PMD MML up on my website!
« Last Edit: April 24, 2016, 08:51:34 PM by Noyemi K » Logged
Oats
Level 1
*


High starch content.


View Profile
« Reply #1 on: February 10, 2016, 01:19:31 AM »

I didn't know what MML was so I went on a googling spree, it seems really cool, I'm glad I found this cause now I can start learning music stuff without leaving my computer! For a while I thought I might have to go into the real world  No No NO. (or try an intimidating/expensive synthesiser)

Are MML still in common use? The wiki page only mentioned it being used on legacy machines and the link you dropped only seems to cover compiling files for use on hardware. Is there any way to learn this on a modern machine without resorting to emulators? The wiki mentioned something called mml2mp3 which from context sounded like an online mml thing, but googling it only came up with a lot of tweets in Japanese. Do you know any modern resources for running mml or converting them to .wav or .mp3 or whatever? (I don't think I'd be picky which mml language)
Logged

eh
Noyemi K
Level 0
***


[ * ] - we are all so hapy


View Profile WWW
« Reply #2 on: February 10, 2016, 08:52:21 AM »

Unfortunately, the only place it really has even marginal popularity is in Japan. In the west they preferred the tracker format to MMLs, so they never evolved here.

I think I'm one of the only people who can really help you out with it, so ask away! There's a format called SiON which is powered by flash. You can use it in a browser on the VisualMML site. It doesn't output hardware-ready formats at all, but it does export WAV files and emulates multiple chips.
Logged
Oats
Level 1
*


High starch content.


View Profile
« Reply #3 on: February 10, 2016, 09:54:55 PM »

holy shit the visualMML thing is really fun, and surprisingly easy to make things sound good, even with someone like me who has absolutely no idea about music. I think I will play around with it in my next project, thank you for sharing this.
Logged

eh
Comptroller
Level 0
*



View Profile WWW
« Reply #4 on: February 26, 2016, 08:44:48 AM »

Registering my interest!  Smiley  I'm particularly keen on learning more about writing for OPNA / YM2608.

That quick start guide is really helpful, thanks. Is your work-in-progress PMD guide available anywhere online? I've done some MML work before, but I expect there are particular differences for PMD.
Logged
Noyemi K
Level 0
***


[ * ] - we are all so hapy


View Profile WWW
« Reply #5 on: February 26, 2016, 08:49:21 AM »

Not yet, but I think I'll put up a repository with some choice MML files and my guide as a WIP. At least, after I'm finished with enough of it for people to get up and running.
Logged
Noyemi K
Level 0
***


[ * ] - we are all so hapy


View Profile WWW
« Reply #6 on: February 27, 2016, 07:57:25 AM »

I've finished the first section of my PMD guide! It's everything you need to know to get started writing a basic PMD program.
Logged
Sik
Level 10
*****


View Profile WWW
« Reply #7 on: February 27, 2016, 11:53:51 AM »

Huh wow, it took me a while to realize that "SSG channels" was actually referring to the AY-like channels (I was thinking on the "SSG-EG" register that each FM operator has)
Logged
Jon
Level 0
**



View Profile WWW
« Reply #8 on: February 27, 2016, 11:29:04 PM »

Awesome! Definitely following this thread. Side question: how different are MMLs from trackers, and why do you prefer one over the other?
Logged

Noyemi K
Level 0
***


[ * ] - we are all so hapy


View Profile WWW
« Reply #9 on: February 27, 2016, 11:38:28 PM »

MMLs involve directly programming the sound, still "computer-y" but it's a different way to represent a score sheet and combine that kind of viewpoint with programming.

I prefer MML to trackers because I could never actually get into using trackers. I can do stuff with them, but I vastly prefer MML as it's easier for me to edit or change large parts of a song and I don't have to deal with memorizing keyboard layout. It's all code, so any IDE you like can be used to write MML.

For those less technically inclined, trackers are a good way to do some hardware-ready stuff, but generally only for very popular or well-known systems to the West, as they're distinctly a western phenomenon.
Logged
Comptroller
Level 0
*



View Profile WWW
« Reply #10 on: February 28, 2016, 10:18:45 AM »

I've finished the first section of my PMD guide! It's everything you need to know to get started writing a basic PMD program.

Excellent, thanks for this!  Hand Thumbs Up Right

Found some sample PMD MML files too, so that's enough to get started with. I look forward to rest of the guide appearing!
Logged
Noyemi K
Level 0
***


[ * ] - we are all so hapy


View Profile WWW
« Reply #11 on: February 29, 2016, 10:25:40 PM »

I'll be re-hosting the guide with some samples of my own MMLs at some point, but I need to make sure I cover some basic tone data and envelope programming in the guide since that's 90% of the work that isn't spent scoring.
Logged
Noyemi K
Level 0
***


[ * ] - we are all so hapy


View Profile WWW
« Reply #12 on: April 20, 2016, 09:00:24 AM »

I've added a new section on programming the SSG channels! Later, I'll add FM tone creation to the guide (but it will assume that you've dabbled in FM before—I don't really have the kind of space here to make a big FM guide)
Logged
Comptroller
Level 0
*



View Profile WWW
« Reply #13 on: April 21, 2016, 07:22:03 AM »

I've added a new section on programming the SSG channels! Later, I'll add FM tone creation to the guide (but it will assume that you've dabbled in FM before—I don't really have the kind of space here to make a big FM guide)

Glad you're still working on this! Smiley Very helpful, thanks.
Logged
Noyemi K
Level 0
***


[ * ] - we are all so hapy


View Profile WWW
« Reply #14 on: April 27, 2016, 05:21:34 AM »

I now have a repository for some of my KOLIN2 work. Documentation of the KOLIN2 driver will follow soon, but you can follow along with the example MMLs to see how the driver works if you'd like!
Logged
Noyemi K
Level 0
***


[ * ] - we are all so hapy


View Profile WWW
« Reply #15 on: October 22, 2016, 09:52:20 PM »

I have updated my PMD guide to include basic FM patch programming! It's probably what you've all been waiting for, since that's the bulk of most OPN series chips and the knowledge is transferrable to other FM sound generators.
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic