11 March 2021, 15:48 | #21 |
Registered User
Join Date: Aug 2018
Location: Untergrund/Germany
Posts: 408
|
I think the player is perfect for modules with low register data rate. For chiptunes (as you already mentioned) the size may grow quite a bit.
I tested 'LSPConvert.exe' with "zapped-out.mod" by 4Mat which grows from 18kb to 49kb, tho thats certainly an extreme testcase. I wonder how high data rate amiga songs (not Protracker modules) could be stored efficently and played fast... if its possible at all |
11 March 2021, 15:53 | #22 | |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
|
Quote:
|
|
11 March 2021, 15:58 | #23 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
The parser for intricate modules with B/D commands could fail.
Leonard you have a PM |
11 March 2021, 16:07 | #24 |
Registered User
Join Date: Feb 2018
Location: Poland
Posts: 352
|
Just leaving a praise for new developments in Amiga audio departament.
|
11 March 2021, 16:23 | #25 |
Registered User
Join Date: Feb 2008
Location: Northampton/UK
Posts: 524
|
So there was a thread about getting the Amiga to play higher quality, and another about mixing channels, and now this gem.
Will these be combined into new formats? Or are they incompatible with each other? Sorry if it's a noob question, I'm not a coder. |
11 March 2021, 20:36 | #26 | |
Registered User
Join Date: Dec 2011
Location: Gummersbach
Posts: 18
|
Quote:
I'm using the same approach for my C64 Protracker replayer for about 10 years now. The replayer logic would simply take too much processing power. Mixing is expensive enough. I first started with simple RLE compression of period, offset, volume and sample trigger streams and the newest data format uses a simple LZ packer of interleaved rle streams which results in good compression and fast enough decompression one byte a time. |
|
11 March 2021, 20:42 | #27 | |
Registered User
Join Date: Dec 2011
Location: Gummersbach
Posts: 18
|
Quote:
I tested the mod with my converter and it "packs" to 26kb, but I'm using only a 256 byte lz history buffer, which packs complicated songs not so well. Lots of period and volumes changes like slides, vibratoe etc. result in less compression. Simple mods like HYMN_TO_YEZZ.MOD compress down to 2kb. |
|
11 March 2021, 22:12 | #28 | |
Registered User
Join Date: Apr 2013
Location: paris
Posts: 133
|
Quote:
However, I'm planning to xform .lsmusic a bit so it could be better compressed on the disk ( right now compression ratio is ok, but it could be better if I interleave & delta the byte streams.) The player will require some more work at init time. So it won't reduce the memory usage at runtime, but it will help on floppy storage. ( important for floppy demos ) |
|
11 March 2021, 23:27 | #29 |
Registered User
Join Date: Apr 2006
Location: Sydney / Australia
Posts: 113
|
Apologies if I missed this - but is the source for LSPConvert.exe available somewhere?
|
11 March 2021, 23:33 | #30 | |
Registered User
Join Date: Feb 2012
Location: United Kingdom
Posts: 3,173
|
Quote:
|
|
11 March 2021, 23:40 | #31 | |
Registered User
Join Date: Jun 2020
Location: Druidia
Posts: 386
|
Quote:
He's asking for the source to the converter. Which is not public afaik. |
|
12 March 2021, 00:13 | #32 |
OCS forever!
Join Date: Mar 2019
Location: Birmingham, UK
Posts: 418
|
Leonard, what format are the samples saved in? I'm thinking amigaklang type scenario where the samples have to be saved in exactly normal protracker format or the system falls apart (like with p61 which modifies the samples).
|
12 March 2021, 00:15 | #33 |
Registered User
Join Date: Apr 2013
Location: paris
Posts: 133
|
you could use "-nosampleoptim" option with LSPConvert to keep the sample bank un-modified. ( so you can use amigaklang with this option )
|
12 March 2021, 00:32 | #34 |
OCS forever!
Join Date: Mar 2019
Location: Birmingham, UK
Posts: 418
|
|
12 March 2021, 14:59 | #35 | |
Registered User
Join Date: Aug 2018
Location: Untergrund/Germany
Posts: 408
|
Quote:
Good work! I ask myself if there aren't more clever methods possible, because its not random data but MUSIC! For instance, it would be possible to pack Volume and Pitch lossy (considering psychoacoustics). Pitch would need to be linearized of course before... |
|
12 March 2021, 16:05 | #36 | |
Registered User
Join Date: Dec 2011
Location: Gummersbach
Posts: 18
|
Quote:
That's one thing I'm already doing. Reducing to 16 different volumes and 127 different periods. Normally you don't hear any big difference on the c64. I try to choose quite optimal values for periods and volumes depending on frequency and distances. |
|
12 March 2021, 17:23 | #37 | |
Registered User
Join Date: Apr 2013
Location: paris
Posts: 133
|
Quote:
But I did some test like having just a 256 periods table to fit in 8bits etc. Helps packing but it also needs some extra cycles to read back the table ( most of MODs are not using more than 256 different periods so it works ) |
|
13 March 2021, 15:13 | #38 |
Registered User
Join Date: Feb 2008
Location: .
Posts: 107
|
Excellent stuff as usual Leonard.
|
14 March 2021, 19:47 | #39 | |
Registered User
Join Date: Apr 2013
Location: paris
Posts: 133
|
Quote:
https://www.pouet.net/prod.php?which=88177 |
|
14 March 2021, 21:01 | #40 |
Going nowhere
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,986
|
I think if you throw this at Hoffman, his vast range of mods that pretty use every single trick in the book, and most importantly, he would know which of those modules might be a good bunch of test cases.
Great work |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Replayer dissasembly request | passing_by | Coders. Asm / Hardware | 6 | 18 December 2017 16:25 |
Digibooster 2 Replayer Routine | Emufr3ak | Coders. Asm / Hardware | 2 | 13 June 2017 07:29 |
Replayer archive? | absence | Coders. General | 4 | 17 March 2011 14:24 |
acurate protracker replayer! | h0ffman | Coders. General | 1 | 12 December 2010 10:19 |
Best MOD replayer | RickyD-II | Coders. General | 8 | 09 July 2007 03:04 |
|
|