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>
devs/asdfuser/comp-sounds
Daniel Willmann 10 years ago
parent 5a61d5f733
commit 898be332d0
  1. 5
      data/themes/Makefile.am
  2. 18
      data/themes/edc/comp.edc
  3. BIN
      data/themes/snd/boing.wav
  4. BIN
      data/themes/snd/siren.wav

@ -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) \

@ -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";

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save