Playing sound files
William Prothero
waprothero at gmail.com
Sat Apr 23 00:45:01 EDT 2016
Thanks, Phil. I’ll try that.
Bill
> On Apr 22, 2016, at 5:35 PM, Phil Davis <revdev at pdslabs.net> wrote:
>
> Hi Bill,
>
> Try this:
>
> lock messages -- to prevent a couple of 'playStopped' messages
> stop player "audio"
> set the filename of player "audio" to empty
> wait 0 seconds with messages
> set the filename of player "audio" to tMyFullAudioFilePath
> unlock messages
> start player "audio"
>
> HTH -
> Phil Davis
>
>
> On 4/22/16 5:22 PM, William Prothero wrote:
>> Panos:
>> Is there anything special I need to do, if I want to stop a player, then assign it a different sound file? It seems to want only to play the file that it is initially set at. I play different sound files as I step through a presentation.
>> Best,
>> Bill
>>
>>> On Apr 22, 2016, at 3:32 PM, William Prothero <waprothero at gmail.com> wrote:
>>>
>>> BTW, the dictionary entry for Player refers to Quicktime movie and needs updating.
>>> Best,.
>>> Bill
>>>
>>>> On Apr 22, 2016, at 2:18 PM, panagiotis merakos <merakosp at gmail.com> wrote:
>>>>
>>>> Hi Bill,
>>>>
>>>> You can use the player object. On OSX (from 10.8 onwards), it uses the
>>>> AVFoundation framework. The AVFoundation supports the following file
>>>> formats:
>>>>
>>>> Audio:
>>>> .aifc and .cdda
>>>> .aif and .aiff
>>>> .caf
>>>> .m4a (=Apple m4a audio file format)
>>>> .wav, .wave, and .bwf
>>>> .amr
>>>> .ac3
>>>> .mp3
>>>> .au and .snd
>>>>
>>>>
>>>> Video
>>>> .m4v (=iTunes video file format)
>>>> .mp4
>>>> .mov and .qt (=QuickTime movies)
>>>>
>>>>
>>>> On Windows, the player should be able to play any formats supported by MCI
>>>> Player, which are more or less the usual multimedia formats supported on
>>>> Windows: .mp3, .midi, .wav, .wma, .wmv etc
>>>>
>>>> We are planning to rework the Windows player soon, so this list is likely
>>>> to expand.
>>>>
>>>> Best,
>>>> Panos
>>>> --
>>>>
>>>> On Fri, Apr 22, 2016 at 11:34 PM, William Prothero <prothero at earthednet.org>
>>>> wrote:
>>>>
>>>>> Folks:
>>>>> I know this has been discussed ad-infinitum here. But, I can’t find the
>>>>> references I need and the dictionary is no help. So…..
>>>>>
>>>>> Playing sounds. I want to play sound files and don’t want to have to use
>>>>> Quicktime, since Apple is not supporting it anymore and I want to play the
>>>>> files on Windows too.
>>>>>
>>>>> So.,. What are my choices and what sound file format should I use?
>>>>>
>>>>> Could you point me to a reference relevant to LC8?
>>>>>
>>>>> Thanks for your patience,
>>>>> Bill
>>>>>
>>>>>
>>>>> William Prothero, Ph.D.
>>>>> University of California, Santa Barbara, Emeritus
>>>>> prothero at earthednet.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> use-livecode mailing list
>>>>> use-livecode at lists.runrev.com
>>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>>> subscription preferences:
>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
> --
> Phil Davis
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list