Which different sounds create alliteration or consonance in the following lines:

 

Once upon a midnight dreary,

while I pondered weak and weary,
 

 

 

 

 

 

 

 

 

The D sound creates consonance.

Once upon a midnight dreary, while I pondered weak and weary,
 

The W sound creates alliteration.

Once upon a midnight dreary, while I pondered weak and weary,*

(*Yes, I realize "once" starts with an "O" but the sound it makes is a "W")