Mod Archive Forums Mod Archive Forums
Advanced search  

News:

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

Pages: [1] 2 3   Go Down

Author Topic: PeePeePlayer - old-fashioned S3M player  (Read 35272 times)

0 Members and 1 Guest are viewing this topic.

Sto

  • New User
  • Offline Offline
  • Posts: 20
    • View Profile
    • Github
PeePeePlayer - old-fashioned S3M player
« on: March 11, 2011, 04:20:50 »

Hi there!

I'd like to present you my now 2-years old project called "PeePeePlayer" (I hadn't any name, so I decided it to call it like my initial project folder was named: /ppplayer).

It aims to look like good old DOS, but with modern algorithms/code under the hood. It currently plays only s3m modules, but I have spent much time to reproduce screamtracker behaviour of the effects (please compare "Satellite One" by "Purple Motion" with other players), and at the moment it seems that I've got the most "original" sounding player for those modules.

Basic loading code exists for XM modules, but there are still a few things I have to do on the GUI (mostly performance). Please give it a try.

Code: http://peepeeplayer.sourceforge.net

Comments are welcome!
-- Sto
« Last Edit: November 20, 2011, 16:39:52 by Sto »
Logged

raina

  • Milkytracker Moderator
  • Great Poster
  • ***
  • Offline Offline
  • Posts: 719
    • View Profile
    • raina.kapsi.fi
Re: PeePeePlayer - old-fashioned S3M player
« Reply #1 on: March 11, 2011, 07:55:44 »

Holy... that looks cute. :) Only tried without sound so far, though. A new S3M player is a bit unexpected in 2011 and while it seems you're already starting on the rocky XM path, tell me this: Are there any plans to support Adlib channels in S3Ms? Maybe via DOSBox or MAME's OPL emulators? Because that's what I think modern players could really use.

Sto

  • New User
  • Offline Offline
  • Posts: 20
    • View Profile
    • Github
Re: PeePeePlayer - old-fashioned S3M player
« Reply #2 on: March 11, 2011, 08:01:49 »

There are still plans to add OPL3/FM emulation to the player, but unfortunately I have absolutely _nothing_ to check if the emulation is right. I have only found one module that actually used these instruments, but the problem is that it sounded different on every emulator I tested, and the oldest PC I still have has an ESS Maestro which I cannot replace (it's a laptop).

So... plans are not dead, but they're on the bottom of the todo-list.
Logged

Saga Musix

  • TMA Moderator
  • Top Poster
  • ****
  • Offline Offline
  • Posts: 2571
  • I love OpenMPT! And Modules! And TMA! And Pie! :>
    • View Profile
    • Saga Musix - free module music and more!
Re: PeePeePlayer - old-fashioned S3M player
« Reply #3 on: March 11, 2011, 09:33:25 »

I have only found one module that actually used these instruments
Only one?
SchismTracker has (still kinda unstable) support for Adlib S3Ms, so you could take a look there as well if you don't know how to do things.
Logged
» My TMA artist profile
» Visit my music site: https://sagamusix.de/ [de, en]
» Visit my programming website: https://sagagames.de/ [de]
» Open ModPlug Tracker

Sto

  • New User
  • Offline Offline
  • Posts: 20
    • View Profile
    • Github
Re: PeePeePlayer - old-fashioned S3M player
« Reply #4 on: March 11, 2011, 09:42:10 »

I actually looked there some time ago, but I got really confused, and the loaded module sounded absolutely wrong (though I don't know how it would sound right...). I have found the YMF262 docs yet, and I am taking another look at it. I think I'm going to write an emulator from scratch.

// EDIT: And there were some code quality issues, mostly maintainability that made me refusing the sources I found.

// EDIT 2: I have achieved very valueable information about the OPL2 now (thanks Google!), and I am now - at least in theory - able to build a accurate emulator.
« Last Edit: March 14, 2011, 20:21:06 by Syron »
Logged

Sto

  • New User
  • Offline Offline
  • Posts: 20
    • View Profile
    • Github
Re: PeePeePlayer - old-fashioned S3M player
« Reply #5 on: March 15, 2011, 20:41:39 »

Sorry for double posting, but I need some (mathematical) help. I have written the OPL phase generator code now, but I cannot figure out why my code produces a sine wave with an amplitude of 64 while the volume (0..63) is set to 0.
The octave code I am using is here: http://pastebin.com/rbqKRyms - you may run it directly and see what I mean.
Thanks if anyone can give me a hint.

// EDIT: forgot to mention https://docs.google.com/Doc?id=dd8kqn9f_13cqjkf4gp
« Last Edit: March 15, 2011, 20:46:36 by Syron »
Logged

Sto

  • New User
  • Offline Offline
  • Posts: 20
    • View Profile
    • Github
Re: PeePeePlayer - old-fashioned S3M player
« Reply #6 on: June 13, 2011, 13:52:41 »

Shame on me for triple-posting :-[ but I got some news and a request.

First, I got XM support that seems to work well but is still missing some features/effects.

Second: I need testers for the XM support, because when I merge the xm branch I'd like to announce PeePeePlayer 0.1.2-beta, and I need bug testers to get rid of the most annoying bugs before that.

Grab the sources here (remember: use branch "xm").

Thanks in advance,
-- Sto
// edit: merged into master:
« Last Edit: November 20, 2011, 16:40:43 by Sto »
Logged

Sto

  • New User
  • Offline Offline
  • Posts: 20
    • View Profile
    • Github
Re: PeePeePlayer - old-fashioned S3M player
« Reply #7 on: July 27, 2012, 18:00:17 »

After a many hours of work I'd like to make a stress test: can anybody recommend an XM module that only plays well in FT2? The reason is that I have rewritten nearly the whole XM logic since the last time I posted and it seems to be quite good now, but I'd like to also test the corner cases. So far I have only found Kingdom Skies from JaseChong that got me into trouble :)

Thanks in advance,
-- Sto
Logged

Saga Musix

  • TMA Moderator
  • Top Poster
  • ****
  • Offline Offline
  • Posts: 2571
  • I love OpenMPT! And Modules! And TMA! And Pie! :>
    • View Profile
    • Saga Musix - free module music and more!
Re: PeePeePlayer - old-fashioned S3M player
« Reply #8 on: July 27, 2012, 18:27:42 »

Although many of my tracker test cases were written with bugs in OpenMPT in mind, they are maybe useful for verifying the correctness of your own player.
Compared to an actual composition they have the advantage that it's easy to determine whether they are played back correctly or not.
Logged
» My TMA artist profile
» Visit my music site: https://sagamusix.de/ [de, en]
» Visit my programming website: https://sagagames.de/ [de]
» Open ModPlug Tracker

Sto

  • New User
  • Offline Offline
  • Posts: 20
    • View Profile
    • Github
Re: PeePeePlayer - old-fashioned S3M player
« Reply #9 on: July 27, 2012, 18:48:51 »

Thanks, I remember visiting that page ages ago, unfortunately I forgot it :rolleyes:
Logged
Pages: [1] 2 3   Go Up