Quick Installation & Setup Guide (Windows & macOS)
Download the standalone Python file to your local computer.
Download diplacusis.pySave the file to a known folder (e.g., Documents or C:\diplacusis\).
Win + R, type cmd, press Enter) and run:python "C:\path\to\your\diplacusis.py"(Replace path\to\your\ with where you had uploaded the script)
python.exe "C:\Users\YourName\Documents\diplacusis.py"
Diplacusis Tester, and click Finish.Cmd + Space, type Terminal) and run:
python3 --versionIf prompted to install Developer Tools, click Install.
python3 ~/Downloads/diplacusis.pyYour browser (Safari/Chrome) will launch automatically with the tester interface.
/usr/bin/python3 ~/Downloads/diplacusis.py
Diplacusis Tester, and save it to your Desktop.1 (Left Ear Only) and 3 (Right Ear Only) to alternate between ears rapidly ("trill") while adjusting the detune sliders until the perceived pitch matches.L or click Log Offset to record pitch measurements and subjective acoustic characteristics (amplitude drop, harmonics, unmatchable pitch). The app produces pure tone fundamental sine waves (similar to a flute without its harmonics). Without diplacusis, the left vs. right comparison should be identical.Space to stop audio playback.
Step 1: Find Your Python Executable Path
Before making the shortcut, you need the exact location of the Python interpreter (or virtual environment) you want to use.
• Standard Python install. Open Command Prompt or PowerShell, type where python, and press Enter to copy the full path (e.g., C:\Users\YourName\AppData\Local\Programs\Python\Python312\python.exe).
• Virtual environment (venv). Locate the python.exe inside your project's environment folder (e.g., C:\path\to\project\.venv\Scripts\python.exe).
• Background scripts without a console. Use pythonw.exe instead of python.exe if your script has a graphical interface (GUI) and you do not want a black terminal window to appear.
Step 2: Create the Desktop Shortcut
Once you have both paths, build the shortcut directly on your desktop.
• Open the shortcut wizard. Right-click an empty space on your Windows 11 desktop, hover over New, and select Shortcut.
• Enter the target command. Paste the full path to python.exe, add a space, and paste the full path to your .py file. Wrap both paths in double quotes if either contains spaces (e.g., "C:\Path\To\python.exe" "C:\Path\To\your_script.py").
• Name your icon. Click Next, type a display name for the desktop icon, and click Finish.