VOGONS


First post, by DracoNihil

User metadata
Rank Oldbie
Rank
Oldbie

Is there any available way to compile AdPlug as a terminal program like uade123 and openmpt123 so I can listen to everything AdPlug plays within a terminal? The adplug in audcaious doesn't sound right and has no configuration options... (for whatever dumb reason)

EDIT: Better question even, how do I compile this thing to use dosbox's FM emulator rather than MAME's?

“I am the dragon without a name…”
― Κυνικός Δράκων

Reply 1 of 7, by Jepael

User metadata
Rank Oldbie
Rank
Oldbie

Did you check the AdPlug website for AdPlay which should be exactly what you are looking for. While I am somewhat familiar with AdPlug and DosBox OPL emulation code, I can only say compiling AdPlug with DosBox OPL emulator is doable but it's out of scope of a simple forum post to say how to do it or how big of a task it is.

You might also want to take a look at Sto's PPPlayer which should be a command-line player and it includes AdPlug playing code with a custom chip emulator based on reverse engineering.

Yes for some reason Audacious plug-ins (or their interface) is changed in some way that most of them are not configurable. My old laptop still has the options, but it is running Ubuntu 10.10 maybe. I think AdPlug Audacious will only sound correct when you forcibly change the AdPlug emulation sampling rate to 49716, otherwise it outputs the generated samples at wrong speed so it is out of tune and tempo. But if that does not help then sometimes it's not the OPL emulation core but the music playing code that plays something wrong. For example each game plays MIDI with its own routines but AdPlug has one common MIDI playing routine for all MIDI compatible formats.

Reply 2 of 7, by DracoNihil

User metadata
Rank Oldbie
Rank
Oldbie

Some time ago when I was using Audacious, I noticed configuration files in the .audacious or whatever home directory which contained options that STILL had a effect on the plugins, even though the configure menu is grayed out. I don't have these files anymore so I'm not sure how to force configure the plugins, hence why I'm trying to find terminal alternatives since I can specify what I want through command line at that point.

Could you provide a link to this "PPPlayer"? Google isn't turning up any results for me...

“I am the dragon without a name…”
― Κυνικός Δράκων

Reply 4 of 7, by Stiletto

User metadata
Rank l33t++
Rank
l33t++
Jepael wrote:

It seems I mistype the name, and sorry it took so long to answer.

http://sourceforge.net/projects/peepeeplayer/

Wow, that's classy. 😉

"I see a little silhouette-o of a man, Scaramouche, Scaramouche, will you
do the Fandango!" - Queen

Stiletto

Reply 5 of 7, by DracoNihil

User metadata
Rank Oldbie
Rank
Oldbie

Tried PPPlayer out, while I like the player interface the audio quality isn't good to my ears. Though it is really useful playing .HSC files, letting me see the notes and rows go by.

Guess I'm going to need to pickup some books on C\C++ programming.

“I am the dragon without a name…”
― Κυνικός Δράκων

Reply 6 of 7, by Jepael

User metadata
Rank Oldbie
Rank
Oldbie

Well good that you liked the interface, but now I am very curious about why you did not like the audio quality.

Can you say why it does not sound good for you? Can you give an example file to play and compare with some other emulator or real chip? Have you tried to play different file formats?
Is it more the OPL chip emulation routines (custom written, tries to be bit-perfect with the chip), or just the music playing routines (most OPL formats from AdPlug, not all are that perfect)?

I have to confess I haven't actually tried PPPlayer myself, but I can do some groundwork testing first and suggest any improvements onwards (I've been in contact with the author before about chip emulation).

Reply 7 of 7, by DracoNihil

User metadata
Rank Oldbie
Rank
Oldbie

The OPL emulation routine sounds way too harsh, not like I remember from a old Soundblaster 2.0. The HSC player seems to act weird with some of the instruments and "effects" it does.

Could be sampling rate issues but getting your sample rate you want in Linux is a pain in the ass. Thanks PulseAudio devs!

“I am the dragon without a name…”
― Κυνικός Δράκων