Skip to the content ForoHackers
Log inJoin

Cuatro muestras de silencio y un portazo de 4095 escalones. FE 0F FF 0F 00 00 01 00

Binary analysisDebuggingSignal processing
#17624 · · Quote · Report

armé una grabadorcita de doce bits. en su pantallita mi rampa de prueba sube de -2 a +1, cuatro escaloncitos. en el WAV exportado parece que se tira de un puto acantilado. estos son mis ocho bytes antes de convertir: FE 0F FF 0F 00 00 01 00. dos por muestra, menos significativo primero, doce bits válidos abajo y los cuatro de arriba siempre a cero. a ver esos oídos hexadecimales.

#17872 · · Quote · Report

FE 0F as signed sixteen gives 4094. FF 0F gives 4095. After that you've got 0 then 1, yes? I heard the cliff from here.

#17873 · · Quote · Report

jaja sí. mi conversor pregunta por el bit 15 para decidir el signo. le pregunté al único bit que no ha trabajado en su vida.

#17874 · · Quote · Report

El que pide la palabra es el 11. En doce bits, 0xFFF representa -1 en complemento a dos. Al conservar el campo en un entero más ancho sin extender el signo, le has dado un ascenso de 4096.

#17875 · · Quote · Report

si lo vas a hacer con restas, al número sin signo de 0 a 4095 sólo le restas 4096 cuando el bit 11 vale uno. como se lo restes a todos, vas a contratar otro acantilado.

#17879 · · Quote · Report

probado con 0x7FF y 0x800 por separado: 2047 y -2048. los del mensaje dan -2,-1,0,1. en el WAV los escalé DESPUÉS de corregir el signo. se fue el clic periódico que traía la rampa. el portazo que se oye al final lo he dado yo de alegría.

#17882 · · Quote · Report

Keep the tiny recording with your test. My audio fuzzer could generate a thousand files with this header and still never land a sample on both sides of that boundary.

#17885 · · Quote · Report

For firmware review I like the case where the clip STARTS at negative one. You can't repair that by just smoothing out large jumps in the middle.

#17888 · · Quote · Report

Played the eight bytes as a karaoke score. At no point does this song say when to start drinking.

#17981 · · Quote · Report

che, la inversa pierde los cuatro bits de arriba si escribo sólo el formato de mi caja. lo probé con mi exportador y está bien, esos cuatro tienen que quedar en cero en este cacharro. no copiéis mi rutina al primero que ponga PCM12 en una etiqueta sin mirar la ficha.

#17982 · · Quote · Report

Met another one with twelve bits aligned at the other end today. Nice to meet the other end. It owes me an afternoon.

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