A digital piano is a type of electronic keyboard instrument designed to serve primarily as an alternative to the traditional acoustic piano, both in the way it feels to play and in the sound produced. Digital pianos use either synthesized emulation or recorded samples of an acoustic piano, which are then amplified through an internal loudspeaker. They also incorporate weighted keys, which recreate the feel of an acoustic piano. Some digital pianos are designed to also look like an upright or grand piano.