PNEASPsychoacoustic Neuroadaptive Electroacoustic Simulator

Authorship: NEUROMORFIC project team led by Prof. Andrzej Czyżewski, with programming assistance from the Fable 5.2 Max model by Anthropic.
Simulation of hearing through a cochlear implant, including preserved residual hearing (EAS), with the sound tuned by the patient and the option of repeating the examination periodically in the same individuals to track auditory adaptation. Patient panel: sliders described in plain language. Technical settings: an acoustic path driven by the audiogram, an electric path implemented as a multichannel vocoder with MapLaw compression, configuration from Otoplan.
PNEAS v6.4
Web Audio · ES2020
EN · 2026
RESET:

Where do we start?

If you have a report from the Otoplan software (electrode positions, place frequencies, processor map), load it now: the simulation will then take the patient’s actual electrode positions into account. You can also continue without these data and work with the sound sliders only.

Load data from Otoplan The “Postop analysis” report from Otoplan 4 in PDF format (also the older PPTX export), a configuration previously saved from this program (JSON), or a CSV table. Everything is processed in the browser; no files are uploaded.
Continue without Otoplan data Patient panel with four sound archetypes and seven sliders. Formant relocation according to the implant map will be disabled; all other functions work.
01

Input signal

WAV file, mono/stereo · any sampling rate
No signal loaded.
01b

EAS path balance

Power ratio of the acoustic (A) and electric (E) paths in the output signal · 100 % E = implant only
A ←→ E A 50% · E 50%
02

Audiogram

Click on the chart or type dB HL values directly into the fields
Load audiogram from file
JSON · CSV · PNG/JPG (automatic extraction)
Clinical database — 85 EAS patients (anonymized)
Or choose a preset
Simulated ear
Right ear (R)
Left ear (L)
Audiometric frequencies: 0.125 · 0.25 · 0.5 · 0.75 · 1 · 1.5 · 2 · 3 · 4 · 6 · 8 kHz · dB HL range: −10 … +120
02T

Pure-tone audiometry — hearing test

Simplified Hughson-Westlake procedure · the result is written directly to the audiogram
Note: This listening test is relative — the dB HL values reflect the scale of the particular user’s headphones and do not replace calibrated clinical audiometry. Before you start: set the system volume to a comfortable level during calibration (below) and do not change it during the test.
Level calibration
Adjust the volume so that this tone is clearly audible but comfortable.
Tested ear
Test controls
02S

Speech-in-noise audiometry

Custom word list · browser speech synthesis · configurable noise · the result goes to speech audiometry
Note: A method inspired by the HINT/PSMT tests used at IFPS — words mixed with noise are presented at various signal-to-noise ratios (SNR). Speech synthesis uses a Polish voice available in the browser; its quality depends on the operating system. SNR values are relative, not calibrated in absolute dB SPL.
Test word list (one per line or separated by commas)
Recommended: simple, phonemically balanced Polish monosyllables (modelled on NLA-93 by Pruszewicz et al.).
Synthesis voice (if available)
Masking noise type
SNR level (dB) — relative
0 dB
Negative values = speech quieter than the noise (harder). The 50% intelligibility threshold typically lies between −5 and +5 dB SNR.
Test controls
03

Acoustic path — residual hearing

Zero-phase equalizer following the audiogram · prescriptive gain · at 0 dB HL and full bandwidth the signal is unchanged
Upper limit of residual hearing
full band
Global gain of the acoustic path
0 dB
Gain correction in the filter bands (dB relative to the prescriptive gain; centre = 0 dB)
Dynamic range compressor · acoustic path
input level [dB FS] → output level [dB FS]
04

Electric path — cochlear implant

Tone vocoder · logarithmic bands or the patient map (panel 04b) · envelope + MapLaw
Number of active electrodes
12
Spread of excitation
20 %
Envelope cutoff frequency
160 Hz
Channel envelope compression: MapLaw (MED-EL)
default 500
54 dB
Global gain of the electric path
0 dB
Electrode stimulation currents (T/C levels, 0–100 %)
Dynamic range compressor · electric path (front-end AGC)
input level [dB FS] → output level [dB FS]
04b

Implant configuration (Otoplan): patient map and frequency-to-place mismatch

Electrode positions from CT · OC/SG frequency-place functions · processor map · place-based map generator
Electric path mode
Frequency-place function
Channel weights
Data source
no report loaded
Patient metadata and cochlear geometry
Contact table: position, place frequency, processor map
Frequency-to-place mismatch plot
EAS acoustic path: aided thresholds and gap/overlap handling
Acoustic path limit
05b

Spectral transforms and neuromorphic coding

Experimental module — signal processing in the transform domain with optional neuromorphic coding (TTFS)
Role of the transform in the EAS signal:

Post-processing: the acoustic and electric paths work normally; the transform is applied to their mix.

DWT with the Daubechies-5 wavelet gives the best WER results (Tumialis et al. 2026).

Larger block = better frequency resolution, longer delay.

Amplitude spectrum of the signal (after the EAS mixer)
Click and drag with the mouse to select a region · click × to remove it
Load a signal first to see the spectrum.

No regions selected. Select a region on the spectrum plot above.

LIF: first-order differential equation (τ·dv/dt = -(v−Vrest) + R·I). Stable, low sensitivity to noise.

200

Paper: DWT with regular sampling and 500 samples gives the best WER ≈12%.

Simulates disturbances in a real neuromorphic transmission channel.

⚡ Estimated energy gain relative to a classical digital filter bank
Enable transform processing to see the estimate.
06

Processing

Load a signal to begin.
07

Output

Play and compare · download a 16-bit WAV file

Original signal

EAS simulation

Methodological notes

Acoustic path. A zero-phase equalizer (linear-phase FIR filter, 4096 coefficients, frequency-domain convolution with delay compensation). The gain curve is determined at 11 audiometric frequencies: G = −dBHL + g_prot + g_user + g_master, where dBHL is the threshold from the audiogram of the selected ear, g_prot is the prescriptive gain (half of the loss, up to 40 dB), and g_user is the slider correction; between the points the gain is interpolated linearly in dB on a logarithmic frequency axis. The upper limit of residual hearing is the magnitude response of a 4th-order Butterworth filter (24 dB/oct), by default derived from the audiogram as the frequency at which the threshold exceeds 65 dB HL (Vermeire et al. 2008; Dillon et al. 2022); when the threshold nowhere exceeds 65 dB HL, the filter is bypassed. With a 0 dB HL audiogram and full bandwidth the path returns the input signal unchanged. Up to version 6.2 the path was a sum of 11 band-pass filters, which left notches between the bands even for normal hearing.

Dynamic range compressor. A classical wideband compressor with a peak envelope detector and adjustable attack/release times (leaky-integrator model with time constant T63). It compensates for loudness recruitment (abnormally rapid growth of loudness in impaired hearing), following the approach described by Suchomski & Czyżewski (MHAFS, AES 1999) and Suchomski & Odya (KKRRiT 2011). Transfer characteristic: out = in for in ≤ threshold; out = threshold + (in − threshold)/ratio + makeup for in > threshold. Hard knee.

Electric path. A tone vocoder (sinusoidal carriers; the noise carrier was removed in version 6.3 because the intrinsic envelope fluctuations of narrow noise bands disturb the speech envelope: Whitmal et al. 2007). The 100 Hz – 8 kHz band is divided into N = 5–22 logarithmic channels (a scale close to the Greenwood map) or into the bands of the patient map (panel 04b). Envelope: rectification + 2nd-order Butterworth LPF. The envelope of each channel passes through the processor MapLaw y = ln(1 + c·x) / ln(1 + c) (c from the MapLaw field) and then through the loudness growth function of electric hearing, modelled as the inverse of the default map (c = 500); at MapLaw 500 the envelope remains linear (Zeng and Shannon 1994; Fu and Shannon 1998; Gilbert et al. 2022). The current sliders model individual fitting (T/C levels). The front-end AGC compressor acts on the input, before the band decomposition.

Spread of excitation. Simulated as partial crosstalk between adjacent channels at synthesis — it models the spread of current in the cochlea.

Output. Both paths are referred to the level of the “Original” player (peak 0.92). The acoustic path has unity gain relative to it, and the electric path is matched to the same RMS value at nominal electrode currents (75 %) and 0 dB gain. The mix is a sum with weights A and E, with no hidden gains and no saturation; if the peak exceeds 0.98, the whole signal is attenuated proportionally (reported in the status line). Export: 16-bit PCM WAV, mono.

Spectrograms. STFT with a 512-sample Hann window, hop of 128 samples, log-magnitude in dB, inferno colour map. Frequency on a logarithmic scale (80 Hz – Nyquist).

Audiogram from file. JSON: { "R": [11 values], "L": [11 values] }. CSV/TSV: optional header, rows freq_kHz, R_dBHL, L_dBHL. PNG/JPG: automatic detection of red (R) and blue (L) points + the chart frame drawn with black lines; the Y axis is assumed to span −10…120 dB HL.

09

Stereo panorama modulator — stereophonic therapy

Distribution of the signal between the L/R channels with temporal modulation · for asymmetric fitting (bimodal recipient)
Application: Block (27) of the patent application. It distributes the mixed EAS signal between two output channels, L and R, with a time-modulated proportion, enabling training of spatial perception and of interhemispheric synchronization in a patient with a hearing aid in one ear and an implant in the other.
Panorama mode
L↔R switching period
5.0 s
Short periods (~1 s) — demanding reorientation of attention. Long periods (~10 s) — calibration phase.
L Panorama position R
Channel L
Channel R
Test signal preview
A 440 Hz tone panned according to the parameters above.
10

Stereophonic therapy session programmer

4-phase sequence: calibration → exercise → integration → verification
Purpose: Configuration of the therapy session sequence according to claim 18 of the patent application. Each phase uses the selected panorama parameters of panel 09 for the time given in the table. The session is played from the sample loaded in panel 01 or from a synthesized test sound.
Preset
Session phases
Current phase
— session inactive —
Phase time
0:00 / 0:00
Overall progress
0:00 / 0:00
11

Configuration export to the portable device

All simulation parameters saved to a file · transfer to the EAS hardware add-on according to the second patent application
Phase I — preparation: In the simulator, the therapist optimizes the EAS parameters for a particular patient, configures the panorama pattern and the therapy session, and then exports everything to a JSON file. The file is transferred via the USB port to the portable demonstration device (block (32) in Fig. 4 of the application), which reproduces the configuration autonomously in Phase II.
Patient / scenario metadata
Items included in the export
Add-on operating mode
Since version 6.4 the file contains the complete settings of both paths: the ear, the residual hearing limit, global gains, spread, MapLaw, path balance and the residual hearing share from the patient panel.
Operations
Preview of the current configuration (JSON)

    
EAS Simulator · illustrative simulator of hybrid hearing · for teaching and research purposes · not a clinical tool