However, the BBD sound can be almost easily emulated in digital. On the "wet" return line of a digital delay put a N dB low Q high pass filter before say 200 Hz, a N dB low Q low pass filter above 6-8 KHz, add some gentle clipping and some noise, compress overall wet dynamics and feed the return back to the delay input. Then adjust delays, feedback and filters amount to make it sound like a real one. The trick is simulating the progressive way in which the sound when going through a BBD device will lose in fidelity while getting more distorted and noisy, so we filter and add those artifacts inside the feedback path.
https://en.wikipedia.org/wiki/Flanging#Origin
> The finished music track is recorded simultaneously to two matching tape machines, then replayed with both decks in sync. The playback-head output from the two recorders is mixed to a third recorder. The engineer slows down one recorder by lightly pressing a finger on the flange (rim) of one of the playout reels. The "drainpipe" or subtle "swoosh" 'flange flango' effect "sweeps" in one direction, and the playback of that recorder remains slightly behind the other when the finger is removed. By pressing a finger on the flange of the other deck, the effect sweeps back in the other direction as the decks progress towards being in sync.
The story goes John Lennon coined the name. Ken Townsend at Abbey Road had worked out a way to mimic vocal double tracking without actually recording the singer twice using this technique. They called it Artificial Double Tracking, or ADT. But Lennon would just call it "Ken's Flanger" and the term stuck.
If you don't clock it at all, you'll just be sending out the constant voltage equal to whatever your first capacitor has charged, which results in no audible sound. You can adjust your clock speed and have it play back at speeds slower or faster than the incoming rate, with the pitch changing too, just like slowing a record or tape machine.
The output isn't really discrete though, only the internals, and even then like you say, even logic transitions aren't actually instant (but at a rate so much faster than audio we ignore it). The BBDs use filters on both the input and output that remove the very high-end of the audio range (a lowpass filter).
These filters will be made to match or be lower than the current clock rate [0]. One before going into the BBD removes any frequencies too high to be stored accurately (an anti-aliasing filter), and then one after the BBD removes any high frequencies which were created by the near-instant shapes of the capacitors discharging (a reconstruction filter). These means your output audio is "continuous", but also has zero frequency content above your filter cutoff (okay there's a teeny amount of information, nothing in reality is perfect).
To create the delay effect you take a long line of them (usually 512-4096) and the length of your delay is equal to the number of "buckets" times your clock rate. If you had a near infinite amount of buckets and ran them so fast there was no loss in fidelity from the sampling rate, you'd basically have a tape delay. The fun thing about BBDs though is that they don't always pass on their charge to the next bucket perfectly. So longer delay lines mean introducing more errors accumulating as your audio passes through the delay line. A near-infinite BBD would turn into audio mush. Though you can still get a very high number of buckets and a very high clock rate for near digital fidelity, but at that point it's getting more expensive than just using a digital effect, and you're ditching the unique charm of a nice effect.
Here are some more detailed explanations of a bbd [1] [2] The posts by Richard Crowley in [2] are particularly cool to the HN audience I'd hope.
> Curiously enough, BBD were a pre-cursor to EEPROM, DRAM, and FLASH RAM. Microscopic capacitors are used to store the data. In the case of DRAM, the capacitors aren't terribly good, and they must be "reminded" (refreshed) on a regular basis (many times per second). Very similar to BBD.
[0] okay technically 1/2 the clock rate because of nyquist-shannon, I just mean it will be linked to the sampling rate.
[2] https://www.electrosmash.com/mn3007-bucket-brigade-devices
[3] https://www.gearslutz.com/board/geekslutz-forum/897599-how-d...