You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sems/apps/examples/mixin_announce
Stefan Sayer 1d44aa2d7f
fixed example configuration and doxygen dirs
19 years ago
..
etc fixed example configuration and doxygen dirs 19 years ago
Makefile ivr wrapper for audio mixin and example app 19 years ago
Readme.mixin_announce readme file for the mixing 19 years ago
mix_announce.py adds the option to finish file B while mixing in 19 years ago
py_comp ivr wrapper for audio mixin and example app 19 years ago

Readme.mixin_announce

mixin_announce

This module demonstrates the AmAudioMixIn, used in the IVR, where
it is called IvrAudioMixIn. The AmAudioMixIn is an audio device 
that uses two AmAudio 'devices' (in the IVR: IvrAudioFile) as audio
sources, plays the first one, and periodically mixes in the second one.
The period, i.e. the time between two times mixing in the second audio,
can be specified, as well as the level with which the second one is
mixed into the first. The last parameter, a boolean, specifies whether
playback of the second audio should be finished if the first is finished
while mixing in the second.
If level == 0, playback of the first is not continued when playing the 
second, which means that it continues right where it was before 
playback of the second started.

IVR usage: 
    init(IvrAudioFile first, IvrAudioFile second, 
         int interval, float level, boolean finish)

C++ usage:
AmAudioMixIn::
  AmAudioMixIn(AmAudio* A, AmAudioFile* B, 
	       unsigned int interval, double level, 
	       bool finish_b_while_mixing = false);