Re: Playing sound files

2016-04-26 Thread Sannyasin Brahmanathaswami
On 4/26/16, 7:35 AM, "use-livecode on behalf of Peter Bogdanoff" wrote: >Both of these can be done now using the currentTime property--which you can >get and set. (On iOS, OS X, and Windows with QT installed) Perhaps we can consider to stop saying “..with QT installed” and carry this discus

Re: Playing sound files

2016-04-26 Thread Richard Gaskin
Sannyasin Brahmanathaswami wrote: > But, can we replicate all the “great-fast and reliable” features > of AV Foundation on > > 1. iOS > 2. Android > 3. Windows desktop > 4. Linux desktop As Kevin and other team members have noted here, the Windows AV replacement is well recognized as an immedia

Re: Playing sound files

2016-04-26 Thread Peter Bogdanoff
On Apr 26, 2016, at 8:27 AM, Sannyasin Brahmanathaswami wrote: >> AV Foundation, on the other hand, is great—fast and reliable. > > But, can we replicate all the “great-fast and reliable” features of AV > Foundation on My “Great-fast” only refers to AV Foundation’s downloading compared to Qu

Re: Playing sound files

2016-04-26 Thread Sannyasin Brahmanathaswami
On 4/25/16, 5:51 PM, "use-livecode on behalf of Peter Bogdanoff" wrote: >AV Foundation, on the other hand, is great—fast and reliable. > >Peter Bogdanoff >UCLA > But, can we replicate all the “great-fast and reliable” features of AV Foundation on 1. iOS 2. Android 3. Windows desktop 4. Linu

Re: Playing sound files

2016-04-25 Thread Peter Bogdanoff
No, callbacks are still alive and well in AV Foundation. I’m seeing that adding a parameter to a callback list isn’t working now. Parameters weren’t in the dictionary pre-LC6.7 but seemed to work. Issues with QT—things used to work better; it seems that as new versions of OS X are released, QT

Re: Playing sound files

2016-04-23 Thread J. Landman Gay
On 4/24/2016 12:59 AM, Peter Bogdanoff wrote: You can do timed subtitles now using callbacks—if you want the text to display outside the player, like in a field. Does AV Foundation support callbacks now? I thought those were lost when it was implemented. I was using callbacks to do titling c

Re: Playing sound files

2016-04-23 Thread Peter Bogdanoff
I’m wrong, apparently AVfoundation does do text tracks. https://www.raywenderlich.com/30200/avfoundation-tutorial-adding-overlays-and-animations-to-videos Will there be the capability to create these tracks in LiveCode? For Windows? I know not. Peter Bogdanoff On Apr 23, 2016, at 10:59 PM, Pet

Re: Playing sound files

2016-04-23 Thread Peter Bogdanoff
You can do timed subtitles now using callbacks—if you want the text to display outside the player, like in a field. Look up “callbacks" in the dictionary. Basically you build a list with lines like this: , When the player reaches that time it sends that command. The handler that rece

Re: Playing sound files

2016-04-23 Thread Sannyasin Brahmanathaswami
Panos: I will throw in an important use case here as we need LC to move forward to gain parity with the world of audio and video that runs in sync with 1) subtitling 2) full transcript 3) song lyrics This requires a backend where subtitles/yrics/transcripts are timecoded “along the way” so t

Re: Playing sound files

2016-04-23 Thread panagiotis merakos
Hi Peter, *>>>Does this mean that a player control can play the formats you list (.mp3, .midi, .wav, .wma, .wmv etc) without QT being installed, and the player has otherwise the full capability (commands, functions, etc.) it has while playing a QuickTime file?*This is our plan. *>>>Or are the

Re: Playing sound files

2016-04-22 Thread Peter Bogdanoff
Panos, Does this mean that a player control can play the formats you list (.mp3, .midi, .wav, .wma, .wmv etc) without QT being installed, and the player has otherwise the full capability (commands, functions, etc.) it has while playing a QuickTime file? Or are there other limitations? A relate

Re: Playing sound files

2016-04-22 Thread William Prothero
Thanks, Phil, I’ll try that. Bill > On Apr 22, 2016, at 5:35 PM, Phil Davis 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 filenam

Re: Playing sound files

2016-04-22 Thread William Prothero
Thanks, Phil. I’ll try that. Bill > On Apr 22, 2016, at 5:35 PM, Phil Davis 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

Re: Playing sound files

2016-04-22 Thread Phil Davis
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/

Re: Playing sound files

2016-04-22 Thread William Prothero
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 P

Re: Playing sound files

2016-04-22 Thread William Prothero
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 wrote: > > Hi Bill, > > You can use the player object. On OSX (from 10.8 onwards), it uses the > AVFoundation framework. The AVFoundation supports t

Re: Playing sound files

2016-04-22 Thread William Prothero
Fantastic! Thanks, Bill > On Apr 22, 2016, at 2:18 PM, panagiotis merakos 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 a

Re: Playing sound files

2016-04-22 Thread panagiotis merakos
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

Playing sound files

2016-04-22 Thread William Prothero
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 Wind