Rendered directly from libcleftaudio.so: Cycles across four biological ear anatomies
(4 s each: 0–4 s Human Pinna elevation sweep showing shifting spectral notches,
4–8 s Cat Parabolic Funnel azimuth orbit + swivel, 8–12 s Barn Owl Asymmetric Ears
median-plane sweep displaying the unmistakable L↔R vertical ILD crossover, and 12–16 s Microbat 0.5 mm Pinna + Tragus)
with real exported micro-voxel cross-sections, live bounce rays, live HRTF spectra, and synchronized binaural HRIR audio.
Millimeter Pinna Micro-Voxel Shell (L_ear) · Interactive Bioacoustic Studio
Outer-Ear Reflection Simulator & Custom Species Ear Designer
Sound localization depends on how waves bounce inside the folds of the outer ear before reaching the eardrum, creating elevation notches, front–back disambiguation, parabolic gain, and species-specific binaural cues. Select a biological species preset or sculpt your own ear geometry, drag the sound source in 3D, inspect live coherent HRTF spectra, and audition live with headphones. Export any design as JSON directly into CleftAudio's C++/Python engine.
1. Sound Source Position (3D)
Az 0° · El 0°2. Ear & Head Geometry Designer
EarModelSpecLive Ear Pinna Micro-Raytracing (Left & Right Ears)
Direct (Teal) · 1st Bounce (Gold) · 2nd+ Bounce (Coral)Top-down horizontal slice (left/right pinnae flanking spherical head) plus side elevation view showing helix rim, concha cavity, antihelix ridge, tragus flap, canal entrance sensor, and vertical Δz asymmetry.
Coherent HRTF Spectrum (200 Hz – 20 kHz)
H(f) = Σ a_k · e^(−j2πfτ_k)Solid teal = Left ear; solid amber = Right ear; dashed = Pinna-Off sphere baseline; vertical crimson line marks the primary elevation spectral notch.
Polar Gain & Elevation ILD
Azimuthal Lobe + Barn Owl Δz CueTop: 360° horizontal directivity gain (L/R). Bottom strip: vertical elevation ILD (R−L dB) at az = 0° (symmetric ears stay near 0 dB while Barn Owl flips sign sharply).
Multi-Scale Room-to-Pinna Reflection Physics
01 / Extending Adaptive Voxel LOD to 0.4–2.0 mmUnified multi-scale architecture. Macro room bounces (L3–L1, 0.20–1.60 m) and near-head reflections (L0, 5 cm) hand directional wave arrivals to the millimeter pinna micro-voxel shell (L_ear, 0.4–2.0 mm). Coherent superposition of direct and bounce path differences Δd = 1.5–3.2 cm generates destructive elevation notches at fn = (2m−1)c/(2Δd).
Native C++20 Micro-Voxel Ear Engine & Species Benchmarks
02 / Experiment 5 · Video V5 · Audio A6–A7Use headphones and press play on any species, then click play on another to switch live mid-trajectory. All five tracks share an identical anechoic broadband pulse + click + chime trajectory and shared Human gain reference. During the 4–8 s median-plane elevation sweep (az = 0°), notice how Pinna-Off Sphere sounds flat, Human shifts spectral notch timbre vertically, and Barn Owl sweeps unmistakably from Left ear to Right ear!
Full multi-scale simulation: rays first traverse the 4.0×3.5×2.6 m furnished Cleftverse v6 room (L3→L0)
and then convolve directly with millimeter micro-voxel pinna HRIRs (L_ear). Toggle between
Human Pinna and Cat Swiveled Parabolic Ears (+3.55 dB acoustic amplification when steered toward the sound source).
Table E5: Native C++20 Experiment 5 results across all 7 built-in presets, Cat Swivel (+55°), and a user-sculpted Custom 3D Micro-Voxel Cup (1,024 rays/ear × 5 bounces @ 48 kHz, experiments/results/ear_species_table.csv).
| Ear Model | Head R | Voxel | Micro-Grid | ITD +90° | ILD +90° | Fwd Gain | Front–Back | Elev Cue | Vert ILD ±30° | Bounces | 25-Dir Batch |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Human (H. sapiens) | 87.5 mm | 1.50 mm | 43×54×67 | +655.8 µs | +12.24 dB | +5.79 dB | 13.13 dB | 2.35 dB | 0.3 dB | 2.51 | 9.9 ms |
| Cat (F. catus) | 45.0 mm | 1.50 mm | 50×59×59 | +236.8 µs | +10.72 dB | +2.83 dB | 14.50 dB | 5.10 dB | 0.0 dB | 1.37 | 8.6 ms |
| Red Fox (V. vulpes) | 52.0 mm | 2.00 mm | 51×57×73 | +265.9 µs | +7.31 dB | +3.27 dB | 17.56 dB | 5.02 dB | 0.0 dB | 1.46 | 8.7 ms |
| Barn Owl (T. alba) | 38.0 mm | 1.50 mm | 46×55×48 | +248.6 µs | +10.83 dB | +3.54 dB | 20.41 dB | 7.31 dB | 22.7 dB | 1.23 | 8.0 ms |
| Microbat (E. fuscus) | 11.0 mm | 0.50 mm | 70×91×82 | +61.7 µs | +5.55 dB | +7.63 dB | 12.89 dB | 1.18 dB | 0.0 dB | 1.15 | 9.4 ms |
| Rabbit (O. cuniculus) | 42.0 mm | 2.00 mm | 43×50×76 | +212.2 µs | +9.77 dB | +0.64 dB | 15.80 dB | 6.70 dB | 0.1 dB | 1.46 | 8.4 ms |
| Pinna-Less Sphere (Control) | 87.5 mm | 2.00 mm | 14×20×20 | +655.8 µs | +14.68 dB | 0.00 dB | 0.00 dB | 0.00 dB | 0.0 dB | 0.00 | 6.2 ms |
| Cat (Right Swivel +55°) | 45.0 mm | 1.50 mm | 50×59×59 | +236.8 µs | +12.63 dB | +0.57 dB | 12.98 dB | 3.19 dB | 7.1 dB | 1.37 | 8.9 ms |
| Custom Sculpted Cup | 87.5 mm | 1.50 mm | 24×34×44 | +655.8 µs | +23.12 dB | -5.71 dB | 7.04 dB | 6.08 dB | 0.1 dB | 2.52 | 8.7 ms |
Every JSON profile exported from the interactive studio above loads directly into CleftAudio's native C++20 millimeter voxel raytracer (engine/include/ear_model.hpp, ca_ear_model_create) and Python API (python/cleftaudio/ears.py). In addition to parametric species profiles, researchers can sculpt arbitrary 3D uint8_t micro-voxel grids via sculpt_custom_ear_voxels() and pass them straight into ca_ear_model_create_custom_voxels().
from cleftaudio import CleftAudioEarModel, load_ear_profile
spec = load_ear_profile("custom_ear.json") # Exported from this studio
with CleftAudioEarModel(spec) as ear:
# Head-local direction (+X right, +Y forward, +Z up)
hrir = ear.trace_direction((0.453, 0.785, 0.423), num_rays=1024)
print(f"ITD={hrir.itd_us:.1f} us, ILD={hrir.ild_db:+.2f} dB")