in reply to compound search and replace

Do you want spaces or whitespace? You use \s, but you say replace 2 spaces. Here is how you could replace two spaces (not tabs or newlines) and all double quotes:
use strict; my %replace = ( '"' => '', ' ' => ';', ); s/("| )/$replace{$1}/g;

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)