Stef,
I was trying to create a SampledSound from floating point data ("digitized" to signed words) and then save a WAV file using #storeWAVOnFileNamed:. Attempts to play the results on Ubuntu fail with a gstream error. I am wondering if the code might be promising compression and not delivering it, or vice versa. FWIW, attached is some code that I ported from my Dolphin image. The files that it writes play and look correct in audacity's graph view. If it has any value to you, let me know and I can try to sort out its lineage. I *think* it is code that I added to Dolphin by adapting a couple of methods from Squeak.
Bill