The smell of bitter almonds is associated in the popular mind with cyanide because in Medieval times cyanide was produced by hydrolyzing mandelonitrile obtained from bitter almonds; the odour came from the other product of hydrolization:  benzaldehyde.