Yup you sure could.
1. Disable notification sounds on SMS
2. Place your 'loud' and 'quiet' message sounds in a directory on your
SD Card somewhere
3. // are comments in instructions below :)
then in a single task:
On SMS from anyone saying anything { //create a new profile
if %SMST is set
set %SMSTC to (maths on) %SMST + 600 //calculate the last SMS time
+ 600 seconds (10min).
if %SMSTC > %SMST //10min has not passed since last txt so... ,
play quiet message sound
possibly vibrate
set %SMST = %TIMES //essentially resetting the
end if
if %SMSTC < %SMST //if the time now is greater than the last sms
time + 600 seconds, 10min has passed
unset %SMST //unset the last message time so loud message tone
will play
end if
end if
if %SMST is not set
play loud message sound
vibrate if you choose, pattern
set %SMST to %TIMES (time in seconds)
end if
}
All theory from my head, but should give you a good starting point!
Good luck.
Mike