You are browsing as a guest. Sign up (or log in) to start making projects!

Mathlify

  • 1 Devlogs
  • 6 Total hours

Check what your math equations sound like!

Ship #1 Pending review

Why did I make it?

Math equations can feel pretty abstract when just reading them on paper. I built this to hear how functions actually sound like listening to music on Spotify. It lets you feel equation curves, oscillations and growth through real-time audio pitch.

How does it work?

Equation to audo

  1. Equation string gets parsed with mathjs and evaluated across x domain.
  2. The calculated y value is mapped to frequency: freq = basePitch + y * 120 Hz.
  3. Web Audio API oscillator generates the tone using sine, square, sawtooth or triangle wave.

Design & Logic

  1. Interactive graph plots the curve with an animated green tracer ball moving along it.
  2. Real-time pitch, speed multiplier, and volume controls.
  3. Custom variable sliders (m, b, etc) update equation evaluation and pitch dynamically.
  4. Track controls with loop modes, history list, and saved favorites in local storage.

Pros

  • Super fast real-time sonification right in browser.
  • Clean dark mode UI inspired by Spotify player interface.
  • Works offline without any server side processing.

Cons

  • Extreme exponential values can cause sharp high pitch frequencies.

Updates

  • Custom variable sliders with dynamic range
  • Track loop modes (single track / playlist repeat)
  • Local storage history & favorite track saving
  • 1 devlog
  • 6h
Try project → See source code →
Open comments for this post

5h 38m 5s logged

I couldn’t post devlogs during the journey due to some personal issues. But, the final output is here! Deployed on vercel.

You can enter your equations and convert it into sound and listen what your equation says.

0
0
5

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…