exhaust pipe diameter for a mildly modified 340

Yes, bigger pipe = louder exhaust. The biggest factor on how loud a car is would be compression ratio.
I have two 340 cars with the same TTI exhaust system. One is 10.5:1 and the other is 8.5 or whatever a stock 73 340 was. The 10.5 car is easily 3x louder.