Saw a demonstration video of this several years ago but can’t find it. they had it on display in a museum and it was a self-playing instrument, I wanna say it was similar to an accordion? but maybe something else
Book of Ingenious Devices by the Banū Mūsā brothers
This isn’t the exact one but thank you!
I found a YouTube link in your comment. Here are links to the same video on alternative frontends that protect your privacy:
Do you mean the sound or the mechanism of play was like an accordion? Organs can have a somewhat accordion sound. Here are some different types of organs (not Arab specifically) from Museum Speelklok. They specialize in self playing instruments: https://www.youtube.com/watch?v=TC6YgCLvt5g&t=57
I found YouTube links in your comment. Here are links to the same videos on alternative frontends that protect your privacy:
Link 1:
Link 2:
Link 3: