Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Playing sounds

From: johnkenyon:iname at: 11-May-2001 15:50

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" core 2.5 gives me -
>> x: load to-file "/c/winnt/media/windows NT Logon sound.wav"
== [RIFF ¶ ] With trace on
>> x: load to-file "/c/winnt/media/windows NT Logon sound.wav"
Trace: x: (set-word) Trace: load (word) Trace: to-file (word) Trace: "/c/winnt/media/windows NT Logon sound.wav" (string) Trace: to (word) Trace: (datatype) Trace: :value (get-word) Result: %/c/winnt/media/windows NT Logon sound.wav (file) Result: %/c/winnt/media/windows NT Logon sound.wav (file) ** Access Error: Trace: "Bad image data" (string) Bad image data ** Near: x: load to-file "/c/winnt/media/windows NT Logon sound.wav" Any thoughts? Cheers, John