Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (495)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 2 [3]
  ignore  |  Print  
  Java MOD/XM Playback  (Read 24453 times)
0 Members and 1 Guest are viewing this topic.
Offline sunet2000

Senior Newbie




I want my mumart account back!


« Reply #60 - Posted 2006-06-15 13:43:11 »

How annoying, the native alBufferData() function does require you to specify the byte-ordering, but that isn't exposed. That change would break the Javasound player , Kev, unless you also do a nativeOrder() check in the player application when setting up the AudioFormat.

Rather than checking the byte-ordering twice, I think the neatest change is to add a boolean to the IBXM get_audio() method to specify the byte-ordering., then do the byte-ordering detection in the wrapper.

So much for hiding platform differences!
Offline kevglass

JGO Kernel


Medals: 164
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #61 - Posted 2006-06-15 14:20:07 »

Well, I suppose is Java Sound was to need the input switched on MacOS then there could be a default get_audio() which used the platform native ordering. I mean there'd still be cases where you'd want specific ordering anyway - streaming audio from a server for instance.

Kev

Offline sunet2000

Senior Newbie




I want my mumart account back!


« Reply #62 - Posted 2006-06-16 19:33:27 »

In Javasound you specify the endian-ness when you open the device. I suppose it's possible an implementation might throw a FormatUnsupportedException, but the default Windows Javasound implementation is happy with both. There might not even be a byte-swapping overhead, since WAV is always little-endian, and CDDA is always big-endian the hardware could well support both natively.

It's a fair bet that opening the device using the system endian-ness is a good choice, though.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline sunet2000

Senior Newbie




I want my mumart account back!


« Reply #63 - Posted 2007-07-08 12:24:32 »

What is it with me and old trackers? I don't want to think about how much of my free time gets spent on this sort of thing! I love the sound, but I also like the technology (I didn't say it was good technology, it's awful Smiley

I've been meaning to clean up the S3M support in IBXM for a while, as it's a mess. S3M and XM are substantially different, and it's quite complicated converting between the two. I eventually decided to write a simple-as-possible S3M only player. It's not quite as small and simple as I hoped, but that's S3M for you. I did a version of Micromod based on the design, aswell, which is now the smallest and simplest (I didn't say it was simple...) ever!

http://geocities.com/sunet2000/micromod2007/Micromod.java
http://geocities.com/sunet2000/micromod2007/Micros3m.java

Both have high quality mixing should match IBXM in sound quality. Let me know if you find any bugs. I suspect you might.

Just to keep things relevant, if you can get the latency low enough (I'm still working on that) you can use either one of these to provide in-game special effects, with or without music. I do intend to write a small game at some point (no, really).

Cheers,
Martin
Offline quippy

Innocent Bystander





« Reply #64 - Posted 2007-08-08 16:27:24 »

Sorry, I do not want to interrupt this thread but maybe anyone would like to try this java mod player as well:
   www.quippy.de/mod.html
or to download directly
   http://www.quippy.de/modplayer/javamod.jar

The sources are downloadable as well. Currently I am working on IT-Mods. XM, MOD, STM, S3M and WOW is already supported.

The project is supposed to demonstrate the capabilities of java in rendering music "just in time" - not to show what you can do with SWING. The user interface needs some update.

And sorry, the page is yet only german - I am working on that, too

 Wink
Offline dcbevins

Innocent Bystander





« Reply #65 - Posted 2007-09-28 04:44:03 »

Greetings,

You have a terrific little application.  I get a kick out of these tracker files.  I have hundreds on my disk!  I like the unique sound with a techno slant.  I ran across your applet located at http://geocities.com/sunet2000/kbapplet

I have an interest in this as a hobby, and would like to use the applet to playback files via a web site.  Does the liscensing allow me to use the app in this manner? 

Also, how can I via the applet start and stop playback, and prevent autostart? 

Good luck with your project.  I am looking forward to seeing your work.  Support of new file types must be a mess given the jungle of formats trackers use.  You must like squinting at code.

Best regards,


dcbevins
Pages: 1 2 [3]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Dwinin (29 views)
2014-09-12 09:08:26

Norakomi (57 views)
2014-09-10 13:57:51

TehJavaDev (77 views)
2014-09-10 06:39:09

Tekkerue (38 views)
2014-09-09 02:24:56

mitcheeb (58 views)
2014-09-08 06:06:29

BurntPizza (45 views)
2014-09-07 01:13:42

Longarmx (30 views)
2014-09-07 01:12:14

Longarmx (35 views)
2014-09-07 01:11:22

Longarmx (36 views)
2014-09-07 01:10:19

mitcheeb (40 views)
2014-09-04 23:08:59
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!