Re: play command and wav file

2020-12-19 Thread Klaus major-k via use-livecode
Hi listee, > Am 19.12.2020 um 17:15 schrieb jbv via use-livecode > : > > Hi list, > Is there a way to play a wav file that is already loaded > in memory as binary data ? do you mean imported as audioclip? If yes, just -> play ac "nameofclip.wav" If not, please specify. :-) > The doc only

Re: play command and wav file

2020-12-19 Thread jbv via use-livecode
Martin, Richmond, thank you both for your answers. My problem is that the data of the wav file is already in memory, because I open the wav file, read it, store it in a variable, and apply various processes to the content. And finally what I want to do is play the wav data after processing,

Re: play command and wav file

2020-12-19 Thread Martin Koob via use-livecode
Hi You can use an audio clip. First import the wave file as an audio clip into the stack. Under File menu select “Import as Control…” then in the dropdown menu select “…audio file” i.e. I imported a file called “friday.wav” This will create an audio clip in the binary stack. It will have

Re: play command and wav file

2020-12-19 Thread Richmond via use-livecode
I'm not sure what you mean by 'binary data', but I set up a stack and imported a .wav file into it which I named 'xxx.wav'. The stack contains a single button with the code: on mouseUp     play audioClip "xxx.wav" end mouseUp and it does exactly what I would expect it to do: plays the .wav

play command and wav file

2020-12-19 Thread jbv via use-livecode
Hi list, Is there a way to play a wav file that is already loaded in memory as binary data ? The doc only says that "play" takes a file name as parameter... Thank you in advance. jbv ___ use-livecode mailing list use-livecode@lists.runrev.com Please