Topic: Electronic toys, wristwatches, keychains, greeting cards, and so on.

Recent castpixel's post made me think that we kind of missed a whole big underground of 1-bit sounds and music. One that we can't really exploit due to the nature of the things (one time programmable, made to cost the least possible amount), but it is still interesting in a historical perspective.

In my own experience, in my childhood I was very impressed by a keychain with like 8 buttons, making various sounds effects and melodies through a small speaker. There were plenty of those, some of them responded to a whistle. Here is a video of one of them, very similar to one I recall. As I realize this might be one of the earliest examples of 1-bit synthesized sounds I ever heard.

Then there were wristwatches with many melodies. Many of Casio ones, also a very popular brand Montana. Here is a video.

Later there were many musical greeting cards, paper ones that start to play a song when you open it. Today they all fancy and play digitized audio, but early ones had just a piezo with a monophonic melody, very similar to the wristwatch. Turns out to be somehow difficult to find a video of those now.

I also recall a Russian IC to make door bells, I think yet another clone of something older and similar from the West, first appeared in early 90s. It also played a monophonic melody. In fact those chips are still made, in dozens of versions with different songs! Have no slightest idea who would need them now. Here is a video.

I think I also have heard something non monophonic and non square wave among these things, but can't remember it now, besides those Brick Game toys.

I don't know what exactly is inside those devices, but I suppose it is some 4-bit MCU, similar to the SM-510 or TMS1x00. Most of these devices use a 32768 Hz crystal, so it must be something more fancy than just a set of counters and a ROM (a hard logic implementation of a song player).

website - 1bit music - other music - youtube - bandcamp - patreon - twitter (latest news there)

2 (edited by Shiru 2018-05-01 01:00:46)

Re: Electronic toys, wristwatches, keychains, greeting cards, and so on.

One interesting thing to consider about these devices is that, like I mentioned, most of them using a 32768 Hz crystal. That's so called 'clock crystal', normally found in digital clocks, it has this specific frequency exactly because it is so easy to get 1 Hz clock out of it by dividing it by 32768 (just 15 D-triggers in sequence).

This, however, means, clock speed of an MCU is normally just 32768 Hz, i.e. it executes 32768 1-t opcodes in a second. We get used to have a 10-30 KHz sample loop in our ZX engines, but you simply can't have a loop that fast on an 4-bit MCU like that. Considering it is 4-bit, there is going to be a plenty opcodes even with simplest 8-bit counter based sound generation loop. Even if you have to generate just a 440 Hz tone, you can only have 32768/440=74 opcodes to do this! So a way to overcome this limitation has to be found, and I think that's what makes these specific non-pure square tones in old electronic games.

website - 1bit music - other music - youtube - bandcamp - patreon - twitter (latest news there)

Re: Electronic toys, wristwatches, keychains, greeting cards, and so on.

Regarding low clock speed, I think part of the secret may be overtones. A piezo will cut the low range anyway, so you can generate tones at the very low end of the audible spectrum, and the piezo will "magically" transpose up. Afaik some of the LCD games also had hardware PWM to handle sound.

In any case, I agree, it's a very interesting field.

Re: Electronic toys, wristwatches, keychains, greeting cards, and so on.

Super interesting! Also good thinking, both of you.
I think utz might be onto something, we might be able to use the physical properties of the piezo to generate tones faster.
No idea how we would program them however, plus I'm crap at that.