jamie hill 🏴☠️ on Nostr: 🚨 per a lovely chat with npub15d4j4…pfwp5, i've learned something that i didn't ...
🚨 per a lovely chat with
npub15d4j4hsae4n3f6qhztzwq5hnertdzq80zjtl77ujqh7e6l9gx75qtpfwp5 (npub15d4…fwp5), i've learned something that i didn't previously know: 24-bit audio data is signed! meaning: it doesn't have 24 bits of audio data, it has 23. the leftmost bit is a "sign bit," indicating whether the data word's value is positive or negative (0 if positive, 1 if negative)
this is weirdly hard to confirm by googling ... i finally found it in The Scientist and Engineer's Guide to
Digital Signal Processing
By Steven W. Smith, Ph.D. 🙀
https://www.dspguide.com/ch4/2.htmPublished at
2024-01-06 05:39:49Event JSON
{
"id": "fc63a71298bd51fcf9011ce6b483db7dc361d4118edfc961a3ba3d98e452df27",
"pubkey": "3f2a6dcbb0e94ce0e363e6b50bb67a92f88f49513b5717f9fdc8d835e0635b9b",
"created_at": 1704519589,
"kind": 1,
"tags": [
[
"p",
"a36b2ade1dcd6714e81712c4e052f3c8d6d100ef1497ff7b9205fd9d7ca837a8",
"wss://relay.mostr.pub"
],
[
"p",
"a4e70b6f0feaca49e3c936cf2e5e2d04de5e38adf83633d327541433eb27a4d7",
"wss://relay.mostr.pub"
],
[
"proxy",
"https://mastodon.social/users/hilljam/statuses/111707395792545025",
"activitypub"
]
],
"content": "🚨 per a lovely chat with nostr:npub15d4j4hsae4n3f6qhztzwq5hnertdzq80zjtl77ujqh7e6l9gx75qtpfwp5, i've learned something that i didn't previously know: 24-bit audio data is signed! meaning: it doesn't have 24 bits of audio data, it has 23. the leftmost bit is a \"sign bit,\" indicating whether the data word's value is positive or negative (0 if positive, 1 if negative)\n\nthis is weirdly hard to confirm by googling ... i finally found it in The Scientist and Engineer's Guide to\nDigital Signal Processing\nBy Steven W. Smith, Ph.D. 🙀\n\nhttps://www.dspguide.com/ch4/2.htm",
"sig": "c6389f6d22307cccd51dc5fa363fa544e4faafdbf02783671ae5dd79143c266e5b98c2b67a026b8b18196d98a051439e37fc687fdfec37a8fbda5cec5066fab3"
}