LC 9.6.9 | Mac OS 11.7.6
Is this a bug?
The code below successfully creates and plays the selected file.
But I can't get the duration of the loaded file until AFTER the play command is issued.
mobileControlCreate "player", "aPlayer"
put mobileControlGet ("aPlayer", "id") into gAndPlayerID ...
Search found 8 matches
- Wed May 24, 2023 12:26 am
- Forum: Android Deployment
- Topic: mobileControlGet (ID/or Name, "duration")
- Replies: 0
- Views: 195998
- Sun Apr 30, 2023 2:51 pm
- Forum: iOS Deployment
- Topic: iOS audio help
- Replies: 10
- Views: 28506
Re: iOS audio help
LC sends a message every time the frame changes
How do I grab that message?
It's in the dictionary:
on currentTimeChanged theInterval -- display the time in a field
put theInterval into field "Time Code"
end currentTimeChanged
I guess I wasn't clear enough in my first post that I ...
- Sat Apr 29, 2023 11:24 pm
- Forum: iOS Deployment
- Topic: iOS audio help
- Replies: 10
- Views: 28506
Re: iOS audio help
How do I grab that message?
- Sat Apr 29, 2023 9:52 pm
- Forum: iOS Deployment
- Topic: iOS audio help
- Replies: 10
- Views: 28506
Re: iOS audio help
Why not use a standard player control? It works on all platforms.
The Player object function > currentTimeChanged doesn't work on iOS.
On the desktop I use this function to sync a graphic on the screen with the audio track.
So on mobile I would have to keep checking the audio track position ...
- Sat Apr 29, 2023 9:49 pm
- Forum: iOS Deployment
- Topic: iOS audio help
- Replies: 10
- Views: 28506
Re: iOS audio help
According to the LC docs
OS - mac, windows, linux
Platforms - desktop, server
OS - mac, windows, linux
Platforms - desktop, server
- Sat Apr 29, 2023 2:41 am
- Forum: iOS Deployment
- Topic: iOS audio help
- Replies: 10
- Views: 28506
Re: iOS audio help
put mergAVPlayerCreate("avPlayer", ) into tPlayerID
What is "avPlayer" ?
Good question.
The LC documentation advertises the first argument to be - a pointer to an asset in memory?
I really don't understand asset in memory.
So I thought mergAVPlayerCreate("avPlayer", ) would create a ...
- Sat Apr 29, 2023 12:09 am
- Forum: iOS Deployment
- Topic: iOS audio help
- Replies: 10
- Views: 28506
Re: iOS audio help
Wow 300 views and not one tip.
I guess mergAV isn't used much in LC.
I guess mergAV isn't used much in LC.
- Mon Apr 17, 2023 3:11 am
- Forum: iOS Deployment
- Topic: iOS audio help
- Replies: 10
- Views: 28506
iOS audio help
I am using on currentTimeChanged theInterval to sync graphic objects in my app with the playback location of an audio file.
The player object is used for audio playback on Mac OS.
I need to implement this same functionality for the iOS platform.
I'm looking at mergAVPlayerCreate ...
The player object is used for audio playback on Mac OS.
I need to implement this same functionality for the iOS platform.
I'm looking at mergAVPlayerCreate ...