SofaCas bug report thread

Página 3/4
1 | 2 | | 4

Por Sonus

Supporter (10)

imagem de Sonus

09-01-2017, 15:34

CasTools with phase shift signal gives 3320.
Of course, thanks! http://ge.tt/4Fn9nFi2

Por Louthrax

Prophet (2436)

imagem de Louthrax

09-01-2017, 17:10

Good, thanks for the .WAV file.

Just curious: what was this tape used for ?

Por Sonus

Supporter (10)

imagem de Sonus

09-01-2017, 18:00

Mystery solved, just padding bytes:

CasTools (96 + 8) * 31 + 96 = 3320

SofaCas 96 * 32 = 3072

No issue to send: Load completed!

Por Louthrax

Prophet (2436)

imagem de Louthrax

09-01-2017, 18:08

Ah yes, I understand now. It's not really padding bytes: from what I've seen so far, CasTool "silence detection" is not so accurate, so you're often getting extra bytes at the end of a "chunk" (it does not cause too many problems though). SofaCas detects silences in a different way, so you don't have those extra-bytes.

Por Sonus

Supporter (10)

imagem de Sonus

12-01-2017, 20:14

What are the options to add one second silence at the start and 25ms between the chunks of a wav file?

Similar question for the headers...

Thanks for clarifying!

Por Louthrax

Prophet (2436)

imagem de Louthrax

12-01-2017, 21:18

You mean when writing back a .CAS file to a .WAV file ?

Basically there are 2 types of "silence" that are used on MSX (like there are 2 types of headers, long and short):

    -s    Short silence duration in seconds (2.00s)
    -S    Long silence duration in seconds (1.00s)
    -h    Short header duration in seconds (6.67s)
    -H    Long header duration in seconds (1.67s)

Use of these long silences / headers depend on the format used (binary, tokenized basic, ascii...). I do not remember details for each format, but that's detailed somewhere in the MSX technical books.

I will give a look at the SofaCas sources to give more details when I'll have time.

EDIT: The values in parenthesis above are the default MSX-standard values. The 25ms you mention is really super-short!

Por Sonus

Supporter (10)

imagem de Sonus

13-01-2017, 16:34

Indeed from cas to wav, there are 32 headers "1F A6 DE BA CC 13 7D 74".
TX81Z receives all patches well if 25ms between the blocks, even if 5ms.
For now, I add 1s silence at the start by editing the file in a wave editor.

So it's not really an issue...

Por Louthrax

Prophet (2436)

imagem de Louthrax

13-01-2017, 17:30

Did not realize immediately: is that TX81Z an MSX-compatible machine ??

Por Sonus

Supporter (10)

imagem de Sonus

14-01-2017, 08:59

It's Yamaha OS, V1.6 03-Feb-88, with standard MIDI and MSX cassette interface.
In those years, most musicians used Atari ST for editing and storing patches.
Meanwhile I've also tested a TX7, different format with two data blocks...

... working fine!

Por Manuel

Ascended (19270)

imagem de Manuel

29-11-2017, 10:36

Where can we download SofaCAS nowadays?

Página 3/4
1 | 2 | | 4