As others mentioned, giving each LED its own current limiting resistor is the cleanest approach. For the actual calculation: R = (Vsupply - Vf) / I
For a typical 9V pedal supply with a red LED (2V forward voltage) at 10mA, you'd need around 700Ω - so a 680Ω or 1k works great.
Here's an LED...