Skip to the content ForoHackers
Log inJoin

Built a one-bit fart organ. Why does doubling the pitch take it DOWN?

DemosceneMultimedia systemsSignal processing
#7013 · · Quote · Report

Built a one-bit fart organ for the gap between demos. I spent real time drawing brass pipes round a button marked ARSE. The oscillator is one byte of phase. At each sample I output its top bit, then add the step and wrap at 256. 8000 samples a second. Start at zero.

Step 96 is a horrible 3 kHz squeal. Good. Step 192 is supposed to be twice as horrible but my recording says 2 kHz. Before I open the code again, who stole four thousand hertz out of my arse?

#7174 · · Quote · Report

a fart should have an attack, a decay and at least one person pretending they didn't hear it. you made a doorbell with a personnel problem

#7176 · · Quote · Report

Wrote the second one on a napkin at work. 0 → 192 → 128 → 64 → 0. Top bits go 0 1 1 0 then it starts over. Four samples for the exact same noise. 8000/4 is 2000. the arse is financially solvent

#7178 · · Quote · Report

wait both buttons deliberately overflow the byte, yeah? then why does only the second one sound like it fell down the stairs

#7182 · · Quote · Report

@fusty83 The wrap is how you get a repeating phase in the first place. 192 forward on a 256-position wheel also lands you 64 backwards. Watching once per sample, you can't tell those two moves apart. Eight thousand lots of a quarter turn backwards gives two thousand turns a second. Your ears don't get the bit between samples either.

#7183 · · Quote · Report

got it. i painted eight marks on the lid of my coffee and turned it six at a time. everyone in the shop now knows how this works except the one person who asked why we were doing it

#7190 · · Quote · Report

ja. provade steg 64 också. samma tonhöjd, inte samma bitföljd från start. 0011 mot 0110. Kan vi sluta kalla det distorsion i programbladet nu?

#7192 · · Quote · Report

anoten aliasing en el catálogo. es la primera vez que me mandan dos títulos para un pedo y resulta que sí hacía falta distinguirlos

#7194 · · Quote · Report

I will accept "square wind" on the programme. my chair has retained counsel

#7230 · · Quote · Report

gig report. nobody laughed at the organ. unplugged it, dragged the bench nearer the projector, brought the fucking house down. @tea_sideways i want the chair's agent

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply