JEmu2/MSX version 4.0 released

Page 2/3
1 | | 3

By dvik

Prophet (2200)

dvik's picture

17-01-2007, 20:52

eirkd, I'm also interested in hearing what your stereo effect is doing. Sounds interesting.

By erikd

Master (255)

erikd's picture

18-01-2007, 00:19

I'll join the channel soon (I'll have to install some irc client first).

What I'm doing is this:
* I created a new class which has 2 instances of the sound chip emulator (say the SCC), one is panned hard left, the other hard right.
* This new class delegates all register updates to both sound chip emulators.
* One of the sound chips is slightly detuned (this will already make it sound wider). Simply modify one of the chips' clock frequency a bit.
* On the left channel, I halve the output of every odd channel and on the right channel I halve the output of every even channel. So now the channels are panned about and not fully panned but something like 67% (apart from the fact that hard panning doesn't sound very nice, you'd void the effect of detuning).

That's it! It's quite easy to implement, really.

I'm currently playing a bit with delaying the 'halved' channels a bit, which enhances the effect even more. JEmu2 will probably have this in the next version, possibly as an option.

By Vampier

Prophet (2386)

Vampier's picture

18-01-2007, 21:35

I sounds more spatial... and it sounds better than the ussual mono

By dvik

Prophet (2200)

dvik's picture

18-01-2007, 22:12

Sounds easy indeed. I've used the delay effect quite a lot when mixing 'real' music. The sound gets much fatter if you make a stereo track and delay one of the channels a little bit. I suppose the tuning gives it a bit of a chorus effect.
I'm sure it sounds better than the regular mono sound. blueMSX pans the different audio chips slightly by default (some don't like that but I do) which gives a similar effect when playing music that utilizes different audio chips.

Do you really need to pan the individual channels the way you describe? If not, its easier and more flexible to do a generic stereo expander effect that can be applied to any sound chip.

By erikd

Master (255)

erikd's picture

18-01-2007, 22:35

Well, a stereo enhancment effect is a nice idea, the result would be just something completely different. I was going for an effect where it sounds like the chip is *really* stereo and not just ran through a generic stereo effect. In my opinion panning the channels around gives a nicer and clearer stereo field without muddying.
Maybe a stereo enhancement effect could be useful for sound chips with just a few channels like the PSG, though.
The detuning is indeed a little bit like chorus, although it doesn't really give a chorus-like effect because the 2 chips are not mixed together (they're panned fully L/R).

The delay I'm playing with now is now actually 5 delays :-) On each individual channel of the SCC chip, the opposite channel of where the channel is panned to is delayed, each channel with a slightly different delay time (think milliseconds, I still want to avoid muddying the result). Now I still want to link the delay time to the amound of panning (more panning->more delay).

By Vampier

Prophet (2386)

Vampier's picture

24-01-2007, 21:05

psst... smooth scroll in Nemesis can be done on an emulated MSX Cool

By Edwin

Paragon (1182)

Edwin's picture

26-01-2007, 23:09

Has anybody been able to get it to work on Linux? I have java 1.4.2. It starts, I can select a game, but it won't get past the loading screen.

By Manuel

Ascended (18237)

Manuel's picture

26-01-2007, 23:52

I've seen it hang several Linux systems. They were using the proper Sun JDK though (1.5 update 10).

Edwin, you should install Sun's Java, to get better results.

By AuroraMSX

Paragon (1902)

AuroraMSX's picture

27-01-2007, 15:35

Has anybody been able to get it to work on Linux? I have java 1.4.2. It starts, I can select a game, but it won't get past the loading screen.I just played some smooth scrolling Nemesis 2 Smile
No hangups or whatever. It's just annoying that the mouse cursor disappears as soon as the game window opens. I'd like to be able to reposition that window!

Debian/GNU Linux (testing) 2.6.18-3-686, 1MHz P3/512MB/nVidia gForce 6200, Sun Java 5.0 WebStart

By Manuel

Ascended (18237)

Manuel's picture

27-01-2007, 15:53

1MHz? Smile Most people make the mistake the other way round Smile

Page 2/3
1 | | 3