read out carolling christmas bells


Author Message
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 3348
Posted: 09:25pm 06 Dec 2025      

  Quote  the disadvantage that existing RTTTL files cannot be played back unchanged.
I think the only issue would be the polyphonic tracks might not be playable on a standard RTTTL player, though some might try to play the notes one after the other.

Playing regular monophonic RTTTL tracks on the polyphonic player should not be an issue as notes without a leading 0 are played as normal. Notes with a leading 0 are are played with the next one without a 0.

In my previous example ",0B,0C,D," B and C are played with D for the time defined in the header. If it was ",0B,0C,2D," the only difference would be the duration of the 3 notes.

For the actual bells Frank's current track format does what the original unit does so perhaps keep that and use another program to convert RTTTL tracks to that format for playing on the bells.

Another feature of Frank's format is that it can vary how hard the bells are struck via the solenoid pulse duration. Some of Frank's tracks make use of that but I don't see that in RTTTL.

The version I last posted, Random Player can select individual tracks on a play-list so could be adapted to play the converted RTTTL tracks.

Edit.
One thing that may be worth changing is to make provision to add more bells in the future.
Currently it skips C#6, D#6, G#6, C#7 and D#7. It should be easy enough to extend the range to 2 full octaves from A6 to G#7 on Pico Port GP0 to GP23.
You probably will never need them all but the Pico has plenty of pins and you have flexibility in adding bells.

The track files would need to be reprocessed to use the appropriate pins.

EDIT 2.
Just realized a standard Pico doesn't have GP23 available so G#7 will need to be redirected to GP28. Audio will be on GP26 and GP27. I have been using a "RP2040 16MB Purple" module which has all pins available.
Edited 2025-12-07 20:16 by phil99