Re: Sound and the Xcode simulator

2020-04-19 Thread Graham Samuel via use-livecode
Oops, read Jacque’s email first. I replied that I am using an audioclip - in an 
earlier conversation, it seemed that people were saying that if you want to 
embed a sound (rather than have it as a file) then it can’t be an mp3. In fact 
I’d started with an mp3 and had to grumpily change it to WAV to get it to sound 
using the “play audioclip” statement. 

However, I just did a lot more research in the LC dictionary and elsewhere and 
I think what I want is accomplished using ‘beep’ and ‘the beepsound’. This 
apparently works uniquely for iOS. If I ever get to Android I will probably 
have to do something different, but first things first.

Woo hoo - just about to try it.

Graham

> On 19 Apr 2020, at 01:41, Mark Talluto via use-livecode 
>  wrote:
> 
> On Apr 18, 2020, at 2:17 PM, Graham Samuel via use-livecode 
>  wrote:
>> 
>> This is a simple one.
>> 
>> I have a sound (and audioclip) that plays in the IDE (it’s a WAV), but when 
>> I try it in the iPhone simulator it doesn’t play. The simulated phone is not 
>> silent and has a decent amount of sound volume. I have tried both ‘System’ 
>> and ‘Internal Speakers’ as outputs from the simulator. 
>> 
>> Is this my fault or the simulator’s?
> 
> Hi Graham,
> 
> iOS can not play WAV sounds. You will need to convert the sound file to 
> another format like mp3.
> 
> Best regards,
> 
> Mark Talluto
> livecloud.io 
> nursenotes.net 
> canelasoftware.com 
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sound and the Xcode simulator

2020-04-19 Thread Graham Samuel via use-livecode
My script (which works fine in the IDE) is just

  play audioclip  “myClip.wav" looping


The audioclip is certainly there in the stack, and that snippet can be run in 
the message box. It can be stopped by

play stop

Is this stuff not available on mobile? After all, phones make sounds!

Graham

> On 19 Apr 2020, at 04:03, J. Landman Gay via use-livecode 
>  wrote:
> 
> Are you using a scripted player?
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On April 18, 2020 4:19:52 PM Graham Samuel via use-livecode 
>  wrote:
> 
>> This is a simple one.
>> 
>> I have a sound (and audioclip) that plays in the IDE (it’s a WAV), but when 
>> I try it in the iPhone simulator it doesn’t play. The simulated phone is not 
>> silent and has a decent amount of sound volume. I have tried both ‘System’ 
>> and ‘Internal Speakers’ as outputs from the simulator.
>> 
>> Is this my fault or the simulator’s?
>> 
>> Graham
>> ___
>> use-livecode mailing list
>> use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sound and the Xcode simulator

2020-04-18 Thread J. Landman Gay via use-livecode

Are you using a scripted player?

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 18, 2020 4:19:52 PM Graham Samuel via use-livecode 
 wrote:



This is a simple one.

I have a sound (and audioclip) that plays in the IDE (it’s a WAV), but when 
I try it in the iPhone simulator it doesn’t play. The simulated phone is 
not silent and has a decent amount of sound volume. I have tried both 
‘System’ and ‘Internal Speakers’ as outputs from the simulator.


Is this my fault or the simulator’s?

Graham
___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sound and the Xcode simulator

2020-04-18 Thread Mark Talluto via use-livecode
On Apr 18, 2020, at 2:17 PM, Graham Samuel via use-livecode 
 wrote:
> 
> This is a simple one.
> 
> I have a sound (and audioclip) that plays in the IDE (it’s a WAV), but when I 
> try it in the iPhone simulator it doesn’t play. The simulated phone is not 
> silent and has a decent amount of sound volume. I have tried both ‘System’ 
> and ‘Internal Speakers’ as outputs from the simulator. 
> 
> Is this my fault or the simulator’s?

Hi Graham,

iOS can not play WAV sounds. You will need to convert the sound file to another 
format like mp3.

Best regards,

Mark Talluto
livecloud.io 
nursenotes.net 
canelasoftware.com 

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode