Cant export to Wav (20)

1058 Name: Mario : 2010-09-30 18:56 [Del]

Using the latest windows release from January 2010, everything I try to export to wav is not a valid file. I try to load the wav in windows media player, real player, winamp, etc, and they all basically say

"encountered a problem while playing the file."

Please help.

1059 Name: delt !DEimOs08uM : 2010-10-01 01:41 [Del]

um.. are you pressing SHIFT+F10 for "export module" then select .WAV format (at the right, default)

If so, what are the file sizes of the module(s) and broken .wav files?

1060 Name: Richard Gilbert : 2010-10-01 07:23 [Del]

And: can you load them in Audacity?

1069 Name: Anajonda : 2010-10-06 20:33 [Del]

The reason why it says that the file cannot be played is a format issue. Most players look for standard Microsoft RIFF wav format, but SchTRK exports into raw data. My workaround for this is to open the file in Goldwave and convert it to RIFF WAV format. It's a bit of a pain but it solves the problem nicely.

Jon.

1070 Name: D. T. Owen : 2010-10-06 20:42 [Del]

1071 Name: Mario : 2010-10-12 20:27 [Del]

Yes, I am doing the Shift F10. The file is 40.3MB.
I don't have Audacity.

I tried opening in Goldwave, but see no options for RIFF. It asks when I try to open if the file type is SND, RAW, or VOX.

I tried RAW, and it sounds like poo.

1074 Name: delt !DEimOs08uM : 2010-10-14 11:31 [Del]

Works fine here.... what verison of schism are you using, and what OS?

... just exported a module to .wav:

[pts/5][user@deimos]:~$ file /tmp/jupiter.s3m.wav
/tmp/jupiter.s3m.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz

Resulting .wav file loads fine in adobe audition, and stuff like sox, mplayer, aplay, etcetc. play it fine.

(that s3m seriously kicks ass btw)

1075 Name: Joe Petersen : 2010-10-14 12:30 [Del]

>>1074
He already answered all that stuff—20100101 on Windows.

1081 Name: esaruoho : 2010-10-29 13:44 [Del]

could we get an autumn 2010 build of schism for win32 and osx, please?

1082 Name: Manuel D. Moses : 2010-10-29 13:49 [Del]

sure

1083 Name: esaruoho : 2010-10-29 14:00 [Del]

as downloadable packages that have been built? and can be unpacked from their various compression formats and run as .app or .exe ? straight? i.e., compiled versions?

1114 Name: Aszazin : 2010-12-15 07:50 [Del]

OK!

So, it's raw data? (both WAV & AIFF I assume?)
I can't find any setting to open the raw data in a non-scrambled way:
Schism reports exporting in 16bit PCM 44.100 Hz
so I use that when opening. but:
format: Signed or Unsigned?
byte order: Little- or Big-Endian?
obviously Stereo... (Or also for the multi-wav output?)
Is there any header (or trailer) added?

These are the options, I played with it all around, but no result...

1115 Name: Aszazin : 2010-12-15 12:50 [Del]

(on nov2010 build, win7 64bit)
exporting at 8bit doesn't scramble anything
exporting at 24bit scrambles stuff even more.
saving an IT scrambles the samples contained. (watch out not to overwrite anything)

1121 Name: Marcellus Roach : 2010-12-26 22:46 [Del]

Okay, I figured out the problem. Windows is helpfully converting all 0A bytes to 0D 0A when writing the file – despite the fact that the fdopen() call is explicitly requesting BINARY mode! Apparently that 'b' is completely useless.

Stupid, stupid OS.

I had sort of narrowed the problem to around the introduction of the new disk writer, which didn't really help because the relevant changesets were thousands of lines long. Next I tried randomly attacking various bits of code in hopes that something might fix it by accident... which, unsurprisingly, also didn't help. So then I yanked out all the file writing code into a separate test file, had it read and write a megabyte of random data several times, and compared the output files. Seems like the extra 0D bytes are the only difference.

I'll try to fix this tomorrow; it took most of today to track that down. Meanwhile, use an old version (again!) – the 20100101 build worked fine in my tests.

1122 Name: Marcellus Roach : 2010-12-27 09:27 (File: 384 kb) [Del]

384 kb

Ok, got a fix in. It's a hack, but it appears to work.

http://schismtracker.org/hg/rev/c4cf1b3a0dd9

Attached is the latest .exe. Test saving / exporting / whatever else, and post whether or not it functions correctly. I'll have an official build up in January.

1123 Name: Aszazin : 2010-12-27 17:44 [Del]

Seems to work fine with the attached .exe file!

Thanks!

1124 Name: Marcellus Roach : 2010-12-27 19:45 [Del]

Yay! :)

My next task will be figuring out why it's making dinging noises when you press alt-keys. I have a feeling that'll be somewhat more difficult.

1125 Name: Fidel Jenkins : 2010-12-30 19:08 [Del]

Ok, >>1124 was actually really easy - replacing sdl.dll with a different version fixed it in about 10 seconds.

http://www.digitalmzx.net/forums/index.php?app=tracker&showissue=209

1619 Name: Nelson Escalona : 2012-06-05 19:57 [Del]

I'm trying to export a module using the mwav option (in order to get separately wavs of each channel) but some channels (not empty, sure) doesn't save anything to the file...

1621 Name: Eddy Fuller : 2012-06-06 06:35 [Del]

They're also not muted, right? It only starts writing out to a channel's file once it encounters nonzero data.

Name: Link:
Spam trap (don't touch):
File: