Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Side by Side Diff: third_party/WebKit/Source/platform/audio/resources/README

Issue 2537183002: Encode HRTF database using FLAC (Closed)
Patch Set: Remove unneeded files. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 See https://bugs.webkit.org/show_bug.cgi?id=98294#c9.
2
3 Here is how to create Composite.wav from the indidividual responses:
4
5 AUDIO_DIR="WebKit/Source/platform/audio/resources"
6 sox $( \
7 for azimuth in {0..23}; do \
8 for elevation in 0 15 30 45 60 75 90 315 330 345; do \
9 printf "$AUDIO_DIR/IRC_Composite_C_R0195_T%03d_P%03d.wav\n" "$(expr $azimu th \* 15)" "$elevation"; \
10 done; \
11 done;) \
12 Composite.wav
13
14 To create the FLAC-encoded version:
15
16 avconv -i Composite.wav Composite.flac
17
18 If you change Composite.flac (or Composite.wav), be sure to update
19 LayoutTests/webaudio/resources/hrtf with the updated files!
20
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698