-ed is pronounced as after voiceless sounds.
Example: walked, walk
-ed is pronounced as after voiced sounds.
Example: showed, show
-ed is pronounced as E after t and d
Examples: bedded, bedE; wanted, wanE
Note, the E in E has three pronuncations.
1) E as in bEd, slEd
2) I as in bId,...