music.hrtf_dir¶
- music.hrtf_dir()[source]¶
Where the measurements are, or would go.
- Returns:
Path$MUSIC_HRTF_DIRif it is set, and otherwise a directory in the per-user cache. It need not exist yet.
- Return type:
See also
setup_hrtfputs them there.
Examples
>>> str(hrtf_dir()).endswith("kemar") True
Setting
$MUSIC_HRTF_DIRoverrides it, which is how to use a copy of the measurements from somewhere else. This example does not set it, because a docstring that changes the environment changes it for whatever runs next.