It occurs to me that with one of these things in the hilt, you don't really need a sound card anymore.
(You wouldn't hear it anyways...)
However, you could put two electrodes in a glass tube and have the sparks happen inside the glass tube.
The bottom electrode could be attached to a spring which makes the distance between the electrodes change as you swing the saber, varying the sound....