Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (416)
games submitted by our members
Games in WIP (306)
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 22316 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 15: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
« League of Dukes »

JGO Kernel


Medals: 54
Projects: 20


Mentally unstable, best avoided.


« Reply #61 - Posted 2006-06-15 16: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 21: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!
Try the Free Demo of Droid Assault
Offline sunet2000

Senior Newbie




I want my mumart account back!


« Reply #63 - Posted 2007-07-08 14: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

JGO Visitor




« Reply #64 - Posted 2007-08-08 18: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

JGO Visitor




« Reply #65 - Posted 2007-09-28 06: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.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
HeroesGraveDev (42 views)
2013-06-15 23:35:23

Vermeer (51 views)
2013-06-14 20:08:06

davedes (48 views)
2013-06-14 16:03:55

alaslipknot (44 views)
2013-06-13 07:56:31

Roquen (62 views)
2013-06-12 04:12:32

alaslipknot (50 views)
2013-06-10 19:30:18

HeroesGraveDev (67 views)
2013-06-09 04:36:03

alaslipknot (54 views)
2013-06-09 03:40:19

CodeHead (54 views)
2013-06-09 02:55:41

GabrielBailey74 (66 views)
2013-06-09 00:02:25
Smoothing Algorithm Question
by UprightPath
2013-05-28 02:58:26

Smoothing Algorithm Question
by UprightPath
2013-05-28 02:57:33

Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38
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!