Jump to content
IGNORED

RMT2LZSS: convert RMT tunes to LZSS for fast playback!


rensoup

Recommended Posts

3 hours ago, emkay said:

I'd say the most important part with this player is that you can build the music using any editor. Then throw it through the particular converter  to get the "LZSS" format. Throw them onto a cartridge and play endless pokey stuff with just one player.

Yes, it's even possible to write a new tracker without having to write a new player on the A8. 

 

Attempting to update the RMT player would just bloat it (hence the numerous patches which add features and remove some)

  • Like 2
Link to comment
Share on other sites

Another thought - you could employ a "dummy" mode where a call doesn't do register updates, only bumps the pointer.

Then you could keep indexes and be able to start the song at predetermined positions if needed.  Sure, it might waste a frame or three doing the cue process but generally such events in games are usually if you start a new level or life.

  • Like 1
Link to comment
Share on other sites

12 hours ago, rensoup said:

Great conversion, I just wished you'd use some PWM magic for that modern retro feel ?

Thanks!

11 hours ago, VinsCool said:

There is definitely a lot of room for that, I can almost taste it :D 

I used this tune mostly to test out different instruments and see how it turned out. I'm not really a fan of that PWM sound, especially when modulated to much, but I might dig into it for a new song.

 

BTW XLent's transcription is on the atarionline.pl forum, free to download, if you want to have a try at it yourself.

  • Thanks 1
Link to comment
Share on other sites

5 hours ago, Rybags said:

Another thought - you could employ a "dummy" mode where a call doesn't do register updates, only bumps the pointer.

Then you could keep indexes and be able to start the song at predetermined positions if needed.  Sure, it might waste a frame or three doing the cue process but generally such events in games are usually if you start a new level or life.

That wouldn't work I think. You can only decode from the start, hence the tune splitting for loop points. To start at any position you'd have to save the decoder's state (those 9*256 bytes buffers)

  • Like 1
Link to comment
Share on other sites

4 hours ago, emkay said:

Another 15kHz tune. 

Known "cancelling" problems , but they are stable ;)

 

 

BattleSquadron15.xex 12.14 kB · 5 downloads

I've never heard anything from you sounding so stable until now!
Clearly the LZSS stuff has done magic to make things a lot smoother.
 

3 hours ago, ivop said:

Thanks!

I used this tune mostly to test out different instruments and see how it turned out. I'm not really a fan of that PWM sound, especially when modulated to much, but I might dig into it for a new song.

 

BTW XLent's transcription is on the atarionline.pl forum, free to download, if you want to have a try at it yourself.

That's fair! I just said that because I know it can be done if someone wanted to have it.
At the end, it's a matter of personal taste :P 
 

2 hours ago, emkay said:

A third one.  After listening to the original ACTRaiser today ;)

 

ActRaiser.xex 6.66 kB · 4 downloads

I like how we pretty much took the same approach to the modulation :D 
I kinda miss the additional harmony however, that took me a bit of work in my version. everything can be done with clever instrumentation and timing at least :P 

Link to comment
Share on other sites

1 hour ago, VinsCool said:

I've never heard anything from you sounding so stable until now!
Clearly the LZSS stuff has done magic to make things a lot smoother.
 

...
 

I like how we pretty much took the same approach to the modulation :D 
I kinda miss the additional harmony however, that took me a bit of work in my version. everything can be done with clever instrumentation and timing at least :P 

The main problem still is the "not complete POKEY emulation" in RMT. 

It's mostly correct, but the "wave creation timing" changes by the used frequency, and the volume mixing still has it's flaws.

Really, a lot of "detuned" sounding depends just on the volume. 

 

Btw. here something completely different. 4 channel vibes :D just the overall volume doesn't really satisfy me. It simply sounds different in RMT. 

 

RaceX.xex

  • Like 3
Link to comment
Share on other sites

@rensoup

Isn't it possible to join several tunes into one LZSS? 

Could be an advance, to have "one tune" at the end , where it is needed to have a whole different set of instruments, if a tracker is used. The written registers won't take care of that, if you understand :)

 

Let's fill 64k, if needed ;)

Link to comment
Share on other sites

1 hour ago, emkay said:

@rensoup

Isn't it possible to join several tunes into one LZSS? 

Could be an advance, to have "one tune" at the end , where it is needed to have a whole different set of instruments, if a tracker is used. The written registers won't take care of that, if you understand :)

 

Let's fill 64k, if needed ;)

you mean merge tunes created with different RMT patches ? yeah that can be done of course but that'd be a little clunky... the real solution would be a tracker that allows all the patches (and more) to be used together without restrictions!

  • Like 1
Link to comment
Share on other sites

6 hours ago, rensoup said:

you mean merge tunes created with different RMT patches ? yeah that can be done of course but that'd be a little clunky... the real solution would be a tracker that allows all the patches (and more) to be used together without restrictions!

Would be nice. 

But for now it would be great to have a bunch of short songs in a row just using the unpatched RMT, just for diversity. 

To show the features of Pokey, it is recommended to show the diversity. 

Link to comment
Share on other sites

I did some experimental sounds tonight, turned out pretty nice I think.

 

This one was pretty jittery when played as an exported .xex from RMT, I noticed most things using 15khz mode especially seem to behave as such.

 

Loaded into RMT2LZSS using the LZSS16 and RMT 1.28 (unpatched), runs at 50hz.

 

Just another song I might never fully finish because composing is hard :D

 

 

Sketch_40_V10.obx

Edited by VinsCool
  • Like 1
Link to comment
Share on other sites

5 hours ago, emkay said:

Would be nice. 

But for now it would be great to have a bunch of short songs in a row just using the unpatched RMT, just for diversity. 

To show the features of Pokey, it is recommended to show the diversity. 

I'll consider it... need to see if I need to make another release... 

  • Like 1
Link to comment
Share on other sites

2 hours ago, VinsCool said:

This one was pretty jittery when played as an exported .xex from RMT, I noticed most things using 15khz mode especially seem to behave as such.

 

Haven't listened to it yet but are you saying it sounds better with LZSS ?

 

I'm still puzzled why the tiny difference in handling Pokey registers between RMT and LZSS could change the sound...?

  • Like 1
Link to comment
Share on other sites

4 hours ago, rensoup said:

Haven't listened to it yet but are you saying it sounds better with LZSS ?

 

I'm still puzzled why the tiny difference in handling Pokey registers between RMT and LZSS could change the sound...?

Basically, yeah.

It sounds a lot more stable and consistent after the conversion.

 

 

Link to comment
Share on other sites

Not sure why, but it seems that in irregular steps, one position of an intruments isn't played.

Let's say single speed playback, and the speed of the song is 2 ticks, one VBI speed.

If everything is fine, two steps of the instrument envelope should be played. But it plays only the 1st step .

  • Like 1
Link to comment
Share on other sites

53 minutes ago, MrFish said:

What's the purpose of having the colored sections in the visualization jitter back and forth?

Do you mean the scanlines that show the CPU usage, or the simulated LED bar graph? And what do you mean by jitter back and forth?

Edited by ivop
Link to comment
Share on other sites

6 minutes ago, ivop said:

Do you mean the scanlines that show the CPU usage, or the simulated LED bar graph? And what do you mean by jitter back and forth?

Look closely at the different-colored bars (P/M overlays?) in the bar graph (not the CPU usage graphics). They're constantly moving left and right.

 

Edited by MrFish
Link to comment
Share on other sites

It's really twisting. 

Seems really to be one of the "timing" issues I encountered on and on. 

As the LMSS player really seems to replay flawless, the "timing depending" tunes get played more stable but sometimes it means "more harsh" as well. But, if the tune can be adjusted more precisely , the resulting sound can be even better formed. 

 

Here is the special edit of enderdude's "sanxion redo", where I added temporary 15kHz and dedicated modulations. 

Now played in the LMSS player it sound like   "from a cast cast" or as we say in German "aus einem Guss". 

endrdude.xex

  • Like 1
Link to comment
Share on other sites

14 minutes ago, emkay said:

It's really twisting. 

Seems really to be one of the "timing" issues I encountered on and on. 

As the LMSS player really seems to replay flawless, the "timing depending" tunes get played more stable but sometimes it means "more harsh" as well. But, if the tune can be adjusted more precisely , the resulting sound can be even better formed. 

 

Here is the special edit of enderdude's "sanxion redo", where I added temporary 15kHz and dedicated modulations. 

Now played in the LMSS player it sound like   "from a cast cast" or as we say in German "aus einem Guss". 

endrdude.xex 9.18 kB · 2 downloads

Sounds great! Unfortunately there are many things wrong, like different instruments played on different keys, resulting to things sounding out of tune.
It does look very stable however, I especially like the channel 2 modulation.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...