An electronic device comprising a first part and a second part, whereof said first part is an outer cover or a part of the outer cover of the electronic device, and an arrangement for producing sound in the electronic device, the arrangement comprising: - a magnetic vibrator comprising a first part provided with permanent magnets and fastened to said first part of the electronic device, and a second part provided with permanent magnets and fastened to said second part of the electronic device, and at least one induction coil for generating audio-frequency vibrations between the first and the second part of the magnetic vibrator by supplying to the induction coil a first electrical signal, - a piezoelectric vibrator comprising piezoelectric material for generating audio-frequency vibrations resulting from deformations of the material by supplying to said material a second electrical signal, and - an audio amplifier common to said magnetic vibrator and said piezoelectric vibrator and having an audio output for supplying said first and second electrical signal from said audio output to said magnetic vibrator and said piezoelectric vibrator; characterized in that: - said piezoelectric vibrator is fastened to the same first part of said electronic device as the first part of the magnetic vibrator, and - said first and second electrical signal are supplied from said audio output to said magnetic vibrator and piezoelectric vibrator at opposite polarities, wherein the polarity is determined according to the direction in which a specific polarity of the electrical signal displaces said first part of the electronic device under the action of the magnetic vibrator, on the one hand, and of the piezoelectric vibrator, on the other hand. - a magnetic vibrator comprising a first part provided with permanent magnets and fastened to said first part of the electronic device, and a second part provided with permanent magnets and fastened to said second part of the electronic device, and at least one induction coil for generating audio-frequency vibrations between the first and the second part of the magnetic vibrator by supplying to the induction coil a first electrical signal, - a piezoelectric vibrator comprising piezoelectric material for generating audio-frequency vibrations resulting from deformations of the material by supplying to said material a second electrical signal, and - an audio amplifier common to said magnetic vibrator and said piezoelectric vibrator and having an audio output for supplying said first and second electrical signal from said audio output to said magnetic vibrator and said piezoelectric vibrator; - said piezoelectric vibrator is fastened to the same first part of said electronic device as the first part of the magnetic vibrator, and - said first and second electrical signal are supplied from said audio output to said magnetic vibrator and piezoelectric vibrator at opposite polarities, wherein the polarity is determined according to the direction in which a specific polarity of the electrical signal displaces said first part of the electronic device under the action of the magnetic vibrator, on the one hand, and of the piezoelectric vibrator, on the other hand.