A keyboard for writing musical scores, comprising: - an input module connectible to a remote computer and provided with a plurality of keys divided into sets of keys, of which a first set of keys is configured to generate signals representative of the pitch of the musical notes in a musical staff and a second set of keys is configured to generate signals representative of the duration of the musical notes; - a control unit configured to translate sequences of pressed keys into corresponding signals to be sent to a remote computer, said signals being interpretable in terms of musical notation elements which can be represented on a computer; wherein the keys belonging to the first set of keys are in relief, are aligned along a first axis, and are divided into a first subset of keys representing the five lines of the musical staff in a three-dimensional shape identifiable by touch, and into a second subset of keys (30") representing the spaces comprised between the lines of the musical staff; wherein the keys of the first subset of keys are alternated with the keys of the second subset of keys (30"); characterized in that the first subset of keys comprises or consists of five first keys all having the same width parallel to a second axis, the same height parallel to the first axis and the same projection parallel to a third axis; in that the second subset of keys (30") comprises or consists of four second keys all having the same width parallel to the second axis, the same height parallel to the first axis and the same projection parallel to the third axis; and in that the first keys have a width, parallel to the second axis, greater with respect to the width of the second keys (30"). - an input module connectible to a remote computer and provided with a plurality of keys divided into sets of keys, of which a first set of keys is configured to generate signals representative of the pitch of the musical notes in a musical staff and a second set of keys is configured to generate signals representative of the duration of the musical notes; a first set of keys is configured to generate signals representative of the pitch of the musical notes in a musical staff and a second set of keys is configured to generate signals representative of the duration of the musical notes; - a control unit configured to translate sequences of pressed keys into corresponding signals to be sent to a remote computer, said signals being interpretable in terms of musical notation elements which can be represented on a computer; wherein the keys belonging to the first set of keys are in relief, are aligned along a first axis, and are divided into a first subset of keys representing the five lines of the musical staff in a three-dimensional shape identifiable by touch, and into a second subset of keys (30") representing the spaces comprised between the lines of the musical staff; wherein the keys of the first subset of keys are alternated with the keys of the second subset of keys (30"); characterized in that the first subset of keys comprises or consists of five first keys all having the same width parallel to a second axis, the same height parallel to the first axis and the same projection parallel to a third axis; in that the second subset of keys (30") comprises or consists of four second keys all having the same width parallel to the second axis, the same height parallel to the first axis and the same projection parallel to the third axis; and in that the first keys have a width, parallel to the second axis, greater with respect to the width of the second keys (30"). wherein the keys belonging to the first set of keys are in relief, are aligned along a first axis, and are divided into a first subset of keys representing the five lines of the musical staff in a three-dimensional shape identifiable by touch, and into a second subset of keys (30") representing the spaces comprised between the lines of the musical staff; wherein the keys of the first subset of keys are alternated with the keys of the second subset of keys (30"); characterized in that the first subset of keys comprises or consists of five first keys all having the same width parallel to a second axis, the same height parallel to the first axis and the same projection parallel to a third axis; in that the second subset of keys (30") comprises or consists of four second keys all having the same width parallel to the second axis, the same height parallel to the first axis and the same projection parallel to the third axis; and in that the first keys have a width, parallel to the second axis, greater with respect to the width of the second keys (30").