[ scummvm-Feature Requests-636985 ] FMTOWNS: Add YM2612 FM synth emulation
SourceForge.net
noreply at sourceforge.net
Sat Oct 4 13:15:44 CEST 2003
Feature Requests item #636985, was opened at 2002-11-12 17:07
Message generated for change (Comment added) made by khalek
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418823&aid=636985&group_id=37116
Category: None
Group: None
Status: Open
Resolution: None
Priority: 1
Submitted By: Martin (marticus)
Assigned to: Jamieson Christian (jamieson630)
Summary: FMTOWNS: Add YM2612 FM synth emulation
Initial Comment:
First, apologies if this bug is the same cause as the no looping audio; but in zak256 when you use the kazoo it just plays a blip, whereas using the fm towns emulator he plays the indy theme.
----------------------------------------------------------------------
>Comment By: Jonathan Gray (khalek)
Date: 2003-10-04 21:15
Message:
Logged In: YES
user_id=59347
oh and
http://www.smspower.org/maxim/forumstuff/ym2612/ym2612.html
which H-Clone mentioned on irc has some relevant tech details.
----------------------------------------------------------------------
Comment By: Jonathan Gray (khalek)
Date: 2003-10-04 21:12
Message:
Logged In: YES
user_id=59347
Add a relevant url so I don't have to go hunting google for
it in future when I want to find it:
http://www.dennougedougakkai-ndd.org/pub/eupplayer-win32/
An update for those not on irc, it seems that all the
genesis/mega drive emulators use the MAME code which is
under a non GPL compat license. Jamieson is looking into
the eupplayer code currently as its licensed under the GPL.
----------------------------------------------------------------------
Comment By: Jamieson Christian (jamieson630)
Date: 2003-09-17 17:15
Message:
Logged In: YES
user_id=596642
Ah, I guess I missed out on what it sounded like when it was
broken. Glad it's fixed.
The remainder of this "bug" is adding proper instrumentation
support for the Euphony music. I am moving this to the FRs
and renaming it to that effect. Now that game-critical sounds
(e.g. Loom distaff) can at least be heard, this is once again
pretty low priority.
----------------------------------------------------------------------
Comment By: Andrej Sinicyn (andrej4000)
Date: 2003-09-17 17:05
Message:
Logged In: YES
user_id=508463
Well, the "blip" seems to work properly since some months.
The sounds is heard everytime you see the machine working,
so this should be solved.
----------------------------------------------------------------------
Comment By: Jamieson Christian (jamieson630)
Date: 2003-09-17 07:14
Message:
Logged In: YES
user_id=596642
Maybe this comes way too late, but....
In response to andrej4000's post from 2002-11-24, the
problem with the 60-Hz sound from the big machine is NOT
the same as the problem with the kazoo tune. The machine
sound is a Type 0 (digital sample) resource. And it's pretty
short. Though I've not heard the sound on the original FM
Towns or an emulator, my first guess would be that on Zak
Towns, it was meant to be just a short blip instead of a
constant hum.
----------------------------------------------------------------------
Comment By: Jamieson Christian (jamieson630)
Date: 2003-09-16 22:17
Message:
Logged In: YES
user_id=596642
I've implemented a Euphony parser, per Hibernatus' notes.
Since the FM Town synth chip is not being emulated yet, the
instruments in the music tracks are not being used. Instead, a
stock Adlib (OPL2) instrument is being used for all channels.
This at least makes the music audible, which is especially
important for the Loom distaff. Instrument support, as well as
tempo/timing validation, are still pending.
----------------------------------------------------------------------
Comment By: Jonathan Gray (khalek)
Date: 2003-08-23 00:37
Message:
Logged In: YES
user_id=59347
Just a note that the YM2612 was used for FM synth on the
Sega megadrive/genesis so there should be quite a bunch of
code to pick from under a range of licenses, assuming they
aren't all pinching it off MAME :)
----------------------------------------------------------------------
Comment By: Jonathan Gray (khalek)
Date: 2003-08-18 20:49
Message:
Logged In: YES
user_id=59347
Euphony tunes are also used for the notes on the distaff in
loom, possibly other places in the game. Only looked at the
very start so far.
----------------------------------------------------------------------
Comment By: Jamieson Christian (jamieson630)
Date: 2003-08-10 01:25
Message:
Logged In: YES
user_id=596642
I have to find another decent window in which to sit down
and look at this. But my first impression, looking through the
Euphony player code in the link, is that it requires that we
include a second FM chipset emulator in order to generate
proper sound output. That's not something I intend to just
slam into ScummVM in an hour or two. Since we're talking
about a 6-note, 2-second ditty, this will be pretty low on the
TODO list.
----------------------------------------------------------------------
Comment By: Thomas Combeleran (hibernatus)
Date: 2003-07-18 15:21
Message:
Logged In: YES
user_id=750069
other examples:
sound 29 40 54 and 66 in Indy3 FM Towns.
but nobody has it anyway :/
----------------------------------------------------------------------
Comment By: James Brown (ender)
Date: 2003-07-04 23:00
Message:
Logged In: YES
user_id=2715
Jamieson, please let me know if you are able to look at
this - as your really the only sound person we have at the
moment. :)
Hibernatus has pretty much worked everything out, so it
shouldn't be too much work.
----------------------------------------------------------------------
Comment By: Thomas Combeleran (hibernatus)
Date: 2003-06-27 06:07
Message:
Logged In: YES
user_id=750069
I wrote a few notes about the kazoo tune format.
http://hibernatus34.free.fr/pv/kazoo_tune.txt
Not much, but anyway, i've just found the name of the format
(Euphony) and there's no need for RE anymore.
Thanks to google, here is a link to the sources of a program
which can read Euphony files:
http://www.purose.net/befis/download/lib/eupplay.lzh
Here is a rough conversion of the SO block into an EUP file:
http://hibernatus34.free.fr/pv/kazoo.eup
http://hibernatus34.free.fr/pv/kazoo.fmb
FMB files contain FM sounds (for the YM2612). You can find
YM2612 emulators on the web. Example:
http://www.squish.net/cgi-
bin/cvsweb.cgi/generator/ym2612/fm.c?rev=1.4&content-
type=text/x-cvsweb-markup
PMB files contain PCM sounds (for the RF5C68). And i think
it's what is used for sound effects in fm towns scumm games.
There is just one instrument and no music in the SO block.
EUP files and player: http://www.bea.hi-ho.ne.jp/gaku-
iwa/eup/
----------------------------------------------------------------------
Comment By: Ferdinant Hauser (desperatecry)
Date: 2003-06-11 11:05
Message:
Logged In: YES
user_id=798484
The kaazoo sound is not an audio-track!
using the UNZ-fmtowns-emulator you will recognize, that it is
defenitely a MIDI-sound or something like that.
Greetings,
Ferdi
----------------------------------------------------------------------
Comment By: Thomas Combeleran (hibernatus)
Date: 2003-06-09 01:51
Message:
Logged In: YES
user_id=750069
No, that track is for the indy3 demo on the same CD.
----------------------------------------------------------------------
Comment By: Thomas Combeleran (hibernatus)
Date: 2003-06-09 01:14
Message:
Logged In: YES
user_id=750069
No, that track is for the indy3 demo on the same CD.
----------------------------------------------------------------------
Comment By: Tobias Hellgren (thanius)
Date: 2003-06-08 09:55
Message:
Logged In: YES
user_id=627916
That blip should stop the backgroundmusic and play the
Indy-tune (also an audiotrack), but it doesn't. Btw, if it's
any help, the Indy-tune is track 22 on the CD.
----------------------------------------------------------------------
Comment By: Thomas Combeleran (hibernatus)
Date: 2003-05-25 16:42
Message:
Logged In: YES
user_id=750069
At 0xD (from the start of the SO block), there is the type of
sound (a byte).
0 is for sound effects
1 is for musics
2 is for CD tracks
You should test that instead of the size of the block to know
what is a CD track. And also you'll be able to ignore the
kazoo tune until you understand the format.
----------------------------------------------------------------------
Comment By: Tobias Hellgren (thanius)
Date: 2002-12-16 11:07
Message:
Logged In: YES
user_id=627916
The kazoo-sound is not on an audiotrack, I've checked them
all out. There's a cool orchestrated Indy-theme there,
though. Too bad that they've changed the kazoo-tune from
"Pop goes the weasel". ;(
----------------------------------------------------------------------
Comment By: Andrej Sinicyn (andrej4000)
Date: 2002-11-25 03:15
Message:
Logged In: YES
user_id=508463
You were right!
This sound is stored in the LFL-Files and isn't played.
The same problem is e.g. with the souind of the alien 60-Hz-
Machine.
----------------------------------------------------------------------
Comment By: Martin (marticus)
Date: 2002-11-16 12:17
Message:
Logged In: YES
user_id=608373
Yes but I played it on the FM-Towns emulator and heard the sound there.
----------------------------------------------------------------------
Comment By: Andrej Sinicyn (andrej4000)
Date: 2002-11-15 23:27
Message:
Logged In: YES
user_id=508463
So of course you can't hear the sound...
That's not a bug. This thread can be closed...
----------------------------------------------------------------------
Comment By: Martin (marticus)
Date: 2002-11-14 15:01
Message:
Logged In: YES
user_id=608373
No, because when I had the ISO for the FM-Towns emulator it was only 4 meg and no audio tracks.
----------------------------------------------------------------------
Comment By: Andrej Sinicyn (andrej4000)
Date: 2002-11-14 07:38
Message:
Logged In: YES
user_id=508463
Hm... I think the kazoo-sound is stored as an audio-track.
If you don't have it, you can't hear it.
If I'm right, this thread can be colsed.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418823&aid=636985&group_id=37116
More information about the Scummvm-tracker
mailing list