interface with floppy and play melody

Yes, it looks like tone() on pin 20 would work as you describe.