summaryrefslogtreecommitdiffstats
path: root/data/sounds/README.txt
blob: 193fd7179f5fb84d61b5222c942b290e0e570487 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
This README describes the audio assets, and how they relate to each other.

The product .mk references one of the AudioPackage*.mk,
which installs the appropriate assets into the destination directory.

For UI sound effects,
frameworks/base/media/java/android/media/AudioService.java array
SOUND_EFFECT_FILES contains a hard-coded list of asset filenames, stored
in directory SOUND_EFFECTS_PATH.

Touch sounds
------------

effects/Effect_Tick.ogg
  old, referenced by AudioPackage[2345].mk OriginalAudio.mk

effects/ogg/Effect_Tick.ogg
  new, referenced by AudioPackage[6789].mk AudioPackage7alt.mk AudioPackage10.mk

effects/ogg/Effect_Tick_48k.ogg
  oggdec -o temp.wav ogg/Effect_Tick.ogg
  sox temp.wav -r 48000 temp48k.wav
  oggenc -b 80 -o ogg/Effect_Tick_48k.ogg temp48k.wav

effects/wav/Effect_Tick.wav
  does not appear to be related to the other files in any obvious way

Video recording
---------------

./effects/ogg/VideoStop_48k.ogg
  unused