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 dataPatient panel with four sound archetypes and seven sliders. Formant relocation according to the implant map will be disabled; all other functions work.
1 Sound for comparison
Load a recording that is played to the implant processor at the same time. A short excerpt (2 to 3 s) of the same sample is selected so that both sides are easy to compare.
No recording.
Process:
Material:
0.0 s
2 Which sound is closest to your implant?
Listen to four versions and choose the one that resembles the implant most. This is only a starting point; you will adjust the details in step 3.
3 Fine-tune the sound
Move one slider at a time and compare using the A-B-A button. Each change can be heard immediately after pressing “Simulation”.
4 Rating and saving
How closely does the simulation resemble what you hear through the implant? 0 means “no resemblance at all”, 10 means “a perfect match”.
5.0
The saved file contains the slider positions, the resulting technical parameters, the similarity rating, the comment and the history of changes. The same data go into the configuration export for the hardware add-on (panel 11 in the technical tab).
Load a signal (panel 01) to begin.
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 ←→ EA 50% · E 50%
02
Audiogram
Click on the chart or type dB HL values directly into the fields
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
Currently tested
— · —
Signal level
— dB HL
Progress
0 / 11 frequencies
Click “Play tone” and then indicate whether you heard the signal. The procedure changes the level and frequency by itself.
Test results
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
Current word
1 / 20
Series SNR
0 dB
Series score
0 correct out of 0
Click “Play word” (speech + noise), then indicate whether you recognized it. You may repeat it once if the noise was momentarily louder.
Collected points (SNR → % intelligibility)
Collect points at various SNRs (e.g. −10, −5, 0, +5, +10 dB) to draw a full psychometric curve.
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
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.
08
Spectrographic analysis
STFT · comparison of energy in the time–frequency domain
Input signal
Output signal (EAS)
Power scale:−80 dB … 0 dB
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.
Waveform
Cycle period
8.0 s
Panorama depth
100%
Min. interval
1.0 s
Max. interval
3.0 s
Position range
100%
Source position (-100 = L, 0 = centre, +100 = R)
0 (centre)
LPanorama positionR
Channel L
Channel R
Test signal preview
A 440 Hz tone panned according to the parameters above.
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.