Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
ffmemless: Add specific effect for SMS
Added new effect for SMS that utilizes the REPEAT functionality.

Signed-off-by: Kalle Jokiniemi <kalle.jokiniemi@jollamobile.com>
  • Loading branch information
Kalle Jokiniemi committed Jan 23, 2013
1 parent f749ea8 commit 95b2093
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/events.d/sms.ini
Expand Up @@ -19,6 +19,6 @@ sound.profile.fallback = sms.alert.tone@fallback => sound.filename
immvibe.profile = sms.alert.pattern@general => immvibe.filename
immvibe.profile.fallback = sms.alert.pattern@fallback => immvibe.filename
immvibe.lookup = true
ffmemless.effect = NGF_LONG
ffmemless.effect = NGF_SMS
sound.stream.event.id = message-new-email
sound.stream.module-stream-restore.id = x-meego-ringing-volume
17 changes: 16 additions & 1 deletion data/plugins.d/ffmemless.ini
Expand Up @@ -2,7 +2,7 @@
system_effects_file = /usr/share/jolla-settings/feedback.ini

# All effect name prefixes must be listed here, otherwise they don't get created
supported_effects = NGF_SHORT;NGF_LONG;NGF_STRONG;NGF_BATTERYLOW;NGF_RINGTONE;NGF_CLOCK
supported_effects = NGF_SHORT;NGF_LONG;NGF_STRONG;NGF_BATTERYLOW;NGF_RINGTONE;NGF_CLOCK;NGF_SMS

# Setting up the effect parameters.
# - The only mandatory parameter is _TYPE, if it's missing effect is not created
Expand Down Expand Up @@ -70,6 +70,21 @@ NGF_BATTERYLOW_ALEVEL = 0
NGF_BATTERYLOW_FADE = 180
NGF_BATTERYLOW_FLEVEL = 0

NGF_SMS_TYPE = periodic
NGF_SMS_WAVEFORM = sine
NGF_SMS_DURATION = 240
NGF_SMS_REPEAT = 2
NGF_SMS_DELAY = 140
NGF_SMS_PERIOD = 50
NGF_SMS_MAGNITUDE = 27000
NGF_SMS_OFFSET = 0
NGF_SMS_PHASE = 0
NGF_SMS_DIRECTION = forward
NGF_SMS_ATTACK = 0
NGF_SMS_ALEVEL = 0
NGF_SMS_FADE = 80
NGF_SMS_FLEVEL = 0

NGF_RINGTONE_TYPE = periodic
NGF_RINGTONE_WAVEFORM = sine
NGF_RINGTONE_DURATION = 2400
Expand Down

0 comments on commit 95b2093

Please sign in to comment.