How do I play an audio referenced on my hard disk

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am
Contact:

How do I play an audio referenced on my hard disk

Post by maxs » Fri Nov 28, 2014 4:18 am

How do I play an audio file referenced on my hard disk?

I tried
play "/documents/numbers/Number2.wav"

I could not believe how little info Icould find on this subject in the dictionary or manual.

Thanks , Max

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: How do I play an audio referenced on my hard disk

Post by Dixie » Fri Nov 28, 2014 7:27 am

Read "11.1 File Name Specifications and File Paths" page 322 in the User Guide...

capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

Re: How do I play an audio referenced on my hard disk

Post by capellan » Fri Nov 28, 2014 9:50 pm

maxs wrote:How do I play an audio file referenced on my hard disk?
I tried play "/documents/numbers/Number2.wav"
Hi Max,

Did you try:

play ac "C:\documents\numbers\Number2.wav"

Al

Post Reply