Saltar al contenido ForoHackers

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

DemosceneSistemas multimediaProcesamiento de señales
#7013 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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

#7182 · · Citar · Denunciar

@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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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

#7230 · · Citar · Denunciar

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

No has iniciado sesión, así que esto se publica como anónimo: no se guarda con ello ninguna cuenta, nombre ni dirección, y no puede llevar enlaces ni imágenes. Inicia sesión o únete para publicar con tu nombre. Los registros de nuestro servidor web guardan la dirección y la hora de cada petición hasta 14 días; para que la tuya no quede en ellos, usa Tor. Para escribir al equipo de forma confidencial, usa el buzón. Firmar como fuente habitual (una clave guardada solo en este navegador)

Enviar tarda unos segundos aquí: tu navegador resuelve antes una prueba de trabajo contra el spam.

Responder