[REBOL] Re: Playing sounds
From: petr:krenzelok:trz:cz at: 11-May-2001 8:35
[johnkenyon--iname--com] wrote:
> Hi,
>
> Just tried to play a file with a space in the filename and got the
> following error message. Other wav files have been fine so far (and
> great fun :). (View/pro 1.2 licensed)
>
> >> x: load to-file "/c/winnt/media/windows NT Logon sound.wav"
> ** Access Error: Bad image data
> ** Near: x: load to-file "/c/winnt/media/windows NT Logon sound.wav"
I've got the same error message for one .wav file, but not for another
ones, so I discarded my e-mail message to the list, thinking my .wav
file was corrupted.
One other comment to 'load function. Carl - isn't it a little bit
inconsistent? 'load automatically distinguishes .gif, .jpg, .png, .bmp,
.wav by their internal structure, while we have to explicitly state
load/library ... what is the difference? Maybe 'load could distinguis
libraries automatically too?
Anyway - Rebol's cool ... and I am "dead" - I don't want to program in
anything else anymore :-))
Cheers,
-pekr-