News for hackers. Stuff that matters.
Re:Show HN: Tone Generator by noduerme on Sunday August 02, 2026 @04:38AM (#49142378)
Your next mission: code it yourself like they did in the 1970s.
Re:Show HN: Tone Generator by pama on Sunday August 02, 2026 @04:42AM (#49142411)
Or just fix it. I use lockdown mode on iphone. It does not work on safari or chrome, ironically telling me to use a different browser like safari or chrome.
Re:Show HN: Tone Generator by artiomyak on Sunday August 02, 2026 @12:17PM (#49145868)
Message fixed — Lockdown Mode removes AudioContext, so it now names the actual setting instead of recommending Safari to a Safari user.
Re:Show HN: Tone Generator by dvh on Sunday August 02, 2026 @04:47AM (#49142447)
LoL. Mains hum is not 60Hz. Nor 50Hz. Mains hum is caused by magnetostriction, where magnetic core changes volume when magnetic field is applied. It doesn't care about polarity, only about amplitude. There are 2 max amplitudes per wave so the mains hum is 2x50Hz (100Hz) or 2x60Hz (120Hz).

In linear power supply when one of the diodes in full bridge rectifier blows and there is only one half wave of current going through transformer, you will hear this unhealthy low 50Hz or 60Hz noise.

Re:Show HN: Tone Generator by artiomyak on Sunday August 02, 2026 @12:17PM (#49145871)
Fair, fixed — now 50/100 or 60/120 by locale. Kept the fundamental as well, since ground-loop and pickup hum sits at line frequency, like your blown-diode case.
Re:Show HN: Tone Generator by mashally on Sunday August 02, 2026 @04:54AM (#49142501)
I am making music right now
Re:Show HN: Tone Generator by nubinetwork on Sunday August 02, 2026 @04:59AM (#49142519)
Neat web project, but I've always used audacity for this...