Hello,
how to set the volume (loudness) of a audio file
set the ?volume? of audioClip to 50 ??????
play audioClip id 1015
thanks in advance for help
volume of audio file
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 3990
- Joined: Sun Jan 07, 2007 9:12 pm
- Location: Bochum, Germany
Re: volume of audio file
Hi Conde,
look at playLoudness in the dictionary, there is an example for audioclips.
Or just
where xx goes from 0 (no sound) to 100 (max volume)
Kind regards
Bernd
look at playLoudness in the dictionary, there is an example for audioclips.
Or just
Code: Select all
set the playLoudness of audioclip id 1015 to xx
Kind regards
Bernd
Re: volume of audio file
Hallo Bernd (Danke)
yes I found this in the dic. But
set playLoudness does not work with a 44kHz/16bit aif file here.
yes I found this in the dic. But
set playLoudness does not work with a 44kHz/16bit aif file here.
Re: volume of audio file
oops Sorry Bernd
set to 50 has no effect
set to 10 works fine
Danke again.
set to 50 has no effect
set to 10 works fine
Danke again.