It will be the best MSX-MUSIC/MSX-AUDIO/MoonSound tracker ! :)

No more need of MB 1.4 still not declared freeware ... but maybe your future release will make the things different on this matter !

Benoît

----- Original Message ----- From: "Patriek Lesparre" <msxl...@xs4all.nl>
To: <msx@stack.nl>
Sent: Monday, September 28, 2009 6:13 PM
Subject: [MSX] MoonSound sample playing (was Re: VSU NEW´S !!!!!!!!!)


msxfi...@icongames.com.br wrote:
BTW: I looked (quickly) around and found almost nothing on how to play a
sample on OPL4/Moonsound. Does anyone have any pointers for me? Note that
I don't need a "how to use" for any replayer, just how to play "one sound
fx" ;)

OPL4 does not have a special function for playing "one sound fx". So you will have to follow the same procedure as for wavetable instruments, although you can skip a bit of Z80 processing due to the absence of an actual wavetable.

1. Fill an available wave header with Start address, End offset, Loop Offset, sample type (8, 12 or 16 bit) and ADSR parameters.
2. Write the sample data
3. Select an available channel to play it on, write the wave number, volume, frequency 0, octave 1
4. every time you want to play it, write KEY ON bit :)

I think this is the minimum work required. 22050Hz samples are octave 0, 11025Hz samples octave -1, etc..

Currently I'm working on a MoonSound tracker that already fully supports FM and WAVE channels in selectable configurations. In the (hopefully near) future it will have internal support for simple and advanced sound effects.

This tracker had been announced on the TNI projects page ( http://www.tni.nl/projects.html ) since ~2005, but recently a lot of progress on this has been made and the program has been demonstrated at dutch MSX club meetings.

I also want to add compatibility for MSX-MUSIC and MSX-AUDIO :)

Greetz,

Patriek
_______________________________________________
MSX mailing list (msx@stack.nl)
Info page: http://lists.stack.nl/mailman/listinfo/msx

_______________________________________________
MSX mailing list (msx@stack.nl)
Info page: http://lists.stack.nl/mailman/listinfo/msx

Reply via email to