Re: Mod music from Fred

2003-03-17 Thread David

- Original Message -
From: Stuart Brady [EMAIL PROTECTED]
To: sam-users@nvg.ntnu.no
Sent: Sunday, March 16, 2003 10:38 PM
Subject: Re: Mod music from Fred


 Ahh, thanks! Does anybody know what was changed in the file formats to
 allow for this? (I might as well write a converter for it...)

As 4 bits of the data was chopped out - i think it will be easier to find
the original if you want to play it at full quality.




Re: Mod music from Fred

2003-03-17 Thread Stuart Brady
On Sun, Mar 16, 2003 at 11:31:31PM -, David wrote:
 - Original Message -
 From: Stuart Brady [EMAIL PROTECTED]
 To: sam-users@nvg.ntnu.no
 Sent: Sunday, March 16, 2003 10:38 PM
 Subject: Re: Mod music from Fred
 
  Ahh, thanks! Does anybody know what was changed in the file formats to
  allow for this? (I might as well write a converter for it...)
 
 As 4 bits of the data was chopped out - i think it will be easier to find
 the original if you want to play it at full quality.

I had already done that - one of them wasn't quite so easy to find.
I'm more interested in converting in the other direction. From the sound
of it, writing a converter would be a trivial enough task. I'd also like
to check all of the modules to see which of them have any 4-bit samples.

AFAICS, all I'd really need to know is where each sample is marked as
being a 4-bit sample, and which nibble comes first in the sample data.

Cheers,
-- 
Stuart Brady


RE: Mod music from Fred

2003-03-17 Thread Stefan Drissen
Ged the mod player source and you should find the 'documentation'. If I recall 
correctly there is a check on the expected file length (number of patterns, 
number of samples, length of samples) and the actual file length - if the 
actual file length indicated that it was using 'half' samples then it was 
treated as such...

The reason for chopping down to 4 bits was indeed 'compression' for the unused 
bits - note that the SAA(I can't even remember its number) actually only 
produced 3 bit samples... the lowest bit did nothing, so they could have been 
compressed even more...


Stefan 


-Original Message-
From: Stuart Brady [mailto:[EMAIL PROTECTED]
Sent: Monday, March 17, 2003 1:35 AM
To: sam-users@nvg.ntnu.no
Subject: Re: Mod music from Fred


On Sun, Mar 16, 2003 at 11:31:31PM -, David wrote:
 - Original Message -
 From: Stuart Brady [EMAIL PROTECTED]
 To: sam-users@nvg.ntnu.no
 Sent: Sunday, March 16, 2003 10:38 PM
 Subject: Re: Mod music from Fred
 
  Ahh, thanks! Does anybody know what was changed in the file formats to
  allow for this? (I might as well write a converter for it...)
 
 As 4 bits of the data was chopped out - i think it will be easier to find
 the original if you want to play it at full quality.

I had already done that - one of them wasn't quite so easy to find.
I'm more interested in converting in the other direction. From the sound
of it, writing a converter would be a trivial enough task. I'd also like
to check all of the modules to see which of them have any 4-bit samples.

AFAICS, all I'd really need to know is where each sample is marked as
being a 4-bit sample, and which nibble comes first in the sample data.

Cheers,
-- 
Stuart Brady


Re: Mod music from Fred

2003-03-17 Thread Aley Keprt
This is clever, but I have also seen the lossless 1:2 compression of PCM
wave data, which would give you the same benefit and keep the 8 bit waves.
It works on the basis of derivations and Huffman coding, and obviously it is
lossless, so it is not proven to be 1:2, but it usually is. I'd like to see
this combined with your 4bit samples. :-)

A.

- Original Message -
From: Stefan Drissen [EMAIL PROTECTED]
To: sam-users@nvg.ntnu.no
Sent: Monday, March 17, 2003 9:23 AM
Subject: RE: Mod music from Fred


 Ged the mod player source and you should find the 'documentation'. If I
recall correctly there is a check on the expected file length (number of
patterns, number of samples, length of samples) and the actual file length -
if the actual file length indicated that it was using 'half' samples then it
was treated as such...

 The reason for chopping down to 4 bits was indeed 'compression' for the
unused bits - note that the SAA(I can't even remember its number) actually
only produced 3 bit samples... the lowest bit did nothing, so they could
have been compressed even more...


 Stefan


 -Original Message-
 From: Stuart Brady [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 17, 2003 1:35 AM
 To: sam-users@nvg.ntnu.no
 Subject: Re: Mod music from Fred


 On Sun, Mar 16, 2003 at 11:31:31PM -, David wrote:
  - Original Message -
  From: Stuart Brady [EMAIL PROTECTED]
  To: sam-users@nvg.ntnu.no
  Sent: Sunday, March 16, 2003 10:38 PM
  Subject: Re: Mod music from Fred
 
   Ahh, thanks! Does anybody know what was changed in the file formats to
   allow for this? (I might as well write a converter for it...)
 
  As 4 bits of the data was chopped out - i think it will be easier to
find
  the original if you want to play it at full quality.

 I had already done that - one of them wasn't quite so easy to find.
 I'm more interested in converting in the other direction. From the sound
 of it, writing a converter would be a trivial enough task. I'd also like
 to check all of the modules to see which of them have any 4-bit samples.

 AFAICS, all I'd really need to know is where each sample is marked as
 being a 4-bit sample, and which nibble comes first in the sample data.

 Cheers,
 --
 Stuart Brady






Re: Mod music from Fred

2003-03-16 Thread Colin Piggot
 Btw, some of the modules seem to have problems on anything but the SAM
 mod player. Would anyone have any guess as to why this is?

Some of the mods were converted to 4 bit samples, to reduce the overall file
size as the extra resolution wasn't required at the time when using only the
SAA1099 for playback.

Colin

Quazar : Hardware, Software, Spares and Repairs for the Sam
Website: http://www.quazar.clara.net/sam/
Issue Four of Sam Revival Magazine Out Now !



Re: Mod music from Fred

2003-03-16 Thread Stuart Brady
On Sun, Mar 16, 2003 at 09:28:47PM -, Colin Piggot wrote:
  Btw, some of the modules seem to have problems on anything but the SAM
  mod player. Would anyone have any guess as to why this is?
 
 Some of the mods were converted to 4 bit samples, to reduce the overall file
 size as the extra resolution wasn't required at the time when using only the
 SAA1099 for playback.

Ahh, thanks! Does anybody know what was changed in the file formats to
allow for this? (I might as well write a converter for it...)
-- 
Stuart Brady