Compare commits

...

1 Commits

Author SHA1 Message Date
Daniel Willmann 898be332d0 Comp effects with sound (need to enable edje_multisense)
I know comp.edc is probably not the right place for this, but so far
it's just for testing.

Sounds are CC0 from freesound.org

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-03-15 15:40:34 +00:00
4 changed files with 22 additions and 1 deletions

View File

@ -7,6 +7,7 @@ EDJE_FLAGS_VERBOSE_0 =
EDJE_FLAGS_VERBOSE_1 = -v
EDJE_FLAGS = $(EDJE_FLAGS_VERBOSE_$(V)) \
-id $(top_srcdir)/data/themes/img \
-sd $(top_srcdir)/data/themes/snd \
-fd $(top_srcdir)/data/themes/fnt \
@EDJE_DEF@
@ -723,7 +724,9 @@ img/O/wp-tb1.png \
img/O/wp-tb2.png \
img/O/wp-tb3.png \
img/O/wp-tbs.png \
img/outline_glow.png
img/outline_glow.png \
snd/boing.wav \
snd/siren.wav
default.edj: Makefile $(EXTRA_DIST)
$(EDJE_CC) $(EDJE_FLAGS) \

View File

@ -244,6 +244,16 @@ group { name: "e/comp/screen/overlay/noeffects";
group { name: "e/comp/default";
images.image: "win_shadow.png" COMP;
images.image: "win_glow.png" COMP;
sounds {
sample {
name: "boing" RAW;
source: "boing.wav";
}
sample {
name: "siren" RAW;
source: "siren.wav";
}
}
parts {
part { name: "clipper"; type: RECT;
description { state: "default" 0.0;
@ -383,6 +393,10 @@ group { name: "e/comp/default";
transition: SINUSOIDAL 0.1;
target: "glow";
target: "focus-clipper";
after: "focus_sound";
}
program { name: "focus_sound";
action: PLAY_SAMPLE "boing" 1.0;
after: "focus2";
}
program { name: "focus2";
@ -409,6 +423,10 @@ group { name: "e/comp/default";
action: STATE_SET "focused" 0.0;
transition: SINUSOIDAL 0.3;
target: "glow";
after: "urgent_sound";
}
program { name: "urgent_sound";
action: PLAY_SAMPLE "siren" 1.0;
after: "urgent2";
}
program { name: "urgent2";

BIN
data/themes/snd/boing.wav Normal file

Binary file not shown.

BIN
data/themes/snd/siren.wav Normal file

Binary file not shown.