Mod Archive Forums Mod Archive Forums
Advanced search  


Please note: Your main account will not work here, you must create a forum account to post on the forums.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - zzo38

Pages: [1]
All of these instrument file I made up by myself; all are public domain and include the source-codes (which are much smaller than the instrument files they produce). They can be used with any program that can load .XI instruments.


I have used this shell script for testing:
Code: [Select]
#!/bin/bash --
( echo $'#EXTENDED\n@0="'$1.xi\" ; awk 'x+=/^#T/' < $0 ) | amigamml | playmod c=1 f=44100 b=16 v=140 | aplay -t raw -f S16_LE -r 44100
#TEMPO 100
A v64@0o4l1 cfgc'<gck2

You can tell me if you like it or hate it or whatever else. You are free to modify them too if you want to.

Can a C program written for Linux that is currently using libmodplug be made to use the playback routines from OpenMPT? Specifically my "playmod" program

Look what I made! / Joy to the World
« on: December 05, 2015, 10:09:07 »
This is not a MOD/XM format but is instead made with Csound (but, they said any music format can be acceptable). It is the "Joy to the World" music, I made in 2012 but didn't post it until now. The music is in Vorbis format; the source-codes is available too, in case you want to see how it works or to modify it. Choir and echo instruments are made by PADsynth (the bells are FM).

The Lobby / How to improve the CSS of the forum
« on: August 15, 2015, 05:31:27 »
This is the CSS code for use with Firefox "Stylish" extension in order to make improve of the CSS of the forum. A lot of more thing can fit on the screen at once now.

Code: [Select]
@namespace url(;

@-moz-document url-prefix("") {
  .container {
    width: auto;
    max-width: 100%;
  .nav {
    margin-bottom: auto !important;
    margin-top: auto !important;
  #bodyarea {
    margin-left: auto;
    margin-right: auto;
  table {
    max-width: 100%;
  .bordercolor {
    background-color: #000000;
    border: 1px solid #000000;
  .windowbg {
    background-color: #A5BFA6;
  .windowbg2 {
    background-color: #91C0C0;
  .windowbg3 {
    background-color: #B7BFA5;
  a:link {
    color: #0009C3;
  .middletext {
    font-size: inherit;
  .hugetext, a.hugetext:link, a.hugetext:visited {
    font: bold 14px sans-serif;
    color: #860000;
  .hugetext {
    font: bold 14px sans-serif;
  img[alt="Home"] {
    display: none;
  .mainbg {
    padding-right: 0px;
  .titlebg {
    font-weight: normal;
  #upshrinkHeader td {
    padding: 0px !important;
  a[href$="#new"] + .smalltext > br {
    display: none;
  a[onclick^="surroundText"] {
    display: none;
  a[onclick^="replaceText"] {
    display: none;
  img[alt="|"] {
    display: none;
  select[onchange^="surroundText"] {
    display: none;
  select[onchange^="surroundText"] + br {
    display: none;

PC Players / playmod - UNIX-filter-type player for Linux
« on: July 22, 2015, 06:29:13 »
The program called playmod which takes a file from stdin and writes raw audio data to stdout, using libmodplug (OpenMPT would be better but I don't see that in the package manager). All exposed functions of libmodplug can be used (except for the experimental exporting features).

Download (source codes and man page):

Please write on here in case you have any question/answer/comment/complaint.

Remember: Make every program a filter!

(PS: Although it says "PC (Windows, Linux)", Linux can run not only on a PC but also on computers other than a PC as well; however I have not tested this program on non-PC computers, nor on non-Linux UNIX systems.)

List of some features:
* Listen to music
* Set how many times to repeat (including infinite)
* Seek to position; a few different ways of doing so are supported
* Export patterns in text or binary format
* View song message, sample names, instrument names, song title
* View some numeric data related to song
* Mono or stereo output
* Solo channel mode
* Solo instrument mode
* Many file formats are supported
* Input can come from any file/pipe (e.g. amigamml, curl)
* Output can go to any file/pipe (e.g. aplay, sox, nc)
* Internal global effects (optional): oversampling, noise reduction, reverb, bass boost, surround

Project / Coder's Corner / XM optimization and playback
« on: May 26, 2015, 09:56:31 »
I now try to write program that can optimize XM file and another program that can render XM file, both as filter-type command-line programs. (I have partially written xmopt already, but hardly any part of xmrender so far)

For rendering, I did look at LibXM codes (although mine would be a standalone program instead), so it might help, but that might not be perfect either; I can look at other codes too (such as OpenMPT), and documentations, and replies on here.

For optimizations I have many idea such as to figure out how much of each sample is actually played (and truncate the samples if they are too long, or if it ends with silence), and to trace the rows that are executed to do some other optimizations too, so it would unroll and then reroll loops. Duplicate samples and duplicate instruments can also be put together. Default volumes can be set up. Unused channels can be deleted. There are others. I don't quite know perfectly though; replies on here might help a bit too.

I mean you can pipe like this (although you could use it with any XM file; it doesn't have to be one made with AmigaMML):
Code: [Select]
amigamml < song.mml | xmopt > song.xm

Sampling / PADsynth
« on: June 24, 2014, 06:08:23 »
One way to create samples is to use the PADsynth algorithm. It is simple; here it is:
  • Get input parameters, which are the amplitudes, bandwidths, and centers of a number of Gaussian distributions.
  • Add together the generated Gaussian distributions to fill in the amplitude table.
  • Fill the phase table with random data.
  • Perform an inverse Fourier transform.

The result is a high quality perfectly looped sample.

A few programs implement it; one is AmigaMML.

Tracking / Integrated SQL+MML+tracker?
« on: June 21, 2014, 22:35:57 »
OpenMPT (and probably other programs) expect that you aren't editing the file with other programs. I use OpenMPT for playing and examining music, not for editing/writing it.

For writing music I prefer MML (and wrote a program for MML specifically into .MOD and .XM formats).

For editing existing files, I think SQL would help. You shouldn't need all of these search/replace/cleanup/query menu; just using SQL is working much better, I think!

What else can help is after you push compile MML key, it will immediately compile it and then the cursor movement (and selection) in MML and tracker grid will correspond to each other as long as neither is edited in place (and allow the MML also to be edited externally, in a separate process)

Another feature I would like to be able to use with it is OPL2 emulation (usable with S3M, and perhaps an extended UNIMOD format).

I also hate VST, but that doesn't really have anything to do with this; I don't have to use it!

As far as I know, no such software exists. Do you know if there is any?

Feedback & Suggestions / Fix the WAP2 forum mode
« on: June 21, 2014, 09:24:43 »
This "wap2" mode is pretty good designed, but, all the text area to type in is too small, and there are too few shortcut keys defined. Also, using * and # as shortcut keys not so good.

Can you please fix these thing to make improve?

Full mode contain too many thing; this one very clean and simple and sensible.

Pages: [1]