Page 2 of 6
Re: vDrive: With MDV sound? I wonder.
Posted: Mon Jan 01, 2024 3:13 pm
by Popopo
stephen_usher wrote: Sat Jun 27, 2020 5:32 pm
Actually I think I'm there, other than making a PCB and soldering the components.
I've created a new and better sample, with a higher volume and cutting out some of the peaks and then set the ATTiny85 to play at double the speed it was previously, which was already a factor of 4 faster than the sample code said it should be and...
https://youtu.be/VhUG1TIi_j8
P.S. I've only been testing this with the vDrive ZX at the moment but does it make difference to the experience! It just feels and sounds right. It's as if you're using a real Microdrive. It make soooo much difference.
I'll generate a schematic and post the code so that others can make this. Maybe Charles can change the vDrive and add this instead of the beeper? The cost of the components is probably in the region of 50p or less.
Thank you for your work.
I am looking forward to implement a sound system to the MicroDrivePico.
I was more about looking for another solution, but that one also could work fine.
May I guess it is OpenSource? (in case that I decide to add it to the PCB).
Re: vDrive: With MDV sound? I wonder.
Posted: Mon Jan 01, 2024 3:17 pm
by Popopo
Thank you

Re: vDrive: With MDV sound? I wonder.
Posted: Mon Jan 01, 2024 3:28 pm
by Popopo

Sorry for my ignorance,
How did you digitalize the sound into a C code?
Thanks
Re: vDrive: With MDV sound? I wonder.
Posted: Mon Jan 01, 2024 3:33 pm
by stephen_usher
I recorded it on my iPhone then converted that to a WAV file, then transcoded to 8 bit samples and a low sample rate. I've forgotten what I used now. You can then just convert each byte to a hex number to insert into a C array.
Re: vDrive: With MDV sound? I wonder.
Posted: Thu Jan 04, 2024 10:29 pm
by Popopo
stephen_usher wrote: Sat Jun 27, 2020 5:32 pm
The cost of the components is probably in the region of 50p or less.
I love your idea, but nowadays I cannot believe the cost of an Attiny86. Any version TH or SMD.
How is possible?
Anyway I will use it. Checking docs in the blog that describe also the idea with details.
Thanks
Re: vDrive: With MDV sound? I wonder.
Posted: Sat May 31, 2025 7:59 pm
by Popopo
Hi again!
Play around with the Digispark board with Attiny85, the sounds that I get is very metallic and annoying.
Could you tell me which speaker did you use to get this sweet sound?
Did you add a capacitor to the speaker?

thanks again
Re: vDrive: With MDV sound? I wonder.
Posted: Sun Jun 01, 2025 12:00 pm
by Derek_Stewart
Hi,
Popopo wrote: Sat May 31, 2025 7:59 pm
Could you tell me which speaker did you use to get this sweet sound?
Did you add a capacitor to the speaker?
could you not use the internal QL speaker to output the required sound?
Re: vDrive: With MDV sound? I wonder.
Posted: Sun Jun 01, 2025 9:17 pm
by Popopo
Derek_Stewart wrote: Sun Jun 01, 2025 12:00 pm
could you not use the internal QL speaker to output the required sound?
what?
Re: vDrive: With MDV sound? I wonder.
Posted: Sun Jun 01, 2025 9:46 pm
by Popopo
The signal is too sharp,
With a capacitor it becomes a little softer (and of course higher) but that's all.
And another question,
I am using for testing the Attiny85 within Digispark board, once I power it up, it takes about 10 seconds to start playing the sound, not immediately as it supposes to do.
Is it normal? too long time to start it attached to the activity led. Isn't it?
Re: vDrive: With MDV sound? I wonder.
Posted: Mon Jun 02, 2025 2:33 am
by bwinkel67
stephen_usher wrote: Wed Jun 24, 2020 10:08 pm
A conversation on the QL Facebook page got me wondering how easy it would be to get the digitised sound of a microdrive running to play when the vDrive was accessed.
A long time ago I bought Johan Engdahl's little device to add sound to my vDrive. I sounded pretty bad:
https://youtu.be/JbBH4GgZxsM?t=466
Is there a way to reprogram that device (it has a USB connection) with your code? I recall seeing a YouTube video of yours where the sound was perfect.