DIY Raspberry Pi Frequency Tone Generator

Raspberry Pi Frequency Tone Generator

This guide will walk you through building a low-cost, standalone frequency generator using a Raspberry Pi and a small speaker or vibration module. Perfect for exploring bioresonant healing, vibrational medicine, or simple experiments in sound therapy.

🧰 What You’ll Need

🪛 Hardware

💻 Software

⚙️ Step-by-Step Instructions

1. Flash and Boot Raspberry Pi OS

2. Connect Audio Output

speaker-test -t sine -f 440

(Ctrl+C to stop)

3. Install Python Audio Tools

sudo apt update && sudo apt install python3-pip
pip3 install numpy sounddevice

4. Create the Tone Generator Script

Save this as tone_gen.py:

import numpy as np
import sounddevice as sd
import time

frequency = float(input("Enter frequency (Hz): "))
duration = float(input("Enter duration (seconds): "))
samplerate = 44100

t = np.linspace(0, duration, int(samplerate * duration), False)
tone = 0.5 * np.sin(2 * np.pi * frequency * t)

print(f"Playing {frequency} Hz for {duration} seconds...")
sd.play(tone, samplerate)
sd.wait()

5. Run It

python3 tone_gen.py

Enter a frequency like 10 and duration like 30, and it will play.

🧘‍♀️ Optional: Use Vibration for Sub-20 Hz Healing

Human ears can’t hear below 20 Hz well — but your body can feel it.

Upgrade Options

🌀 Bonus: Auto-Play Sequence

You can modify the script to play healing tones in sequence:

healing_freqs = [3, 5, 7.83, 10, 12, 18, 20]
for f in healing_freqs:
    print(f"Playing {f} Hz")
    tone = 0.5 * np.sin(2 * np.pi * f * t)
    sd.play(tone, samplerate)
    sd.wait()
    time.sleep(1)

✅ You’re Done

You now have a self-contained healing frequency generator running on your Pi — no apps, no Wi-Fi required after setup.

You can:

💡 Tip

Try 7.83 Hz (Schumann Resonance) for grounding and 10 Hz for inflammation. Adjust volume low for sustained sessions.