uifw/AvKon/srcdata/AvkonSystemSounds.ra
branchRCL_3
changeset 9 0aa5fbdfbc30
parent 0 2f259fa3e83a
child 17 a1caeb42b3a3
equal deleted inserted replaced
8:71dd06cfe933 9:0aa5fbdfbc30
    16 */
    16 */
    17 //
    17 //
    18 // Avkon Default KeySounds
    18 // Avkon Default KeySounds
    19 //
    19 //
    20 
    20 
       
    21 #define KVolumeMinSoundFile "z:\\resource\\avkonsystemsounds\\volume_min.wav"
       
    22 #define KVolumeMaxSoundFile "z:\\resource\\avkonsystemsounds\\volume_max.wav"
       
    23 #define KBatteryLowSoundFile "z:\\resource\\avkonsystemsounds\\battery_low.wav"
       
    24 #define KDefaultBeepSoundFile "z:\\resource\\avkonsystemsounds\\default_beep.wav"
       
    25 #define KBatteryRechargeSoundFile "z:\\resource\\avkonsystemsounds\\battery_dead.wav"
       
    26 
       
    27 
    21 RESOURCE AVKON_SOUND_INFO_LIST r_avkon_default_sound_list
    28 RESOURCE AVKON_SOUND_INFO_LIST r_avkon_default_sound_list
    22 	{
    29 	{
    23 	list=
    30 	list=
    24 		{
    31 		{
    25 
    32 
    42 		AVKON_SOUND_INFO 
    49 		AVKON_SOUND_INFO 
    43 			{
    50 			{
    44 			sid=EAvkonSIDConfirmationTone; 
    51 			sid=EAvkonSIDConfirmationTone; 
    45 			priority=EAvkonConfirmationNotePriority; 
    52 			priority=EAvkonConfirmationNotePriority; 
    46 			preference=EAvkonConfirmationNotePreference;
    53 			preference=EAvkonConfirmationNotePreference;
    47 			sequencelength=6;
    54 			//sequencelength=6;
    48 			sequence={0,17,10,118,17,11};
    55 			//sequence={0,17,10,118,17,11};
    49 			// 0x00 = 0  = OPCODE_SEQUENCE_START
    56 			// 0x00 = 0  = OPCODE_SEQUENCE_START
    50 			// 0x11 = 17 = OPCODE_DURATION_UNIT
    57 			// 0x11 = 17 = OPCODE_DURATION_UNIT
    51             // 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick
    58             // 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick
    52 			// 0x76 = 118 => 118-64=54=AUD_TONE_RING_FREQ_F2	 = 1397Hz
    59 			// 0x76 = 118 => 118-64=54=AUD_TONE_RING_FREQ_F2	 = 1397Hz
    53 			// 0x11 = 17 = tone_tick = 170ms
    60 			// 0x11 = 17 = tone_tick = 170ms
    54 			// 0x0B = 11 = OPCODE_END 
    61 			// 0x0B = 11 = OPCODE_END 
       
    62 			file = KDefaultBeepSoundFile;
    55 			volume = 5;
    63 			volume = 5;
    56 			},
    64 			},
    57 		AVKON_SOUND_INFO 
    65 		AVKON_SOUND_INFO 
    58 			{
    66 			{
    59 			sid=EAvkonSIDErrorTone; 
    67 			sid=EAvkonSIDErrorTone; 
    60 			priority=EAvkonErrorNotePriority;
    68 			priority=EAvkonErrorNotePriority;
    61 			preference=EAvkonErrorNotePreference;
    69 			preference=EAvkonErrorNotePreference;
    62 			sequencelength=6;
    70 			//sequencelength=6;
    63 			sequence={0,17,10,108,25,11};
    71 			//sequence={0,17,10,108,25,11};
    64 			// 0x00 = 0  = OPCODE_SEQUENCE_START
    72 			// 0x00 = 0  = OPCODE_SEQUENCE_START
    65 			// 0x11 = 17 = OPCODE_DURATION_UNIT
    73 			// 0x11 = 17 = OPCODE_DURATION_UNIT
    66 			// 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick
    74 			// 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick
    67 			// 0x6C = 108 => 108-64=44=AUD_TONE_RING_FREQ_G1	 = 784Hz
    75 			// 0x6C = 108 => 108-64=44=AUD_TONE_RING_FREQ_G1	 = 784Hz
    68 			// 0x19 = 25 = tone_tick = 250ms
    76 			// 0x19 = 25 = tone_tick = 250ms
    69 			// 0x0B = 11 = OPCODE_END 
    77 			// 0x0B = 11 = OPCODE_END 
       
    78 			file = KDefaultBeepSoundFile;
    70 			volume = 5;
    79 			volume = 5;
    71 			},
    80 			},
    72 		AVKON_SOUND_INFO 
    81 		AVKON_SOUND_INFO 
    73 			{
    82 			{
    74 			sid=EAvkonSIDWarningTone; 
    83 			sid=EAvkonSIDWarningTone; 
    75 			priority=EAvkonWarningNotePriority; 
    84 			priority=EAvkonWarningNotePriority; 
    76 			preference=EAvkonWarningNotePreference;
    85 			preference=EAvkonWarningNotePreference;
    77 			sequencelength=6;
    86 			//sequencelength=6;
    78 			sequence={0,17,10,108,25,11};
    87 			//sequence={0,17,10,108,25,11};
    79 			// 0x00 = 0  = OPCODE_SEQUENCE_START
    88 			// 0x00 = 0  = OPCODE_SEQUENCE_START
    80 			// 0x11 = 17 = OPCODE_DURATION_UNIT
    89 			// 0x11 = 17 = OPCODE_DURATION_UNIT
    81 			// 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick
    90 			// 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick
    82 			// 0x6C = 108 => 108-64=44=AUD_TONE_RING_FREQ_G1	 = 784Hz
    91 			// 0x6C = 108 => 108-64=44=AUD_TONE_RING_FREQ_G1	 = 784Hz
    83 			// 0x19 = 25 = tone_tick = 250ms
    92 			// 0x19 = 25 = tone_tick = 250ms
    84 			// 0x0B = 11 = OPCODE_END 
    93 			// 0x0B = 11 = OPCODE_END 
       
    94 			file = KDefaultBeepSoundFile;
    85 			volume = 5;
    95 			volume = 5;
    86 			},
    96 			},
    87 
    97 
    88 		AVKON_SOUND_INFO 
    98 		AVKON_SOUND_INFO 
    89 			{
    99 			{
    90 			sid=EAvkonSIDVolumeMinTone; 
   100 			sid=EAvkonSIDVolumeMinTone; 
    91 			priority=EAvkonVolumeSettingTonesPriority; 
   101 			priority=EAvkonVolumeSettingTonesPriority; 
    92 			preference=EAknAudioPrefAudioVolumeMin;
   102 			preference=EAknAudioPrefAudioVolumeMin;
    93 			sequencelength=6;
   103 			//sequencelength=6;
    94 			sequence={0,17,10,113,6,11};
   104 			//sequence={0,17,10,113,6,11};
    95 		   	// 0x00 = 0  = OPCODE_SEQUENCE_START
   105 		   	// 0x00 = 0  = OPCODE_SEQUENCE_START
    96 			// 0x11 = 17 = OPCODE_DURATION_UNIT
   106 			// 0x11 = 17 = OPCODE_DURATION_UNIT
    97 			// 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick
   107 			// 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick
    98 			// 0x71 = 113 => 113-64=49=AUD_TONE_RING_FREQ_C2	 = 1047Hz
   108 			// 0x71 = 113 => 113-64=49=AUD_TONE_RING_FREQ_C2	 = 1047Hz
    99 			// 0x06 = 6 = tone_tick = 60ms
   109 			// 0x06 = 6 = tone_tick = 60ms
   100 			// 0x0B = 11 = OPCODE_END
   110 			// 0x0B = 11 = OPCODE_END
       
   111 			file = KVolumeMinSoundFile;
   101 			volume = 9;
   112 			volume = 9;
   102 			},
   113 			},
   103 		AVKON_SOUND_INFO 
   114 		AVKON_SOUND_INFO 
   104 			{
   115 			{
   105 			sid=EAvkonSIDVolumeMaxTone; 
   116 			sid=EAvkonSIDVolumeMaxTone; 
   106 			priority=EAvkonVolumeSettingTonesPriority; 
   117 			priority=EAvkonVolumeSettingTonesPriority; 
   107 			preference=EAknAudioPrefAudioVolumeMax;
   118 			preference=EAknAudioPrefAudioVolumeMax;
   108 			sequencelength=6;
   119 			//sequencelength=6;
   109 			sequence={0,17,10,122,6,11};
   120 			//sequence={0,17,10,122,6,11};
   110 		   	// 0x00 = 0  = OPCODE_SEQUENCE_START
   121 		   	// 0x00 = 0  = OPCODE_SEQUENCE_START
   111 			// 0x11 = 17 = OPCODE_DURATION_UNIT
   122 			// 0x11 = 17 = OPCODE_DURATION_UNIT
   112 			// 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick
   123 			// 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick
   113 			// 0x7A = 122 => 122-64=58=AUD_TONE_RING_FREQ_A3	 = 1760Hz
   124 			// 0x7A = 122 => 122-64=58=AUD_TONE_RING_FREQ_A3	 = 1760Hz
   114 			// 0x06 = 6 = tone_tick = 60ms
   125 			// 0x06 = 6 = tone_tick = 60ms
   115 			// 0x0B = 11 = OPCODE_END
   126 			// 0x0B = 11 = OPCODE_END
       
   127 			file = KVolumeMaxSoundFile;
   116 			volume = 6;
   128 			volume = 6;
   117 			},
   129 			},
   118 		AVKON_SOUND_INFO 
   130 		AVKON_SOUND_INFO 
   119 			{
   131 			{
   120 			sid=EAvkonSIDReadialCompleteTone; 
   132 			sid=EAvkonSIDReadialCompleteTone; 
   137 		AVKON_SOUND_INFO 
   149 		AVKON_SOUND_INFO 
   138 			{
   150 			{
   139 			sid=EAvkonSIDBatteryLowTone; 
   151 			sid=EAvkonSIDBatteryLowTone; 
   140 			priority=EAvkonChargingTonesPriority; 
   152 			priority=EAvkonChargingTonesPriority; 
   141 			preference=EAknAudioPrefBatteryLow;
   153 			preference=EAknAudioPrefBatteryLow;
   142 			sequencelength=10;
   154 			//sequencelength=10;
   143 			sequence={0,17,10,104,15,102,22,99,30,11};
   155 			//sequence={0,17,10,104,15,102,22,99,30,11};
   144 		   	// 0x00 = 0  = OPCODE_SEQUENCE_START
   156 		   	// 0x00 = 0  = OPCODE_SEQUENCE_START
   145 			// 0x11 = 17 = OPCODE_DURATION_UNIT
   157 			// 0x11 = 17 = OPCODE_DURATION_UNIT
   146 			// 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick
   158 			// 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick
   147 			// 0x68 = 104 => 104-64=40=AUD_TONE_RING_FREQ_E1b	 = 622Hz
   159 			// 0x68 = 104 => 104-64=40=AUD_TONE_RING_FREQ_E1b	 = 622Hz
   148 			// 0x0F = 15 = tone_tick = 150ms
   160 			// 0x0F = 15 = tone_tick = 150ms
   149 			// 0x66 = 102 => 102-64=38=AUD_TONE_RING_FREQ_D1b	 = 554Hz
   161 			// 0x66 = 102 => 102-64=38=AUD_TONE_RING_FREQ_D1b	 = 554Hz
   150 			// 0x16 = 22 = tone_tick = 220ms
   162 			// 0x16 = 22 = tone_tick = 220ms
   151 			// 0x63 = 99 => 99-64=35=AUD_TONE_RING_FREQ_A1    = 440Hz
   163 			// 0x63 = 99 => 99-64=35=AUD_TONE_RING_FREQ_A1    = 440Hz
   152 			// 0x1E = 30 = tone_tick = 300ms
   164 			// 0x1E = 30 = tone_tick = 300ms
   153 			// 11 = OPCODE_END
   165 			// 11 = OPCODE_END
       
   166 			file = KBatteryLowSoundFile;
   154 			volume = 5;
   167 			volume = 5;
   155 			},
   168 			},
   156 		AVKON_SOUND_INFO 
   169 		AVKON_SOUND_INFO 
   157 			{
   170 			{
   158 			sid=EAvkonSIDChargingBatteryTone; 
   171 			sid=EAvkonSIDChargingBatteryTone; 
   205 		AVKON_SOUND_INFO 
   218 		AVKON_SOUND_INFO 
   206 			{
   219 			{
   207 			sid=EAvkonSIDDefaultSound; 
   220 			sid=EAvkonSIDDefaultSound; 
   208 			priority=EAvkonLowLevelNotesPriority;
   221 			priority=EAvkonLowLevelNotesPriority;
   209 			preference=EAknAudioPrefDefaultTone;
   222 			preference=EAknAudioPrefDefaultTone;
   210 			sequencelength=6;
   223 			//sequencelength=6;
   211 			sequence={0,17,10,118,10,11};
   224 			//sequence={0,17,10,118,10,11};
   212 		   	// 0x00 = 0  = OPCODE_SEQUENCE_START
   225 		   	// 0x00 = 0  = OPCODE_SEQUENCE_START
   213 			// 0x11 = 17 = OPCODE_DURATION_UNIT
   226 			// 0x11 = 17 = OPCODE_DURATION_UNIT
   214 			// 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick
   227 			// 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick
   215 			// 0x76 = 118 => 118-64=54=AUD_TONE_RING_FREQ_F2	 = 1397Hz
   228 			// 0x76 = 118 => 118-64=54=AUD_TONE_RING_FREQ_F2	 = 1397Hz
   216 			// 0x0A = 10 = tone_tick = 100ms
   229 			// 0x0A = 10 = tone_tick = 100ms
   217 			// 0x0B = 11 = OPCODE_END
   230 			// 0x0B = 11 = OPCODE_END
       
   231 			file = KDefaultBeepSoundFile;
   218   			volume = 5;
   232   			volume = 5;
   219 			},
   233 			},
   220 		AVKON_SOUND_INFO 
   234 		AVKON_SOUND_INFO 
   221 			{
   235 			{
   222 			sid=EAvkonSIDOperationReadyTone; 
   236 			sid=EAvkonSIDOperationReadyTone; 
   302 		AVKON_SOUND_INFO 
   316 		AVKON_SOUND_INFO 
   303 			{
   317 			{
   304 			sid=EAvkonSIDPowerOffTone; 
   318 			sid=EAvkonSIDPowerOffTone; 
   305 			priority=EAvkonPoweringTonesPriority;
   319 			priority=EAvkonPoweringTonesPriority;
   306 			preference=EAknAudioPrefPowerOff;
   320 			preference=EAknAudioPrefPowerOff;
   307 			sequencelength=6;
   321 			//sequencelength=6;
   308 			sequence={0,17,10,118,10,11};
   322 			//sequence={0,17,10,118,10,11};
   309 			// 0x00 = 0  = OPCODE_SEQUENCE_START
   323 			// 0x00 = 0  = OPCODE_SEQUENCE_START
   310 			// 0x11 = 17 = OPCODE_DURATION_UNIT
   324 			// 0x11 = 17 = OPCODE_DURATION_UNIT
   311 			// 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick
   325 			// 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick
   312 			// 0x76 = 118 => 118-64=54=AUD_TONE_RING_FREQ_F2	 = 1397Hz
   326 			// 0x76 = 118 => 118-64=54=AUD_TONE_RING_FREQ_F2	 = 1397Hz
   313 			// 0x0A = 10 = tone_tick = 100ms
   327 			// 0x0A = 10 = tone_tick = 100ms
   314 			// 0x0B = 11 = OPCODE_END
   328 			// 0x0B = 11 = OPCODE_END
       
   329 			file = KDefaultBeepSoundFile;
   315 			volume = 5;
   330 			volume = 5;
   316 			},
   331 			},
   317 
   332 
   318 		AVKON_SOUND_INFO 
   333 		AVKON_SOUND_INFO 
   319 			{
   334 			{
   320 			sid=EAvkonSIDPowerOnTone; 
   335 			sid=EAvkonSIDPowerOnTone; 
   321 			priority=EAvkonPoweringTonesPriority;
   336 			priority=EAvkonPoweringTonesPriority;
   322 			preference=EAknAudioPrefPowerOn;
   337 			preference=EAknAudioPrefPowerOn;
   323 			sequencelength=6;
   338 			//sequencelength=6;
   324 			sequence={0,17,10,118,10,11};
   339 			//sequence={0,17,10,118,10,11};
   325 			// 0x00 = 0  = OPCODE_SEQUENCE_START
   340 			// 0x00 = 0  = OPCODE_SEQUENCE_START
   326 			// 0x11 = 17 = OPCODE_DURATION_UNIT
   341 			// 0x11 = 17 = OPCODE_DURATION_UNIT
   327 			// 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick
   342 			// 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick
   328 			// 0x76 = 118 => 118-64=54=AUD_TONE_RING_FREQ_F2	 = 1397Hz
   343 			// 0x76 = 118 => 118-64=54=AUD_TONE_RING_FREQ_F2	 = 1397Hz
   329 			// 0x0A = 10 = tone_tick = 100ms
   344 			// 0x0A = 10 = tone_tick = 100ms
   330 			// 0x0B = 11 = OPCODE_END
   345 			// 0x0B = 11 = OPCODE_END
       
   346 			file = KDefaultBeepSoundFile;
   331 			volume = 5;
   347 			volume = 5;
   332 			},
   348 			},
   333 		AVKON_SOUND_INFO 
   349 		AVKON_SOUND_INFO 
   334 			{
   350 			{
   335 			sid=EAvkonSIDRechargeBatteryTone; 
   351 			sid=EAvkonSIDRechargeBatteryTone; 
   336 			priority=EAvkonChargingTonesPriority;
   352 			priority=EAvkonChargingTonesPriority;
   337 			preference=EAknAudioPrefRechargeBattery;
   353 			preference=EAknAudioPrefRechargeBattery;
   338 			sequencelength=12;
   354 			//sequencelength=12;
   339 			sequence={0,17,10,104,15,102,22,99,30,96,45,11};
   355 			//sequence={0,17,10,104,15,102,22,99,30,96,45,11};
   340 			// 0x00 = 0  = OPCODE_SEQUENCE_START
   356 			// 0x00 = 0  = OPCODE_SEQUENCE_START
   341 			// 0x11 = 17 = OPCODE_DURATION_UNIT
   357 			// 0x11 = 17 = OPCODE_DURATION_UNIT
   342 			// 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick
   358 			// 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick
   343 			// 0x68 = 104 => 104-64=40=AUD_TONE_RING_FREQ_E1b	 = 622Hz
   359 			// 0x68 = 104 => 104-64=40=AUD_TONE_RING_FREQ_E1b	 = 622Hz
   344 			// 0x0F = 15 = tone_tick = 150ms
   360 			// 0x0F = 15 = tone_tick = 150ms
   347 			// 0x63 = 99 => 99-64=35=AUD_TONE_RING_FREQ_A1    = 440Hz
   363 			// 0x63 = 99 => 99-64=35=AUD_TONE_RING_FREQ_A1    = 440Hz
   348 			// 0x1E = 30 = tone_tick = 300ms
   364 			// 0x1E = 30 = tone_tick = 300ms
   349 			// 0x60 = 96 => 96-64=32=AUD_TONE_RING_FREQ_G0    = 392Hz
   365 			// 0x60 = 96 => 96-64=32=AUD_TONE_RING_FREQ_G0    = 392Hz
   350 			// 0x2D = 45 = tone_tick = 450ms
   366 			// 0x2D = 45 = tone_tick = 450ms
   351 			// 0x0B = 11 = OPCODE_END
   367 			// 0x0B = 11 = OPCODE_END
       
   368 			file = KBatteryRechargeSoundFile;
   352 			volume = 5;
   369 			volume = 5;
   353 			},
   370 			},
   354 
   371 
   355 		AVKON_SOUND_INFO 
   372 		AVKON_SOUND_INFO 
   356 			{
   373 			{