Thanks for all the help.
As a general tip, if you have any pavucontrol windows open, close them before making changes to your set-up. Open pavucontrol when you need it, then close the window.
I think that helps - I’d been getting crashes before I did this.
pacmd list-sinks
gave me
sample spec: s16le 2ch 48000Hz
.
Qsynth setup - the only thing I changed was the number of channels (was 1 - changed to 2). I left the rate at 44100.
Audacity - rate was already 44100.
Pavuctl - I could see “Fluid Synth” listed in the playback tab and Audacity listed in the recording tab. The recording source was already set to Monitor.
I did
aplaymidi -p 128:0 song.mid
and when I hit the Audacity record button two things happened
- the sound stopped !
- I could see a waveform in the Audacity track indicating recording was happening
I stopped the recording, exited Qsynth and went into Alsamixer and muted S/PDIF Optical Raw (a ‘feature’ of the soundcard - certain programs unmute this which disables sound) to get sound back. When I played back the Audacity track it was badly distorted. Might this be a sample rate issue ? I’ll try again with 48000.