Can you play music in space? Absolutely. This video shows flute playing (actually, an Earth-space duet, which must have made for interesting sync difficulties), but people have played keyboards, guitar, and so on. Here's a NASA article on what's involved.
"When I played the flute in space," says Ochoa, "I had my feet in foot loops." In microgravity, even the small force of the air blowing out of the flute would be enough to move her around the shuttle cabin. In fact, even with her feet hooked into the loops, she could feel that force pushing her back and forth, "just a little bit" as she played.Zero gravity would be convenient for bassoon playing, where performing standing up has always presented a challenge of holding up the instrument.