ZX Spectrum: Experimenting with 1-Bit Sound

(bumbershootsoft.wordpress.com)

57 points | by ibobev 3 hours ago

12 comments

  • mdp2021 2 hours ago
    I hope everybody knows Tim Follin - or will now come to know his genius.

    > Agent X ( https://www.youtube.com/watch?v=T42WuUpBuHE ) or Agent X II ( https://www.youtube.com/watch?v=gNc_xczyGLc ) or Chronos ( https://www.youtube.com/watch?v=u-D24A_N4d4 ) or Raw Recruit ( https://www.youtube.com/watch?v=kl8dAVybwq8 ) or Future Games ( https://www.youtube.com/watch?v=orEXKOBIv_8 )... // A modern attempt, the ON and OFF album by Rich 'Tufty' Hollins ( https://www.youtube.com/watch?v=4nEfO4Yu7Mg )

    (Repost originally for submission Furnace - the biggest multi-system chiptune tracker ever made https://news.ycombinator.com/item?id=41609254)

    • thatmf 1 hour ago
      Wow, that Chronos track is like early My Bloody Valentine!
  • feintruled 3 hours ago
    The article ends to a link to a video that shows off the technique and it blows my mind the Spectrum beeper could produce this: https://www.youtube.com/watch?v=7cOu32m3wvQ
    • gxd 3 hours ago
      I created a program like that back in the day. In my case, I recorded my voice through the "MIC" input and played it back through the TV. A few seconds of sampled audio required the entire available memory. While I fully understood what was going on, I thought it was magical that the Spectrum could "speak with my voice".
    • louprado 2 hours ago
      More mind blowing, that entry took _second_ place! First place would probably break my brain for the day so I won't look it up.

      Release party: DiHalt 2026 summer Compo: Demo Platform: zx spectrum Ranked: 2nd

    • MichaelRo 22 minutes ago
      I gotta try this on real hardware, reading the original article it seems it's barely audible without an amplifier, unlike on an emulator.

      Will post an update after I get back to my parent's home, where I have these beauties that launched me into computer science: https://imgur.com/a/GKrA0vX

    • codazoda 3 hours ago
      Sounds pretty good. Reminds me of the Demo Scene and the types of music they were able to create.
  • gwbas1c 1 hour ago
    > multichannel sound through the 1-bit speaker—basically, playing chords.

    Ahem, that's polyphonic sound, not multichannel sound. Multichannel sound is playback through multiple speakers.

  • asdefghyk 1 hour ago
    I recall, One bit sound was detailed extensively in Byte Magazine starting in mid 70s. A square wave that has its frequency varied. A google of the words " Generating speech with a square wave wave , Byte magazine " picks up lots links about this technique. Fourier transform show a square wave consists of odd sine wave harmonics. [A more advanced technique (more than one bit) would use microprocessor interrups to generate several sqare waves, output them with more than one IO pin and combine them with a resister network]

    This mention of one bit sound made me remember the Lis’ner 1000 project of Steve Ciarca , cira 1984 , WHICH WAS speech recognition system of about 30 words. It used a GI SP1000 chip

  • geori 2 hours ago
    Reminds me of an experiment that we did with TI calculators in the late 90s. Someone found that you can put an AM radio next to the calculator and it would beep based on what instructions were run on the Z80. There were some demos that played songs via 1 bit beeps like this, but since games actually have to run instructions, you couldnt reliably play background music during gameplay.
  • fallat 3 hours ago
    People may enjoy this too https://www.youtube.com/watch?v=_6f8PURcPEE

    End result of it playing 1-bit music: https://www.youtube.com/watch?v=IjTihhFG03o

  • bezko 3 hours ago
    Turns out 1-Bit encoding is the most efficient solution, even for the highest end of audio quality: https://en.wikipedia.org/wiki/Delta-sigma_modulation
    • adrian_b 1 hour ago
      Depends on what you mean by "efficient".

      Delta-sigma modulation generates an inefficient encoding of the audio signal, with much more bits than necessary.

      Converting a delta-sigma encoded bit stream to a PCM (pulse-code modulation) stream (e.g. with 24-bit or 16-bit samples at a sampling frequency of 48 kHz or 44.1 kHz) is a method of data compression.

      On the other hand, delta-sigma modulation is more efficient for both analog-to-digital and digital-to-analog conversions, in the sense that for a given quality of the conversion it is much easier and much cheaper to make ADCs and DACs with delta-sigma modulation than with pulse-code modulation.

      Because of this, for audio signals, normally delta-sigma ADCs and DACs are used at the analog inputs and outputs, but the delta-sigma bit stream is converted by digital filtering to PCM for data storage or for audio processing.

  • alienbaby 2 hours ago
    Some apparent links don't appear to work at the start of the page, and I couldn't see any links to listen to the output?
  • _def 3 hours ago
  • elpepo 1 hour ago
    Another incredible 1-bit sound demo for ZX Spectrum in just 9KB from Dmitry Milk:

    https://www.youtube.com/watch?v=98PJFIIJDiA

    https://speccy.pl/archive/prod.php?id=833

  • virgil_disgr4ce 2 hours ago
    A friend of mine built his entire career as a composer around 1-bit music (famously in the form of an album that is physically a circuit inside a jewel case) https://www.youtube.com/watch?v=dBUVKNqdsEo
  • Zardoz84 2 hours ago
    It would be interesting if someone could implement or adapt Roman Black's BTC algorithm to model the Speccy beeper. https://www.romanblack.com/BTc_alg.htm