Can Player control use imported audioclip?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
adxsoft
Posts: 26
Joined: Wed Apr 11, 2018 12:25 pm

Can Player control use imported audioclip?

Post by adxsoft » Sun Feb 24, 2019 9:22 am

I'm using the Player control and can set the filename property to the external file location of my audio file and play it without any problems.

If I use "Import as control", "Audio file' menu then I can use the command

Code: Select all

play audioclip "myclip.wav"
with no problem.

I wanted to use the same imported audioclip in a Player control rather than use the external file as the source.

Is there any way to get the Player control to recognise the imported audioclip as its source?

Cheers
Allan

bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: Can Player control use imported audioclip?

Post by bogs » Sun Feb 24, 2019 1:41 pm

Perhaps the tracks is what your looking for?
Image

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Can Player control use imported audioclip?

Post by Klaus » Sun Feb 24, 2019 1:49 pm

Hi Alan,
adxsoft wrote:
Sun Feb 24, 2019 9:22 am
Is there any way to get the Player control to recognise the imported audioclip as its source?
no.


Best

Klaus

bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: Can Player control use imported audioclip?

Post by bogs » Sun Feb 24, 2019 1:56 pm

Heh, well, Klaus would know for sure :wink:
Image

adxsoft
Posts: 26
Joined: Wed Apr 11, 2018 12:25 pm

Re: Can Player control use imported audioclip?

Post by adxsoft » Tue Feb 26, 2019 4:18 am

Thanks Klaus!

Post Reply