\RequirePackage{hyperref}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% PACKAGE    : piano
% DESCRIPTION: Draws basic 2 octaves keyboard diagrams with up to
%              7 highlighted keys.
%
% SYNTAX     : \keyboard[highligh 1][highlight 2]..[highlight 7]
%              First octave keys :
%              Co, Cso, Do, Dso, Eo, Fo, Fso, Go, Gso, Ao, Aso and Bo
%			   Second octave keys :
%			   Ct, Cst, Dt, Dst, Et, Ft, Fst, Gt, Gst, At, Ast and Bt
%
% CREATED BY : Émile Daneault
% VERSION    : 1.1
% COMMENT    : This package is very limited. You have no control over the size
%              or the color of the keyboard/highlighting. I'm uploading this to
%              CTAN because I though someone might need a basic tool like this
%              someday. Feel free to modify, but beware of the monstruous
%              \ifthenelse trees(its function is to "overload" the command with
%              anywhere between 0 and 7 inputs.)
%
% EXAMPLE    :
%				\begin{figure}[thpb]\
%  					\centering
% 				    \keyboard[Co][Eo][Gso][Ct][Et]
%  					\caption{C aug chord}
%  					\label{Chord1}
%				\end{figure}
%
% LICENSE   : This material is subject to the LaTeX Project Public Licence version 1.3c .
%              See https://github.com/javatlacati/piano?tab=LPPL-1.3c-1-ov-file
%              for the details of that licence.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ProvidesPackage{piano}[2026/07/10 My Piano Package Version 1.2]
\usepackage{color}
\usepackage{ifthen}
\usepackage{xargs}

\definecolor{orange}{RGB}{255,127,0}

%% defining switch

\newboolean{default}
\newcommand{\case}{}
\newcommand{\default}{}

\newenvironment{switch}[1]{%
    \setboolean{default}{true}
    \renewcommand{\case}[2]{\ifthenelse{\equal{#1}{##1}}{%
        \setboolean{default}{false}##2}{}}%
    \renewcommand{\default}[1]{\ifthenelse{\boolean{default}}{##1}{}}
}{}
%end of switch definition


\newcommandx*{\keyboardoneandahalfoctaves}[7][1=0, 2=0, 3=0, 4=0, 5=0, 6=0, 7=0]{

%% Clavier 1 1/2 octaves
 \setlength{\unitlength}{0.5cm}
 \begin{picture}(15,4.5)
%Touches blanches
  \multiput(0,0)(1,0){11}%
  {\line(0,1){4}}

%Contour
  \put(0,0){\line(0,1){4}}
  \put(0,0){\line(1,0){10}}
  \put(10,0){\line(0,1){4}}
  \put(0,4){\line(1,0){10}}

%Touches noires
  \linethickness{3mm}
  \multiput(1,4)(1,0){2}%
  {\line(0,-1){3}}

  \multiput(4,4)(1,0){3}%
  {\line(0,-1){3}}

  \linethickness{3mm}
  \multiput(8,4)(1,0){2}%
  {\line(0,-1){3}}

  %Rond de note
  {\color{orange}

   \begin{switch}{#1}
    \case{Co}{\put(0.5,0.5){\circle*{0.5}}}
    \case{Do}{\put(1.5,0.5){\circle*{0.5}}}
    \case{Eo}{\put(2.5,0.5){\circle*{0.5}}}
    \case{Fo}{\put(3.5,0.5){\circle*{0.5}}}
    \case{Go}{\put(4.5,0.5){\circle*{0.5}}}
    \case{Ao}{\put(5.5,0.5){\circle*{0.5}}}
    \case{Bo}{\put(6.5,0.5){\circle*{0.5}}}
    \case{Ct}{\put(7.5,0.5){\circle*{0.5}}}
    \case{Dt}{\put(8.5,0.5){\circle*{0.5}}}
    \case{Et}{\put(9.5,0.5){\circle*{0.5}}}
    \case{Ft}{\put(10.5,0.5){\circle*{0.5}}}
    \case{Gt}{\put(11.5,0.5){\circle*{0.5}}}
    \case{At}{\put(12.5,0.5){\circle*{0.5}}}
    \case{Bt}{\put(13.5,0.5){\circle*{0.5}}}
    \case{Cso}{\put(1,1.5){\circle*{0.5}}}
    \case{Dso}{\put(2,1.5){\circle*{0.5}}}
    \case{Fso}{\put(4,1.5){\circle*{0.5}}}
    \case{Gso}{\put(5,1.5){\circle*{0.5}}}
    \case{Aso}{\put(6,1.5){\circle*{0.5}}}
    \case{Cst}{\put(8,1.5){\circle*{0.5}}}
    \case{Dst}{\put(9,1.5){\circle*{0.5}}}
    \case{Fst}{\put(11,1.5){\circle*{0.5}}}
    \case{Gst}{\put(12,1.5){\circle*{0.5}}}
    \case{Ast}{\put(13,1.5){\circle*{0.5}}}
   \end{switch}

   \begin{switch}{#2}
    \case{Co}{\put(0.5,0.5){\circle*{0.5}}}
    \case{Do}{\put(1.5,0.5){\circle*{0.5}}}
    \case{Eo}{\put(2.5,0.5){\circle*{0.5}}}
    \case{Fo}{\put(3.5,0.5){\circle*{0.5}}}
    \case{Go}{\put(4.5,0.5){\circle*{0.5}}}
    \case{Ao}{\put(5.5,0.5){\circle*{0.5}}}
    \case{Bo}{\put(6.5,0.5){\circle*{0.5}}}
    \case{Ct}{\put(7.5,0.5){\circle*{0.5}}}
    \case{Dt}{\put(8.5,0.5){\circle*{0.5}}}
    \case{Et}{\put(9.5,0.5){\circle*{0.5}}}
    \case{Ft}{\put(10.5,0.5){\circle*{0.5}}}
    \case{Gt}{\put(11.5,0.5){\circle*{0.5}}}
    \case{At}{\put(12.5,0.5){\circle*{0.5}}}
    \case{Bt}{\put(13.5,0.5){\circle*{0.5}}}
    \case{Cso}{\put(1,1.5){\circle*{0.5}}}
    \case{Dso}{\put(2,1.5){\circle*{0.5}}}
    \case{Fso}{\put(4,1.5){\circle*{0.5}}}
    \case{Gso}{\put(5,1.5){\circle*{0.5}}}
    \case{Aso}{\put(6,1.5){\circle*{0.5}}}
    \case{Cst}{\put(8,1.5){\circle*{0.5}}}
    \case{Dst}{\put(9,1.5){\circle*{0.5}}}
    \case{Fst}{\put(11,1.5){\circle*{0.5}}}
    \case{Gst}{\put(12,1.5){\circle*{0.5}}}
    \case{Ast}{\put(13,1.5){\circle*{0.5}}}
   \end{switch}

   \begin{switch}{#3}
    \case{Co}{\put(0.5,0.5){\circle*{0.5}}}
    \case{Do}{\put(1.5,0.5){\circle*{0.5}}}
    \case{Eo}{\put(2.5,0.5){\circle*{0.5}}}
    \case{Fo}{\put(3.5,0.5){\circle*{0.5}}}
    \case{Go}{\put(4.5,0.5){\circle*{0.5}}}
    \case{Ao}{\put(5.5,0.5){\circle*{0.5}}}
    \case{Bo}{\put(6.5,0.5){\circle*{0.5}}}
    \case{Ct}{\put(7.5,0.5){\circle*{0.5}}}
    \case{Dt}{\put(8.5,0.5){\circle*{0.5}}}
    \case{Et}{\put(9.5,0.5){\circle*{0.5}}}
    \case{Ft}{\put(10.5,0.5){\circle*{0.5}}}
    \case{Gt}{\put(11.5,0.5){\circle*{0.5}}}
    \case{At}{\put(12.5,0.5){\circle*{0.5}}}
    \case{Bt}{\put(13.5,0.5){\circle*{0.5}}}
    \case{Cso}{\put(1,1.5){\circle*{0.5}}}
    \case{Dso}{\put(2,1.5){\circle*{0.5}}}
    \case{Fso}{\put(4,1.5){\circle*{0.5}}}
    \case{Gso}{\put(5,1.5){\circle*{0.5}}}
    \case{Aso}{\put(6,1.5){\circle*{0.5}}}
    \case{Cst}{\put(8,1.5){\circle*{0.5}}}
    \case{Dst}{\put(9,1.5){\circle*{0.5}}}
    \case{Fst}{\put(11,1.5){\circle*{0.5}}}
    \case{Gst}{\put(12,1.5){\circle*{0.5}}}
    \case{Ast}{\put(13,1.5){\circle*{0.5}}}
   \end{switch}

   \begin{switch}{#4}
    \case{Co}{\put(0.5,0.5){\circle*{0.5}}}
    \case{Do}{\put(1.5,0.5){\circle*{0.5}}}
    \case{Eo}{\put(2.5,0.5){\circle*{0.5}}}
    \case{Fo}{\put(3.5,0.5){\circle*{0.5}}}
    \case{Go}{\put(4.5,0.5){\circle*{0.5}}}
    \case{Ao}{\put(5.5,0.5){\circle*{0.5}}}
    \case{Bo}{\put(6.5,0.5){\circle*{0.5}}}
    \case{Ct}{\put(7.5,0.5){\circle*{0.5}}}
    \case{Dt}{\put(8.5,0.5){\circle*{0.5}}}
    \case{Et}{\put(9.5,0.5){\circle*{0.5}}}
    \case{Ft}{\put(10.5,0.5){\circle*{0.5}}}
    \case{Gt}{\put(11.5,0.5){\circle*{0.5}}}
    \case{At}{\put(12.5,0.5){\circle*{0.5}}}
    \case{Bt}{\put(13.5,0.5){\circle*{0.5}}}
    \case{Cso}{\put(1,1.5){\circle*{0.5}}}
    \case{Dso}{\put(2,1.5){\circle*{0.5}}}
    \case{Fso}{\put(4,1.5){\circle*{0.5}}}
    \case{Gso}{\put(5,1.5){\circle*{0.5}}}
    \case{Aso}{\put(6,1.5){\circle*{0.5}}}
    \case{Cst}{\put(8,1.5){\circle*{0.5}}}
    \case{Dst}{\put(9,1.5){\circle*{0.5}}}
    \case{Fst}{\put(11,1.5){\circle*{0.5}}}
    \case{Gst}{\put(12,1.5){\circle*{0.5}}}
    \case{Ast}{\put(13,1.5){\circle*{0.5}}}
   \end{switch}

   \begin{switch}{#5}
    \case{Co}{\put(0.5,0.5){\circle*{0.5}}}
    \case{Do}{\put(1.5,0.5){\circle*{0.5}}}
    \case{Eo}{\put(2.5,0.5){\circle*{0.5}}}
    \case{Fo}{\put(3.5,0.5){\circle*{0.5}}}
    \case{Go}{\put(4.5,0.5){\circle*{0.5}}}
    \case{Ao}{\put(5.5,0.5){\circle*{0.5}}}
    \case{Bo}{\put(6.5,0.5){\circle*{0.5}}}
    \case{Ct}{\put(7.5,0.5){\circle*{0.5}}}
    \case{Dt}{\put(8.5,0.5){\circle*{0.5}}}
    \case{Et}{\put(9.5,0.5){\circle*{0.5}}}
    \case{Ft}{\put(10.5,0.5){\circle*{0.5}}}
    \case{Gt}{\put(11.5,0.5){\circle*{0.5}}}
    \case{At}{\put(12.5,0.5){\circle*{0.5}}}
    \case{Bt}{\put(13.5,0.5){\circle*{0.5}}}
    \case{Cso}{\put(1,1.5){\circle*{0.5}}}
    \case{Dso}{\put(2,1.5){\circle*{0.5}}}
    \case{Fso}{\put(4,1.5){\circle*{0.5}}}
    \case{Gso}{\put(5,1.5){\circle*{0.5}}}
    \case{Aso}{\put(6,1.5){\circle*{0.5}}}
    \case{Cst}{\put(8,1.5){\circle*{0.5}}}
    \case{Dst}{\put(9,1.5){\circle*{0.5}}}
    \case{Fst}{\put(11,1.5){\circle*{0.5}}}
    \case{Gst}{\put(12,1.5){\circle*{0.5}}}
    \case{Ast}{\put(13,1.5){\circle*{0.5}}}
   \end{switch}


   \begin{switch}{#6}
    \case{Co}{\put(0.5,0.5){\circle*{0.5}}}
    \case{Do}{\put(1.5,0.5){\circle*{0.5}}}
    \case{Eo}{\put(2.5,0.5){\circle*{0.5}}}
    \case{Fo}{\put(3.5,0.5){\circle*{0.5}}}
    \case{Go}{\put(4.5,0.5){\circle*{0.5}}}
    \case{Ao}{\put(5.5,0.5){\circle*{0.5}}}
    \case{Bo}{\put(6.5,0.5){\circle*{0.5}}}
    \case{Ct}{\put(7.5,0.5){\circle*{0.5}}}
    \case{Dt}{\put(8.5,0.5){\circle*{0.5}}}
    \case{Et}{\put(9.5,0.5){\circle*{0.5}}}
    \case{Ft}{\put(10.5,0.5){\circle*{0.5}}}
    \case{Gt}{\put(11.5,0.5){\circle*{0.5}}}
    \case{At}{\put(12.5,0.5){\circle*{0.5}}}
    \case{Bt}{\put(13.5,0.5){\circle*{0.5}}}
    \case{Cso}{\put(1,1.5){\circle*{0.5}}}
    \case{Dso}{\put(2,1.5){\circle*{0.5}}}
    \case{Fso}{\put(4,1.5){\circle*{0.5}}}
    \case{Gso}{\put(5,1.5){\circle*{0.5}}}
    \case{Aso}{\put(6,1.5){\circle*{0.5}}}
    \case{Cst}{\put(8,1.5){\circle*{0.5}}}
    \case{Dst}{\put(9,1.5){\circle*{0.5}}}
    \case{Fst}{\put(11,1.5){\circle*{0.5}}}
    \case{Gst}{\put(12,1.5){\circle*{0.5}}}
    \case{Ast}{\put(13,1.5){\circle*{0.5}}}
   \end{switch}

   \begin{switch}{#7}
    \case{Co}{\put(0.5,0.5){\circle*{0.5}}}
    \case{Do}{\put(1.5,0.5){\circle*{0.5}}}
    \case{Eo}{\put(2.5,0.5){\circle*{0.5}}}
    \case{Fo}{\put(3.5,0.5){\circle*{0.5}}}
    \case{Go}{\put(4.5,0.5){\circle*{0.5}}}
    \case{Ao}{\put(5.5,0.5){\circle*{0.5}}}
    \case{Bo}{\put(6.5,0.5){\circle*{0.5}}}
    \case{Ct}{\put(7.5,0.5){\circle*{0.5}}}
    \case{Dt}{\put(8.5,0.5){\circle*{0.5}}}
    \case{Et}{\put(9.5,0.5){\circle*{0.5}}}
    \case{Ft}{\put(10.5,0.5){\circle*{0.5}}}
    \case{Gt}{\put(11.5,0.5){\circle*{0.5}}}
    \case{At}{\put(12.5,0.5){\circle*{0.5}}}
    \case{Bt}{\put(13.5,0.5){\circle*{0.5}}}
    \case{Cso}{\put(1,1.5){\circle*{0.5}}}
    \case{Dso}{\put(2,1.5){\circle*{0.5}}}
    \case{Fso}{\put(4,1.5){\circle*{0.5}}}
    \case{Gso}{\put(5,1.5){\circle*{0.5}}}
    \case{Aso}{\put(6,1.5){\circle*{0.5}}}
    \case{Cst}{\put(8,1.5){\circle*{0.5}}}
    \case{Dst}{\put(9,1.5){\circle*{0.5}}}
    \case{Fst}{\put(11,1.5){\circle*{0.5}}}
    \case{Gst}{\put(12,1.5){\circle*{0.5}}}
    \case{Ast}{\put(13,1.5){\circle*{0.5}}}
   \end{switch}

  }

 \end{picture}
}


\newcommandx*{\keyboardoneandahalfoctavesf}[7][1=0, 2=0, 3=0, 4=0, 5=0, 6=0, 7=0]{

%% Clavier 2 octaves
 \setlength{\unitlength}{0.5cm}
 \begin{picture}(15,4.5)
%Touches blanches
  \multiput(0,0)(1,0){11}%
  {\line(0,1){4}}

%Contour
  \put(0,0){\line(0,1){4}}
  \put(0,0){\line(1,0){11}}
  \put(11,0){\line(0,1){4}}
  \put(0,4){\line(1,0){11}}

%Touches noires
  \linethickness{3mm}
  \multiput(1,4)(1,0){3}%
  {\line(0,-1){3}}

  \multiput(5,4)(1,0){2}%
  {\line(0,-1){3}}

  \linethickness{3mm}
  \multiput(8,4)(1,0){3}%
  {\line(0,-1){3}}

%Rond de note
  {\color{orange}

   \begin{switch}{#1}
    \case{Fo}{\put(0.5,0.5){\circle*{0.5}}}
    \case{Go}{\put(1.5,0.5){\circle*{0.5}}}
    \case{Ao}{\put(2.5,0.5){\circle*{0.5}}}
    \case{Bo}{\put(3.5,0.5){\circle*{0.5}}}
    \case{Co}{\put(4.5,0.5){\circle*{0.5}}}
    \case{Do}{\put(5.5,0.5){\circle*{0.5}}}
    \case{Eo}{\put(6.5,0.5){\circle*{0.5}}}
    \case{Ft}{\put(7.5,0.5){\circle*{0.5}}}
    \case{Gt}{\put(8.5,0.5){\circle*{0.5}}}
    \case{At}{\put(9.5,0.5){\circle*{0.5}}}
    \case{Bt}{\put(10.5,0.5){\circle*{0.5}}}
    \case{Ct}{\put(11.5,0.5){\circle*{0.5}}}
    \case{Dt}{\put(12.5,0.5){\circle*{0.5}}}
    \case{Et}{\put(13.5,0.5){\circle*{0.5}}}
    \case{Fso}{\put(1,1.5){\circle*{0.5}}}
    \case{Gso}{\put(2,1.5){\circle*{0.5}}}
    \case{Aso}{\put(3,1.5){\circle*{0.5}}}
    \case{Bso}{\put(4,1.5){\circle*{0.5}}}
    \case{Cso}{\put(5,1.5){\circle*{0.5}}}
    \case{Dso}{\put(6,1.5){\circle*{0.5}}}
    \case{Fst}{\put(8,1.5){\circle*{0.5}}}
    \case{Gst}{\put(9,1.5){\circle*{0.5}}}
    \case{Ast}{\put(10,1.5){\circle*{0.5}}}
    \case{Cst}{\put(12,1.5){\circle*{0.5}}}
    \case{Dst}{\put(13,1.5){\circle*{0.5}}}
   \end{switch}

   \begin{switch}{#2}
    \case{Fo}{\put(0.5,0.5){\circle*{0.5}}}
    \case{Go}{\put(1.5,0.5){\circle*{0.5}}}
    \case{Ao}{\put(2.5,0.5){\circle*{0.5}}}
    \case{Bo}{\put(3.5,0.5){\circle*{0.5}}}
    \case{Co}{\put(4.5,0.5){\circle*{0.5}}}
    \case{Do}{\put(5.5,0.5){\circle*{0.5}}}
    \case{Eo}{\put(6.5,0.5){\circle*{0.5}}}
    \case{Ft}{\put(7.5,0.5){\circle*{0.5}}}
    \case{Gt}{\put(8.5,0.5){\circle*{0.5}}}
    \case{At}{\put(9.5,0.5){\circle*{0.5}}}
    \case{Bt}{\put(10.5,0.5){\circle*{0.5}}}
    \case{Ct}{\put(11.5,0.5){\circle*{0.5}}}
    \case{Dt}{\put(12.5,0.5){\circle*{0.5}}}
    \case{Et}{\put(13.5,0.5){\circle*{0.5}}}
    \case{Fso}{\put(1,1.5){\circle*{0.5}}}
    \case{Gso}{\put(2,1.5){\circle*{0.5}}}
    \case{Aso}{\put(3,1.5){\circle*{0.5}}}
    \case{Bso}{\put(4,1.5){\circle*{0.5}}}
    \case{Cso}{\put(5,1.5){\circle*{0.5}}}
    \case{Dso}{\put(6,1.5){\circle*{0.5}}}
    \case{Fst}{\put(8,1.5){\circle*{0.5}}}
    \case{Gst}{\put(9,1.5){\circle*{0.5}}}
    \case{Ast}{\put(10,1.5){\circle*{0.5}}}
    \case{Cst}{\put(12,1.5){\circle*{0.5}}}
    \case{Dst}{\put(13,1.5){\circle*{0.5}}}
   \end{switch}

   \begin{switch}{#3}
    \case{Fo}{\put(0.5,0.5){\circle*{0.5}}}
    \case{Go}{\put(1.5,0.5){\circle*{0.5}}}
    \case{Ao}{\put(2.5,0.5){\circle*{0.5}}}
    \case{Bo}{\put(3.5,0.5){\circle*{0.5}}}
    \case{Co}{\put(4.5,0.5){\circle*{0.5}}}
    \case{Do}{\put(5.5,0.5){\circle*{0.5}}}
    \case{Eo}{\put(6.5,0.5){\circle*{0.5}}}
    \case{Ft}{\put(7.5,0.5){\circle*{0.5}}}
    \case{Gt}{\put(8.5,0.5){\circle*{0.5}}}
    \case{At}{\put(9.5,0.5){\circle*{0.5}}}
    \case{Bt}{\put(10.5,0.5){\circle*{0.5}}}
    \case{Ct}{\put(11.5,0.5){\circle*{0.5}}}
    \case{Dt}{\put(12.5,0.5){\circle*{0.5}}}
    \case{Et}{\put(13.5,0.5){\circle*{0.5}}}
    \case{Fso}{\put(1,1.5){\circle*{0.5}}}
    \case{Gso}{\put(2,1.5){\circle*{0.5}}}
    \case{Aso}{\put(3,1.5){\circle*{0.5}}}
    \case{Bso}{\put(4,1.5){\circle*{0.5}}}
    \case{Cso}{\put(5,1.5){\circle*{0.5}}}
    \case{Dso}{\put(6,1.5){\circle*{0.5}}}
    \case{Fst}{\put(8,1.5){\circle*{0.5}}}
    \case{Gst}{\put(9,1.5){\circle*{0.5}}}
    \case{Ast}{\put(10,1.5){\circle*{0.5}}}
    \case{Cst}{\put(12,1.5){\circle*{0.5}}}
    \case{Dst}{\put(13,1.5){\circle*{0.5}}}
   \end{switch}

   \begin{switch}{#4}
    \case{Fo}{\put(0.5,0.5){\circle*{0.5}}}
    \case{Go}{\put(1.5,0.5){\circle*{0.5}}}
    \case{Ao}{\put(2.5,0.5){\circle*{0.5}}}
    \case{Bo}{\put(3.5,0.5){\circle*{0.5}}}
    \case{Co}{\put(4.5,0.5){\circle*{0.5}}}
    \case{Do}{\put(5.5,0.5){\circle*{0.5}}}
    \case{Eo}{\put(6.5,0.5){\circle*{0.5}}}
    \case{Ft}{\put(7.5,0.5){\circle*{0.5}}}
    \case{Gt}{\put(8.5,0.5){\circle*{0.5}}}
    \case{At}{\put(9.5,0.5){\circle*{0.5}}}
    \case{Bt}{\put(10.5,0.5){\circle*{0.5}}}
    \case{Ct}{\put(11.5,0.5){\circle*{0.5}}}
    \case{Dt}{\put(12.5,0.5){\circle*{0.5}}}
    \case{Et}{\put(13.5,0.5){\circle*{0.5}}}
    \case{Fso}{\put(1,1.5){\circle*{0.5}}}
    \case{Gso}{\put(2,1.5){\circle*{0.5}}}
    \case{Aso}{\put(3,1.5){\circle*{0.5}}}
    \case{Bso}{\put(4,1.5){\circle*{0.5}}}
    \case{Cso}{\put(5,1.5){\circle*{0.5}}}
    \case{Dso}{\put(6,1.5){\circle*{0.5}}}
    \case{Fst}{\put(8,1.5){\circle*{0.5}}}
    \case{Gst}{\put(9,1.5){\circle*{0.5}}}
    \case{Ast}{\put(10,1.5){\circle*{0.5}}}
    \case{Cst}{\put(12,1.5){\circle*{0.5}}}
    \case{Dst}{\put(13,1.5){\circle*{0.5}}}
   \end{switch}

   \begin{switch}{#5}
    \case{Fo}{\put(0.5,0.5){\circle*{0.5}}}
    \case{Go}{\put(1.5,0.5){\circle*{0.5}}}
    \case{Ao}{\put(2.5,0.5){\circle*{0.5}}}
    \case{Bo}{\put(3.5,0.5){\circle*{0.5}}}
    \case{Co}{\put(4.5,0.5){\circle*{0.5}}}
    \case{Do}{\put(5.5,0.5){\circle*{0.5}}}
    \case{Eo}{\put(6.5,0.5){\circle*{0.5}}}
    \case{Ft}{\put(7.5,0.5){\circle*{0.5}}}
    \case{Gt}{\put(8.5,0.5){\circle*{0.5}}}
    \case{At}{\put(9.5,0.5){\circle*{0.5}}}
    \case{Bt}{\put(10.5,0.5){\circle*{0.5}}}
    \case{Ct}{\put(11.5,0.5){\circle*{0.5}}}
    \case{Dt}{\put(12.5,0.5){\circle*{0.5}}}
    \case{Et}{\put(13.5,0.5){\circle*{0.5}}}
    \case{Fso}{\put(1,1.5){\circle*{0.5}}}
    \case{Gso}{\put(2,1.5){\circle*{0.5}}}
    \case{Aso}{\put(3,1.5){\circle*{0.5}}}
    \case{Bso}{\put(4,1.5){\circle*{0.5}}}
    \case{Cso}{\put(5,1.5){\circle*{0.5}}}
    \case{Dso}{\put(6,1.5){\circle*{0.5}}}
    \case{Fst}{\put(8,1.5){\circle*{0.5}}}
    \case{Gst}{\put(9,1.5){\circle*{0.5}}}
    \case{Ast}{\put(10,1.5){\circle*{0.5}}}
    \case{Cst}{\put(12,1.5){\circle*{0.5}}}
    \case{Dst}{\put(13,1.5){\circle*{0.5}}}
   \end{switch}


   \begin{switch}{#6}
    \case{Fo}{\put(0.5,0.5){\circle*{0.5}}}
    \case{Go}{\put(1.5,0.5){\circle*{0.5}}}
    \case{Ao}{\put(2.5,0.5){\circle*{0.5}}}
    \case{Bo}{\put(3.5,0.5){\circle*{0.5}}}
    \case{Co}{\put(4.5,0.5){\circle*{0.5}}}
    \case{Do}{\put(5.5,0.5){\circle*{0.5}}}
    \case{Eo}{\put(6.5,0.5){\circle*{0.5}}}
    \case{Ft}{\put(7.5,0.5){\circle*{0.5}}}
    \case{Gt}{\put(8.5,0.5){\circle*{0.5}}}
    \case{At}{\put(9.5,0.5){\circle*{0.5}}}
    \case{Bt}{\put(10.5,0.5){\circle*{0.5}}}
    \case{Ct}{\put(11.5,0.5){\circle*{0.5}}}
    \case{Dt}{\put(12.5,0.5){\circle*{0.5}}}
    \case{Et}{\put(13.5,0.5){\circle*{0.5}}}
    \case{Fso}{\put(1,1.5){\circle*{0.5}}}
    \case{Gso}{\put(2,1.5){\circle*{0.5}}}
    \case{Aso}{\put(3,1.5){\circle*{0.5}}}
    \case{Bso}{\put(4,1.5){\circle*{0.5}}}
    \case{Cso}{\put(5,1.5){\circle*{0.5}}}
    \case{Dso}{\put(6,1.5){\circle*{0.5}}}
    \case{Fst}{\put(8,1.5){\circle*{0.5}}}
    \case{Gst}{\put(9,1.5){\circle*{0.5}}}
    \case{Ast}{\put(10,1.5){\circle*{0.5}}}
    \case{Cst}{\put(12,1.5){\circle*{0.5}}}
    \case{Dst}{\put(13,1.5){\circle*{0.5}}}
   \end{switch}

   \begin{switch}{#7}
    \case{Fo}{\put(0.5,0.5){\circle*{0.5}}}
    \case{Go}{\put(1.5,0.5){\circle*{0.5}}}
    \case{Ao}{\put(2.5,0.5){\circle*{0.5}}}
    \case{Bo}{\put(3.5,0.5){\circle*{0.5}}}
    \case{Co}{\put(4.5,0.5){\circle*{0.5}}}
    \case{Do}{\put(5.5,0.5){\circle*{0.5}}}
    \case{Eo}{\put(6.5,0.5){\circle*{0.5}}}
    \case{Ft}{\put(7.5,0.5){\circle*{0.5}}}
    \case{Gt}{\put(8.5,0.5){\circle*{0.5}}}
    \case{At}{\put(9.5,0.5){\circle*{0.5}}}
    \case{Bt}{\put(10.5,0.5){\circle*{0.5}}}
    \case{Ct}{\put(11.5,0.5){\circle*{0.5}}}
    \case{Dt}{\put(12.5,0.5){\circle*{0.5}}}
    \case{Et}{\put(13.5,0.5){\circle*{0.5}}}
    \case{Fso}{\put(1,1.5){\circle*{0.5}}}
    \case{Gso}{\put(2,1.5){\circle*{0.5}}}
    \case{Aso}{\put(3,1.5){\circle*{0.5}}}
    \case{Bso}{\put(4,1.5){\circle*{0.5}}}
    \case{Cso}{\put(5,1.5){\circle*{0.5}}}
    \case{Dso}{\put(6,1.5){\circle*{0.5}}}
    \case{Fst}{\put(8,1.5){\circle*{0.5}}}
    \case{Gst}{\put(9,1.5){\circle*{0.5}}}
    \case{Ast}{\put(10,1.5){\circle*{0.5}}}
    \case{Cst}{\put(12,1.5){\circle*{0.5}}}
    \case{Dst}{\put(13,1.5){\circle*{0.5}}}
   \end{switch}

  }


 \end{picture}
}

\newcommandx*{\keyboardtwooctaves}[7][1=0, 2=0, 3=0, 4=0, 5=0, 6=0, 7=0]{

%% Clavier 2 octaves
    \setlength{\unitlength}{0.5cm}
    \begin{picture}(15,4.5)
%Touches blanches
        \multiput(0,0)(1,0){14}%
        {\line(0,1){4}}

%Contour
        \put(0,0){\line(0,1){4}}
        \put(0,0){\line(1,0){14}}
        \put(14,0){\line(0,1){4}}
        \put(0,4){\line(1,0){14}}

%Touches noires
        \linethickness{3mm}
        \multiput(1,4)(1,0){2}%
        {\line(0,-1){3}}

        \multiput(4,4)(1,0){3}%
        {\line(0,-1){3}}

        \linethickness{3mm}
        \multiput(8,4)(1,0){2}%
        {\line(0,-1){3}}

        \multiput(11,4)(1,0){3}%
        {\line(0,-1){3}}

%Rond de note
        {\color{orange}

            \begin{switch}{#1}
                \case{Co}{\put(0.5,0.5){\circle*{0.5}}}
                \case{Do}{\put(1.5,0.5){\circle*{0.5}}}
                \case{Eo}{\put(2.5,0.5){\circle*{0.5}}}
                \case{Fo}{\put(3.5,0.5){\circle*{0.5}}}
                \case{Go}{\put(4.5,0.5){\circle*{0.5}}}
                \case{Ao}{\put(5.5,0.5){\circle*{0.5}}}
                \case{Bo}{\put(6.5,0.5){\circle*{0.5}}}
                \case{Ct}{\put(7.5,0.5){\circle*{0.5}}}
                \case{Dt}{\put(8.5,0.5){\circle*{0.5}}}
                \case{Et}{\put(9.5,0.5){\circle*{0.5}}}
                \case{Ft}{\put(10.5,0.5){\circle*{0.5}}}
                \case{Gt}{\put(11.5,0.5){\circle*{0.5}}}
                \case{At}{\put(12.5,0.5){\circle*{0.5}}}
                \case{Bt}{\put(13.5,0.5){\circle*{0.5}}}
                \case{Cso}{\put(1,1.5){\circle*{0.5}}}
                \case{Dso}{\put(2,1.5){\circle*{0.5}}}
                \case{Fso}{\put(4,1.5){\circle*{0.5}}}
                \case{Gso}{\put(5,1.5){\circle*{0.5}}}
                \case{Aso}{\put(6,1.5){\circle*{0.5}}}
                \case{Cst}{\put(8,1.5){\circle*{0.5}}}
                \case{Dst}{\put(9,1.5){\circle*{0.5}}}
                \case{Fst}{\put(11,1.5){\circle*{0.5}}}
                \case{Gst}{\put(12,1.5){\circle*{0.5}}}
                \case{Ast}{\put(13,1.5){\circle*{0.5}}}
            \end{switch}

            \begin{switch}{#2}
                \case{Co}{\put(0.5,0.5){\circle*{0.5}}}
                \case{Do}{\put(1.5,0.5){\circle*{0.5}}}
                \case{Eo}{\put(2.5,0.5){\circle*{0.5}}}
                \case{Fo}{\put(3.5,0.5){\circle*{0.5}}}
                \case{Go}{\put(4.5,0.5){\circle*{0.5}}}
                \case{Ao}{\put(5.5,0.5){\circle*{0.5}}}
                \case{Bo}{\put(6.5,0.5){\circle*{0.5}}}
                \case{Ct}{\put(7.5,0.5){\circle*{0.5}}}
                \case{Dt}{\put(8.5,0.5){\circle*{0.5}}}
                \case{Et}{\put(9.5,0.5){\circle*{0.5}}}
                \case{Ft}{\put(10.5,0.5){\circle*{0.5}}}
                \case{Gt}{\put(11.5,0.5){\circle*{0.5}}}
                \case{At}{\put(12.5,0.5){\circle*{0.5}}}
                \case{Bt}{\put(13.5,0.5){\circle*{0.5}}}
                \case{Cso}{\put(1,1.5){\circle*{0.5}}}
                \case{Dso}{\put(2,1.5){\circle*{0.5}}}
                \case{Fso}{\put(4,1.5){\circle*{0.5}}}
                \case{Gso}{\put(5,1.5){\circle*{0.5}}}
                \case{Aso}{\put(6,1.5){\circle*{0.5}}}
                \case{Cst}{\put(8,1.5){\circle*{0.5}}}
                \case{Dst}{\put(9,1.5){\circle*{0.5}}}
                \case{Fst}{\put(11,1.5){\circle*{0.5}}}
                \case{Gst}{\put(12,1.5){\circle*{0.5}}}
                \case{Ast}{\put(13,1.5){\circle*{0.5}}}
            \end{switch}

            \begin{switch}{#3}
                \case{Co}{\put(0.5,0.5){\circle*{0.5}}}
                \case{Do}{\put(1.5,0.5){\circle*{0.5}}}
                \case{Eo}{\put(2.5,0.5){\circle*{0.5}}}
                \case{Fo}{\put(3.5,0.5){\circle*{0.5}}}
                \case{Go}{\put(4.5,0.5){\circle*{0.5}}}
                \case{Ao}{\put(5.5,0.5){\circle*{0.5}}}
                \case{Bo}{\put(6.5,0.5){\circle*{0.5}}}
                \case{Ct}{\put(7.5,0.5){\circle*{0.5}}}
                \case{Dt}{\put(8.5,0.5){\circle*{0.5}}}
                \case{Et}{\put(9.5,0.5){\circle*{0.5}}}
                \case{Ft}{\put(10.5,0.5){\circle*{0.5}}}
                \case{Gt}{\put(11.5,0.5){\circle*{0.5}}}
                \case{At}{\put(12.5,0.5){\circle*{0.5}}}
                \case{Bt}{\put(13.5,0.5){\circle*{0.5}}}
                \case{Cso}{\put(1,1.5){\circle*{0.5}}}
                \case{Dso}{\put(2,1.5){\circle*{0.5}}}
                \case{Fso}{\put(4,1.5){\circle*{0.5}}}
                \case{Gso}{\put(5,1.5){\circle*{0.5}}}
                \case{Aso}{\put(6,1.5){\circle*{0.5}}}
                \case{Cst}{\put(8,1.5){\circle*{0.5}}}
                \case{Dst}{\put(9,1.5){\circle*{0.5}}}
                \case{Fst}{\put(11,1.5){\circle*{0.5}}}
                \case{Gst}{\put(12,1.5){\circle*{0.5}}}
                \case{Ast}{\put(13,1.5){\circle*{0.5}}}
            \end{switch}

            \begin{switch}{#4}
                \case{Co}{\put(0.5,0.5){\circle*{0.5}}}
                \case{Do}{\put(1.5,0.5){\circle*{0.5}}}
                \case{Eo}{\put(2.5,0.5){\circle*{0.5}}}
                \case{Fo}{\put(3.5,0.5){\circle*{0.5}}}
                \case{Go}{\put(4.5,0.5){\circle*{0.5}}}
                \case{Ao}{\put(5.5,0.5){\circle*{0.5}}}
                \case{Bo}{\put(6.5,0.5){\circle*{0.5}}}
                \case{Ct}{\put(7.5,0.5){\circle*{0.5}}}
                \case{Dt}{\put(8.5,0.5){\circle*{0.5}}}
                \case{Et}{\put(9.5,0.5){\circle*{0.5}}}
                \case{Ft}{\put(10.5,0.5){\circle*{0.5}}}
                \case{Gt}{\put(11.5,0.5){\circle*{0.5}}}
                \case{At}{\put(12.5,0.5){\circle*{0.5}}}
                \case{Bt}{\put(13.5,0.5){\circle*{0.5}}}
                \case{Cso}{\put(1,1.5){\circle*{0.5}}}
                \case{Dso}{\put(2,1.5){\circle*{0.5}}}
                \case{Fso}{\put(4,1.5){\circle*{0.5}}}
                \case{Gso}{\put(5,1.5){\circle*{0.5}}}
                \case{Aso}{\put(6,1.5){\circle*{0.5}}}
                \case{Cst}{\put(8,1.5){\circle*{0.5}}}
                \case{Dst}{\put(9,1.5){\circle*{0.5}}}
                \case{Fst}{\put(11,1.5){\circle*{0.5}}}
                \case{Gst}{\put(12,1.5){\circle*{0.5}}}
                \case{Ast}{\put(13,1.5){\circle*{0.5}}}
            \end{switch}

            \begin{switch}{#5}
                \case{Co}{\put(0.5,0.5){\circle*{0.5}}}
                \case{Do}{\put(1.5,0.5){\circle*{0.5}}}
                \case{Eo}{\put(2.5,0.5){\circle*{0.5}}}
                \case{Fo}{\put(3.5,0.5){\circle*{0.5}}}
                \case{Go}{\put(4.5,0.5){\circle*{0.5}}}
                \case{Ao}{\put(5.5,0.5){\circle*{0.5}}}
                \case{Bo}{\put(6.5,0.5){\circle*{0.5}}}
                \case{Ct}{\put(7.5,0.5){\circle*{0.5}}}
                \case{Dt}{\put(8.5,0.5){\circle*{0.5}}}
                \case{Et}{\put(9.5,0.5){\circle*{0.5}}}
                \case{Ft}{\put(10.5,0.5){\circle*{0.5}}}
                \case{Gt}{\put(11.5,0.5){\circle*{0.5}}}
                \case{At}{\put(12.5,0.5){\circle*{0.5}}}
                \case{Bt}{\put(13.5,0.5){\circle*{0.5}}}
                \case{Cso}{\put(1,1.5){\circle*{0.5}}}
                \case{Dso}{\put(2,1.5){\circle*{0.5}}}
                \case{Fso}{\put(4,1.5){\circle*{0.5}}}
                \case{Gso}{\put(5,1.5){\circle*{0.5}}}
                \case{Aso}{\put(6,1.5){\circle*{0.5}}}
                \case{Cst}{\put(8,1.5){\circle*{0.5}}}
                \case{Dst}{\put(9,1.5){\circle*{0.5}}}
                \case{Fst}{\put(11,1.5){\circle*{0.5}}}
                \case{Gst}{\put(12,1.5){\circle*{0.5}}}
                \case{Ast}{\put(13,1.5){\circle*{0.5}}}
            \end{switch}


            \begin{switch}{#6}
                \case{Co}{\put(0.5,0.5){\circle*{0.5}}}
                \case{Do}{\put(1.5,0.5){\circle*{0.5}}}
                \case{Eo}{\put(2.5,0.5){\circle*{0.5}}}
                \case{Fo}{\put(3.5,0.5){\circle*{0.5}}}
                \case{Go}{\put(4.5,0.5){\circle*{0.5}}}
                \case{Ao}{\put(5.5,0.5){\circle*{0.5}}}
                \case{Bo}{\put(6.5,0.5){\circle*{0.5}}}
                \case{Ct}{\put(7.5,0.5){\circle*{0.5}}}
                \case{Dt}{\put(8.5,0.5){\circle*{0.5}}}
                \case{Et}{\put(9.5,0.5){\circle*{0.5}}}
                \case{Ft}{\put(10.5,0.5){\circle*{0.5}}}
                \case{Gt}{\put(11.5,0.5){\circle*{0.5}}}
                \case{At}{\put(12.5,0.5){\circle*{0.5}}}
                \case{Bt}{\put(13.5,0.5){\circle*{0.5}}}
                \case{Cso}{\put(1,1.5){\circle*{0.5}}}
                \case{Dso}{\put(2,1.5){\circle*{0.5}}}
                \case{Fso}{\put(4,1.5){\circle*{0.5}}}
                \case{Gso}{\put(5,1.5){\circle*{0.5}}}
                \case{Aso}{\put(6,1.5){\circle*{0.5}}}
                \case{Cst}{\put(8,1.5){\circle*{0.5}}}
                \case{Dst}{\put(9,1.5){\circle*{0.5}}}
                \case{Fst}{\put(11,1.5){\circle*{0.5}}}
                \case{Gst}{\put(12,1.5){\circle*{0.5}}}
                \case{Ast}{\put(13,1.5){\circle*{0.5}}}
            \end{switch}

            \begin{switch}{#7}
                \case{Co}{\put(0.5,0.5){\circle*{0.5}}}
                \case{Do}{\put(1.5,0.5){\circle*{0.5}}}
                \case{Eo}{\put(2.5,0.5){\circle*{0.5}}}
                \case{Fo}{\put(3.5,0.5){\circle*{0.5}}}
                \case{Go}{\put(4.5,0.5){\circle*{0.5}}}
                \case{Ao}{\put(5.5,0.5){\circle*{0.5}}}
                \case{Bo}{\put(6.5,0.5){\circle*{0.5}}}
                \case{Ct}{\put(7.5,0.5){\circle*{0.5}}}
                \case{Dt}{\put(8.5,0.5){\circle*{0.5}}}
                \case{Et}{\put(9.5,0.5){\circle*{0.5}}}
                \case{Ft}{\put(10.5,0.5){\circle*{0.5}}}
                \case{Gt}{\put(11.5,0.5){\circle*{0.5}}}
                \case{At}{\put(12.5,0.5){\circle*{0.5}}}
                \case{Bt}{\put(13.5,0.5){\circle*{0.5}}}
                \case{Cso}{\put(1,1.5){\circle*{0.5}}}
                \case{Dso}{\put(2,1.5){\circle*{0.5}}}
                \case{Fso}{\put(4,1.5){\circle*{0.5}}}
                \case{Gso}{\put(5,1.5){\circle*{0.5}}}
                \case{Aso}{\put(6,1.5){\circle*{0.5}}}
                \case{Cst}{\put(8,1.5){\circle*{0.5}}}
                \case{Dst}{\put(9,1.5){\circle*{0.5}}}
                \case{Fst}{\put(11,1.5){\circle*{0.5}}}
                \case{Gst}{\put(12,1.5){\circle*{0.5}}}
                \case{Ast}{\put(13,1.5){\circle*{0.5}}}
            \end{switch}

}


\end{picture}
}

\newcommandx*{\keyboardftwooctaves}[7][1=0, 2=0, 3=0, 4=0, 5=0, 6=0, 7=0]{

%% Clavier 2 octaves
\setlength{\unitlength}{0.5cm}
\begin{picture}(15,4.5)
%Touches blanches
\multiput(0,0)(1,0){14}%
{\line(0,1){4}}

%Contour
\put(0,0){\line(0,1){4}}
\put(0,0){\line(1,0){14}}
\put(14,0){\line(0,1){4}}
\put(0,4){\line(1,0){14}}

%Touches noires
\linethickness{3mm}
\multiput(1,4)(1,0){3}%
{\line(0,-1){3}}

\multiput(5,4)(1,0){2}%
{\line(0,-1){3}}

\linethickness{3mm}
\multiput(8,4)(1,0){3}%
{\line(0,-1){3}}

\multiput(12,4)(1,0){2}%
{\line(0,-1){3}}

%Rond de note
{\color{orange}

\begin{switch}{#1}
    \case{Fo}{\put(0.5,0.5){\circle*{0.5}}}
    \case{Go}{\put(1.5,0.5){\circle*{0.5}}}
    \case{Ao}{\put(2.5,0.5){\circle*{0.5}}}
    \case{Bo}{\put(3.5,0.5){\circle*{0.5}}}
    \case{Co}{\put(4.5,0.5){\circle*{0.5}}}
    \case{Do}{\put(5.5,0.5){\circle*{0.5}}}
    \case{Eo}{\put(6.5,0.5){\circle*{0.5}}}
    \case{Ft}{\put(7.5,0.5){\circle*{0.5}}}
    \case{Gt}{\put(8.5,0.5){\circle*{0.5}}}
    \case{At}{\put(9.5,0.5){\circle*{0.5}}}
    \case{Bt}{\put(10.5,0.5){\circle*{0.5}}}
    \case{Ct}{\put(11.5,0.5){\circle*{0.5}}}
    \case{Dt}{\put(12.5,0.5){\circle*{0.5}}}
    \case{Et}{\put(13.5,0.5){\circle*{0.5}}}
    \case{Fso}{\put(1,1.5){\circle*{0.5}}}
    \case{Gso}{\put(2,1.5){\circle*{0.5}}}
    \case{Aso}{\put(3,1.5){\circle*{0.5}}}
    \case{Bso}{\put(4,1.5){\circle*{0.5}}}
    \case{Cso}{\put(5,1.5){\circle*{0.5}}}
    \case{Dso}{\put(6,1.5){\circle*{0.5}}}
    \case{Fst}{\put(8,1.5){\circle*{0.5}}}
    \case{Gst}{\put(9,1.5){\circle*{0.5}}}
    \case{Ast}{\put(10,1.5){\circle*{0.5}}}
    \case{Cst}{\put(12,1.5){\circle*{0.5}}}
    \case{Dst}{\put(13,1.5){\circle*{0.5}}}
\end{switch}

 \begin{switch}{#2}
  \case{Fo}{\put(0.5,0.5){\circle*{0.5}}}
  \case{Go}{\put(1.5,0.5){\circle*{0.5}}}
  \case{Ao}{\put(2.5,0.5){\circle*{0.5}}}
  \case{Bo}{\put(3.5,0.5){\circle*{0.5}}}
  \case{Co}{\put(4.5,0.5){\circle*{0.5}}}
  \case{Do}{\put(5.5,0.5){\circle*{0.5}}}
  \case{Eo}{\put(6.5,0.5){\circle*{0.5}}}
  \case{Ft}{\put(7.5,0.5){\circle*{0.5}}}
  \case{Gt}{\put(8.5,0.5){\circle*{0.5}}}
  \case{At}{\put(9.5,0.5){\circle*{0.5}}}
  \case{Bt}{\put(10.5,0.5){\circle*{0.5}}}
  \case{Ct}{\put(11.5,0.5){\circle*{0.5}}}
  \case{Dt}{\put(12.5,0.5){\circle*{0.5}}}
  \case{Et}{\put(13.5,0.5){\circle*{0.5}}}
  \case{Fso}{\put(1,1.5){\circle*{0.5}}}
  \case{Gso}{\put(2,1.5){\circle*{0.5}}}
  \case{Aso}{\put(3,1.5){\circle*{0.5}}}
  \case{Bso}{\put(4,1.5){\circle*{0.5}}}
  \case{Cso}{\put(5,1.5){\circle*{0.5}}}
  \case{Dso}{\put(6,1.5){\circle*{0.5}}}
  \case{Fst}{\put(8,1.5){\circle*{0.5}}}
  \case{Gst}{\put(9,1.5){\circle*{0.5}}}
  \case{Ast}{\put(10,1.5){\circle*{0.5}}}
  \case{Cst}{\put(12,1.5){\circle*{0.5}}}
  \case{Dst}{\put(13,1.5){\circle*{0.5}}}
 \end{switch}

 \begin{switch}{#3}
  \case{Fo}{\put(0.5,0.5){\circle*{0.5}}}
  \case{Go}{\put(1.5,0.5){\circle*{0.5}}}
  \case{Ao}{\put(2.5,0.5){\circle*{0.5}}}
  \case{Bo}{\put(3.5,0.5){\circle*{0.5}}}
  \case{Co}{\put(4.5,0.5){\circle*{0.5}}}
  \case{Do}{\put(5.5,0.5){\circle*{0.5}}}
  \case{Eo}{\put(6.5,0.5){\circle*{0.5}}}
  \case{Ft}{\put(7.5,0.5){\circle*{0.5}}}
  \case{Gt}{\put(8.5,0.5){\circle*{0.5}}}
  \case{At}{\put(9.5,0.5){\circle*{0.5}}}
  \case{Bt}{\put(10.5,0.5){\circle*{0.5}}}
  \case{Ct}{\put(11.5,0.5){\circle*{0.5}}}
  \case{Dt}{\put(12.5,0.5){\circle*{0.5}}}
  \case{Et}{\put(13.5,0.5){\circle*{0.5}}}
  \case{Fso}{\put(1,1.5){\circle*{0.5}}}
  \case{Gso}{\put(2,1.5){\circle*{0.5}}}
  \case{Aso}{\put(3,1.5){\circle*{0.5}}}
  \case{Bso}{\put(4,1.5){\circle*{0.5}}}
  \case{Cso}{\put(5,1.5){\circle*{0.5}}}
  \case{Dso}{\put(6,1.5){\circle*{0.5}}}
  \case{Fst}{\put(8,1.5){\circle*{0.5}}}
  \case{Gst}{\put(9,1.5){\circle*{0.5}}}
  \case{Ast}{\put(10,1.5){\circle*{0.5}}}
  \case{Cst}{\put(12,1.5){\circle*{0.5}}}
  \case{Dst}{\put(13,1.5){\circle*{0.5}}}
 \end{switch}

 \begin{switch}{#4}
  \case{Fo}{\put(0.5,0.5){\circle*{0.5}}}
  \case{Go}{\put(1.5,0.5){\circle*{0.5}}}
  \case{Ao}{\put(2.5,0.5){\circle*{0.5}}}
  \case{Bo}{\put(3.5,0.5){\circle*{0.5}}}
  \case{Co}{\put(4.5,0.5){\circle*{0.5}}}
  \case{Do}{\put(5.5,0.5){\circle*{0.5}}}
  \case{Eo}{\put(6.5,0.5){\circle*{0.5}}}
  \case{Ft}{\put(7.5,0.5){\circle*{0.5}}}
  \case{Gt}{\put(8.5,0.5){\circle*{0.5}}}
  \case{At}{\put(9.5,0.5){\circle*{0.5}}}
  \case{Bt}{\put(10.5,0.5){\circle*{0.5}}}
  \case{Ct}{\put(11.5,0.5){\circle*{0.5}}}
  \case{Dt}{\put(12.5,0.5){\circle*{0.5}}}
  \case{Et}{\put(13.5,0.5){\circle*{0.5}}}
  \case{Fso}{\put(1,1.5){\circle*{0.5}}}
  \case{Gso}{\put(2,1.5){\circle*{0.5}}}
  \case{Aso}{\put(3,1.5){\circle*{0.5}}}
  \case{Bso}{\put(4,1.5){\circle*{0.5}}}
  \case{Cso}{\put(5,1.5){\circle*{0.5}}}
  \case{Dso}{\put(6,1.5){\circle*{0.5}}}
  \case{Fst}{\put(8,1.5){\circle*{0.5}}}
  \case{Gst}{\put(9,1.5){\circle*{0.5}}}
  \case{Ast}{\put(10,1.5){\circle*{0.5}}}
  \case{Cst}{\put(12,1.5){\circle*{0.5}}}
  \case{Dst}{\put(13,1.5){\circle*{0.5}}}
 \end{switch}

 \begin{switch}{#5}
  \case{Fo}{\put(0.5,0.5){\circle*{0.5}}}
  \case{Go}{\put(1.5,0.5){\circle*{0.5}}}
  \case{Ao}{\put(2.5,0.5){\circle*{0.5}}}
  \case{Bo}{\put(3.5,0.5){\circle*{0.5}}}
  \case{Co}{\put(4.5,0.5){\circle*{0.5}}}
  \case{Do}{\put(5.5,0.5){\circle*{0.5}}}
  \case{Eo}{\put(6.5,0.5){\circle*{0.5}}}
  \case{Ft}{\put(7.5,0.5){\circle*{0.5}}}
  \case{Gt}{\put(8.5,0.5){\circle*{0.5}}}
  \case{At}{\put(9.5,0.5){\circle*{0.5}}}
  \case{Bt}{\put(10.5,0.5){\circle*{0.5}}}
  \case{Ct}{\put(11.5,0.5){\circle*{0.5}}}
  \case{Dt}{\put(12.5,0.5){\circle*{0.5}}}
  \case{Et}{\put(13.5,0.5){\circle*{0.5}}}
  \case{Fso}{\put(1,1.5){\circle*{0.5}}}
  \case{Gso}{\put(2,1.5){\circle*{0.5}}}
  \case{Aso}{\put(3,1.5){\circle*{0.5}}}
  \case{Bso}{\put(4,1.5){\circle*{0.5}}}
  \case{Cso}{\put(5,1.5){\circle*{0.5}}}
  \case{Dso}{\put(6,1.5){\circle*{0.5}}}
  \case{Fst}{\put(8,1.5){\circle*{0.5}}}
  \case{Gst}{\put(9,1.5){\circle*{0.5}}}
  \case{Ast}{\put(10,1.5){\circle*{0.5}}}
  \case{Cst}{\put(12,1.5){\circle*{0.5}}}
  \case{Dst}{\put(13,1.5){\circle*{0.5}}}
 \end{switch}


 \begin{switch}{#6}
  \case{Fo}{\put(0.5,0.5){\circle*{0.5}}}
  \case{Go}{\put(1.5,0.5){\circle*{0.5}}}
  \case{Ao}{\put(2.5,0.5){\circle*{0.5}}}
  \case{Bo}{\put(3.5,0.5){\circle*{0.5}}}
  \case{Co}{\put(4.5,0.5){\circle*{0.5}}}
  \case{Do}{\put(5.5,0.5){\circle*{0.5}}}
  \case{Eo}{\put(6.5,0.5){\circle*{0.5}}}
  \case{Ft}{\put(7.5,0.5){\circle*{0.5}}}
  \case{Gt}{\put(8.5,0.5){\circle*{0.5}}}
  \case{At}{\put(9.5,0.5){\circle*{0.5}}}
  \case{Bt}{\put(10.5,0.5){\circle*{0.5}}}
  \case{Ct}{\put(11.5,0.5){\circle*{0.5}}}
  \case{Dt}{\put(12.5,0.5){\circle*{0.5}}}
  \case{Et}{\put(13.5,0.5){\circle*{0.5}}}
  \case{Fso}{\put(1,1.5){\circle*{0.5}}}
  \case{Gso}{\put(2,1.5){\circle*{0.5}}}
  \case{Aso}{\put(3,1.5){\circle*{0.5}}}
  \case{Bso}{\put(4,1.5){\circle*{0.5}}}
  \case{Cso}{\put(5,1.5){\circle*{0.5}}}
  \case{Dso}{\put(6,1.5){\circle*{0.5}}}
  \case{Fst}{\put(8,1.5){\circle*{0.5}}}
  \case{Gst}{\put(9,1.5){\circle*{0.5}}}
  \case{Ast}{\put(10,1.5){\circle*{0.5}}}
  \case{Cst}{\put(12,1.5){\circle*{0.5}}}
  \case{Dst}{\put(13,1.5){\circle*{0.5}}}
 \end{switch}

 \begin{switch}{#7}
  \case{Fo}{\put(0.5,0.5){\circle*{0.5}}}
  \case{Go}{\put(1.5,0.5){\circle*{0.5}}}
  \case{Ao}{\put(2.5,0.5){\circle*{0.5}}}
  \case{Bo}{\put(3.5,0.5){\circle*{0.5}}}
  \case{Co}{\put(4.5,0.5){\circle*{0.5}}}
  \case{Do}{\put(5.5,0.5){\circle*{0.5}}}
  \case{Eo}{\put(6.5,0.5){\circle*{0.5}}}
  \case{Ft}{\put(7.5,0.5){\circle*{0.5}}}
  \case{Gt}{\put(8.5,0.5){\circle*{0.5}}}
  \case{At}{\put(9.5,0.5){\circle*{0.5}}}
  \case{Bt}{\put(10.5,0.5){\circle*{0.5}}}
  \case{Ct}{\put(11.5,0.5){\circle*{0.5}}}
  \case{Dt}{\put(12.5,0.5){\circle*{0.5}}}
  \case{Et}{\put(13.5,0.5){\circle*{0.5}}}
  \case{Fso}{\put(1,1.5){\circle*{0.5}}}
  \case{Gso}{\put(2,1.5){\circle*{0.5}}}
  \case{Aso}{\put(3,1.5){\circle*{0.5}}}
  \case{Bso}{\put(4,1.5){\circle*{0.5}}}
  \case{Cso}{\put(5,1.5){\circle*{0.5}}}
  \case{Dso}{\put(6,1.5){\circle*{0.5}}}
  \case{Fst}{\put(8,1.5){\circle*{0.5}}}
  \case{Gst}{\put(9,1.5){\circle*{0.5}}}
  \case{Ast}{\put(10,1.5){\circle*{0.5}}}
  \case{Cst}{\put(12,1.5){\circle*{0.5}}}
  \case{Dst}{\put(13,1.5){\circle*{0.5}}}
 \end{switch}

        }


    \end{picture}
}


\newcommandx*{\keyboard}[7][1=0, 2=0, 3=0, 4=0, 5=0, 6=0, 7=0]{

%% Clavier 2 octaves
    \setlength{\unitlength}{0.4cm}
    \begin{picture}(7,2)
%Touches blanches
        \multiput(0,0)(1,0){8}%
        {\line(0,1){4}}

%Contour
        \put(0,0){\line(0,1){4}}
        \put(0,0){\line(1,0){7}}%down line
%\put(14,0){\line(0,1){4}}
        \put(0,4){\line(1,0){7}}%upper line

%Touches noires
        \linethickness{3mm}
        \multiput(1,4)(1,0){2}%
        {\line(0,-1){3}}

        \multiput(4,4)(1,0){3}%
        {\line(0,-1){3}}


%Rond de note
        {\color{orange}

            \begin{switch}{#1}
                \case{Co}{\put(0.5,0.5){\circle*{0.5}}}
                \case{Do}{\put(1.5,0.5){\circle*{0.5}}}
                \case{Eo}{\put(2.5,0.5){\circle*{0.5}}}
                \case{Fo}{\put(3.5,0.5){\circle*{0.5}}}
                \case{Go}{\put(4.5,0.5){\circle*{0.5}}}
                \case{Ao}{\put(5.5,0.5){\circle*{0.5}}}
                \case{Bo}{\put(6.5,0.5){\circle*{0.5}}}
                \case{Ct}{\put(7.5,0.5){\circle*{0.5}}}
                \case{Dt}{\put(8.5,0.5){\circle*{0.5}}}
                \case{Et}{\put(9.5,0.5){\circle*{0.5}}}
                \case{Ft}{\put(10.5,0.5){\circle*{0.5}}}
                \case{Gt}{\put(11.5,0.5){\circle*{0.5}}}
                \case{At}{\put(12.5,0.5){\circle*{0.5}}}
                \case{Bt}{\put(13.5,0.5){\circle*{0.5}}}
                \case{Cso}{\put(1,1.5){\circle*{0.5}}}
                \case{Dso}{\put(2,1.5){\circle*{0.5}}}
                \case{Fso}{\put(4,1.5){\circle*{0.5}}}
                \case{Gso}{\put(5,1.5){\circle*{0.5}}}
                \case{Aso}{\put(6,1.5){\circle*{0.5}}}
                \case{Cst}{\put(8,1.5){\circle*{0.5}}}
                \case{Dst}{\put(9,1.5){\circle*{0.5}}}
                \case{Fst}{\put(11,1.5){\circle*{0.5}}}
                \case{Gst}{\put(12,1.5){\circle*{0.5}}}
                \case{Ast}{\put(13,1.5){\circle*{0.5}}}
            \end{switch}

            \begin{switch}{#2}
                \case{Co}{\put(0.5,0.5){\circle*{0.5}}}
                \case{Do}{\put(1.5,0.5){\circle*{0.5}}}
                \case{Eo}{\put(2.5,0.5){\circle*{0.5}}}
                \case{Fo}{\put(3.5,0.5){\circle*{0.5}}}
                \case{Go}{\put(4.5,0.5){\circle*{0.5}}}
                \case{Ao}{\put(5.5,0.5){\circle*{0.5}}}
                \case{Bo}{\put(6.5,0.5){\circle*{0.5}}}
                \case{Ct}{\put(7.5,0.5){\circle*{0.5}}}
                \case{Dt}{\put(8.5,0.5){\circle*{0.5}}}
                \case{Et}{\put(9.5,0.5){\circle*{0.5}}}
                \case{Ft}{\put(10.5,0.5){\circle*{0.5}}}
                \case{Gt}{\put(11.5,0.5){\circle*{0.5}}}
                \case{At}{\put(12.5,0.5){\circle*{0.5}}}
                \case{Bt}{\put(13.5,0.5){\circle*{0.5}}}
                \case{Cso}{\put(1,1.5){\circle*{0.5}}}
                \case{Dso}{\put(2,1.5){\circle*{0.5}}}
                \case{Fso}{\put(4,1.5){\circle*{0.5}}}
                \case{Gso}{\put(5,1.5){\circle*{0.5}}}
                \case{Aso}{\put(6,1.5){\circle*{0.5}}}
                \case{Cst}{\put(8,1.5){\circle*{0.5}}}
                \case{Dst}{\put(9,1.5){\circle*{0.5}}}
                \case{Fst}{\put(11,1.5){\circle*{0.5}}}
                \case{Gst}{\put(12,1.5){\circle*{0.5}}}
                \case{Ast}{\put(13,1.5){\circle*{0.5}}}
            \end{switch}

            \begin{switch}{#3}
                \case{Co}{\put(0.5,0.5){\circle*{0.5}}}
                \case{Do}{\put(1.5,0.5){\circle*{0.5}}}
                \case{Eo}{\put(2.5,0.5){\circle*{0.5}}}
                \case{Fo}{\put(3.5,0.5){\circle*{0.5}}}
                \case{Go}{\put(4.5,0.5){\circle*{0.5}}}
                \case{Ao}{\put(5.5,0.5){\circle*{0.5}}}
                \case{Bo}{\put(6.5,0.5){\circle*{0.5}}}
                \case{Ct}{\put(7.5,0.5){\circle*{0.5}}}
                \case{Dt}{\put(8.5,0.5){\circle*{0.5}}}
                \case{Et}{\put(9.5,0.5){\circle*{0.5}}}
                \case{Ft}{\put(10.5,0.5){\circle*{0.5}}}
                \case{Gt}{\put(11.5,0.5){\circle*{0.5}}}
                \case{At}{\put(12.5,0.5){\circle*{0.5}}}
                \case{Bt}{\put(13.5,0.5){\circle*{0.5}}}
                \case{Cso}{\put(1,1.5){\circle*{0.5}}}
                \case{Dso}{\put(2,1.5){\circle*{0.5}}}
                \case{Fso}{\put(4,1.5){\circle*{0.5}}}
                \case{Gso}{\put(5,1.5){\circle*{0.5}}}
                \case{Aso}{\put(6,1.5){\circle*{0.5}}}
                \case{Cst}{\put(8,1.5){\circle*{0.5}}}
                \case{Dst}{\put(9,1.5){\circle*{0.5}}}
                \case{Fst}{\put(11,1.5){\circle*{0.5}}}
                \case{Gst}{\put(12,1.5){\circle*{0.5}}}
                \case{Ast}{\put(13,1.5){\circle*{0.5}}}
            \end{switch}

            \begin{switch}{#4}
                \case{Co}{\put(0.5,0.5){\circle*{0.5}}}
                \case{Do}{\put(1.5,0.5){\circle*{0.5}}}
                \case{Eo}{\put(2.5,0.5){\circle*{0.5}}}
                \case{Fo}{\put(3.5,0.5){\circle*{0.5}}}
                \case{Go}{\put(4.5,0.5){\circle*{0.5}}}
                \case{Ao}{\put(5.5,0.5){\circle*{0.5}}}
                \case{Bo}{\put(6.5,0.5){\circle*{0.5}}}
                \case{Ct}{\put(7.5,0.5){\circle*{0.5}}}
                \case{Dt}{\put(8.5,0.5){\circle*{0.5}}}
                \case{Et}{\put(9.5,0.5){\circle*{0.5}}}
                \case{Ft}{\put(10.5,0.5){\circle*{0.5}}}
                \case{Gt}{\put(11.5,0.5){\circle*{0.5}}}
                \case{At}{\put(12.5,0.5){\circle*{0.5}}}
                \case{Bt}{\put(13.5,0.5){\circle*{0.5}}}
                \case{Cso}{\put(1,1.5){\circle*{0.5}}}
                \case{Dso}{\put(2,1.5){\circle*{0.5}}}
                \case{Fso}{\put(4,1.5){\circle*{0.5}}}
                \case{Gso}{\put(5,1.5){\circle*{0.5}}}
                \case{Aso}{\put(6,1.5){\circle*{0.5}}}
                \case{Cst}{\put(8,1.5){\circle*{0.5}}}
                \case{Dst}{\put(9,1.5){\circle*{0.5}}}
                \case{Fst}{\put(11,1.5){\circle*{0.5}}}
                \case{Gst}{\put(12,1.5){\circle*{0.5}}}
                \case{Ast}{\put(13,1.5){\circle*{0.5}}}
            \end{switch}

            \begin{switch}{#5}
                \case{Co}{\put(0.5,0.5){\circle*{0.5}}}
                \case{Do}{\put(1.5,0.5){\circle*{0.5}}}
                \case{Eo}{\put(2.5,0.5){\circle*{0.5}}}
                \case{Fo}{\put(3.5,0.5){\circle*{0.5}}}
                \case{Go}{\put(4.5,0.5){\circle*{0.5}}}
                \case{Ao}{\put(5.5,0.5){\circle*{0.5}}}
                \case{Bo}{\put(6.5,0.5){\circle*{0.5}}}
                \case{Ct}{\put(7.5,0.5){\circle*{0.5}}}
                \case{Dt}{\put(8.5,0.5){\circle*{0.5}}}
                \case{Et}{\put(9.5,0.5){\circle*{0.5}}}
                \case{Ft}{\put(10.5,0.5){\circle*{0.5}}}
                \case{Gt}{\put(11.5,0.5){\circle*{0.5}}}
                \case{At}{\put(12.5,0.5){\circle*{0.5}}}
                \case{Bt}{\put(13.5,0.5){\circle*{0.5}}}
                \case{Cso}{\put(1,1.5){\circle*{0.5}}}
                \case{Dso}{\put(2,1.5){\circle*{0.5}}}
                \case{Fso}{\put(4,1.5){\circle*{0.5}}}
                \case{Gso}{\put(5,1.5){\circle*{0.5}}}
                \case{Aso}{\put(6,1.5){\circle*{0.5}}}
                \case{Cst}{\put(8,1.5){\circle*{0.5}}}
                \case{Dst}{\put(9,1.5){\circle*{0.5}}}
                \case{Fst}{\put(11,1.5){\circle*{0.5}}}
                \case{Gst}{\put(12,1.5){\circle*{0.5}}}
                \case{Ast}{\put(13,1.5){\circle*{0.5}}}
            \end{switch}

            \begin{switch}{#6}
                \case{Co}{\put(0.5,0.5){\circle*{0.5}}}
                \case{Do}{\put(1.5,0.5){\circle*{0.5}}}
                \case{Eo}{\put(2.5,0.5){\circle*{0.5}}}
                \case{Fo}{\put(3.5,0.5){\circle*{0.5}}}
                \case{Go}{\put(4.5,0.5){\circle*{0.5}}}
                \case{Ao}{\put(5.5,0.5){\circle*{0.5}}}
                \case{Bo}{\put(6.5,0.5){\circle*{0.5}}}
                \case{Ct}{\put(7.5,0.5){\circle*{0.5}}}
                \case{Dt}{\put(8.5,0.5){\circle*{0.5}}}
                \case{Et}{\put(9.5,0.5){\circle*{0.5}}}
                \case{Ft}{\put(10.5,0.5){\circle*{0.5}}}
                \case{Gt}{\put(11.5,0.5){\circle*{0.5}}}
                \case{At}{\put(12.5,0.5){\circle*{0.5}}}
                \case{Bt}{\put(13.5,0.5){\circle*{0.5}}}
                \case{Cso}{\put(1,1.5){\circle*{0.5}}}
                \case{Dso}{\put(2,1.5){\circle*{0.5}}}
                \case{Fso}{\put(4,1.5){\circle*{0.5}}}
                \case{Gso}{\put(5,1.5){\circle*{0.5}}}
                \case{Aso}{\put(6,1.5){\circle*{0.5}}}
                \case{Cst}{\put(8,1.5){\circle*{0.5}}}
                \case{Dst}{\put(9,1.5){\circle*{0.5}}}
                \case{Fst}{\put(11,1.5){\circle*{0.5}}}
                \case{Gst}{\put(12,1.5){\circle*{0.5}}}
                \case{Ast}{\put(13,1.5){\circle*{0.5}}}
            \end{switch}

            \begin{switch}{#7}
                \case{Co}{\put(0.5,0.5){\circle*{0.5}}}
                \case{Do}{\put(1.5,0.5){\circle*{0.5}}}
                \case{Eo}{\put(2.5,0.5){\circle*{0.5}}}
                \case{Fo}{\put(3.5,0.5){\circle*{0.5}}}
                \case{Go}{\put(4.5,0.5){\circle*{0.5}}}
                \case{Ao}{\put(5.5,0.5){\circle*{0.5}}}
                \case{Bo}{\put(6.5,0.5){\circle*{0.5}}}
                \case{Ct}{\put(7.5,0.5){\circle*{0.5}}}
                \case{Dt}{\put(8.5,0.5){\circle*{0.5}}}
                \case{Et}{\put(9.5,0.5){\circle*{0.5}}}
                \case{Ft}{\put(10.5,0.5){\circle*{0.5}}}
                \case{Gt}{\put(11.5,0.5){\circle*{0.5}}}
                \case{At}{\put(12.5,0.5){\circle*{0.5}}}
                \case{Bt}{\put(13.5,0.5){\circle*{0.5}}}
                \case{Cso}{\put(1,1.5){\circle*{0.5}}}
                \case{Dso}{\put(2,1.5){\circle*{0.5}}}
                \case{Fso}{\put(4,1.5){\circle*{0.5}}}
                \case{Gso}{\put(5,1.5){\circle*{0.5}}}
                \case{Aso}{\put(6,1.5){\circle*{0.5}}}
                \case{Cst}{\put(8,1.5){\circle*{0.5}}}
                \case{Dst}{\put(9,1.5){\circle*{0.5}}}
                \case{Fst}{\put(11,1.5){\circle*{0.5}}}
                \case{Gst}{\put(12,1.5){\circle*{0.5}}}
                \case{Ast}{\put(13,1.5){\circle*{0.5}}}
            \end{switch}
        }

        \makeatother
    \end{picture}
}


\newcommandx*{\keyboardf}[7][1=0, 2=0, 3=0, 4=0, 5=0, 6=0, 7=0]{

%% Clavier 2 octaves
    \setlength{\unitlength}{0.4cm}
    \begin{picture}(7,2)
%Touches blanches
        \multiput(0,0)(1,0){8}%
        {\line(0,1){4}}

%Contour
        \put(0,0){\line(0,1){4}}
        \put(0,0){\line(1,0){7}}%down line
%\put(14,0){\line(0,1){4}}
        \put(0,4){\line(1,0){7}}%upper line

%Touches noires
        \linethickness{3mm}
        \multiput(1,4)(1,0){3}%
        {\line(0,-1){3}}

        \multiput(5,4)(1,0){2}%
        {\line(0,-1){3}}


%Rond de note
        {\color{orange}

            \begin{switch}{#1}
                \case{Fo}{\put(0.5,0.5){\circle*{0.5}}}
                \case{Go}{\put(1.5,0.5){\circle*{0.5}}}
                \case{Ao}{\put(2.5,0.5){\circle*{0.5}}}
                \case{Bo}{\put(3.5,0.5){\circle*{0.5}}}
                \case{Co}{\put(4.5,0.5){\circle*{0.5}}}
                \case{Do}{\put(5.5,0.5){\circle*{0.5}}}
                \case{Eo}{\put(6.5,0.5){\circle*{0.5}}}
                \case{Ft}{\put(7.5,0.5){\circle*{0.5}}}
                \case{Gt}{\put(8.5,0.5){\circle*{0.5}}}
                \case{At}{\put(9.5,0.5){\circle*{0.5}}}
                \case{Bt}{\put(10.5,0.5){\circle*{0.5}}}
                \case{Ct}{\put(11.5,0.5){\circle*{0.5}}}
                \case{Dt}{\put(12.5,0.5){\circle*{0.5}}}
                \case{Et}{\put(13.5,0.5){\circle*{0.5}}}
                \case{Fso}{\put(1,1.5){\circle*{0.5}}}
                \case{Gso}{\put(2,1.5){\circle*{0.5}}}
                \case{Aso}{\put(3,1.5){\circle*{0.5}}}
                \case{Cso}{\put(5,1.5){\circle*{0.5}}}
                \case{Dso}{\put(6,1.5){\circle*{0.5}}}
            \end{switch}

            \begin{switch}{#2}
                \case{Fo}{\put(0.5,0.5){\circle*{0.5}}}
                \case{Go}{\put(1.5,0.5){\circle*{0.5}}}
                \case{Ao}{\put(2.5,0.5){\circle*{0.5}}}
                \case{Bo}{\put(3.5,0.5){\circle*{0.5}}}
                \case{Co}{\put(4.5,0.5){\circle*{0.5}}}
                \case{Do}{\put(5.5,0.5){\circle*{0.5}}}
                \case{Eo}{\put(6.5,0.5){\circle*{0.5}}}
                \case{Ft}{\put(7.5,0.5){\circle*{0.5}}}
                \case{Gt}{\put(8.5,0.5){\circle*{0.5}}}
                \case{At}{\put(9.5,0.5){\circle*{0.5}}}
                \case{Bt}{\put(10.5,0.5){\circle*{0.5}}}
                \case{Ct}{\put(11.5,0.5){\circle*{0.5}}}
                \case{Dt}{\put(12.5,0.5){\circle*{0.5}}}
                \case{Et}{\put(13.5,0.5){\circle*{0.5}}}
                \case{Fso}{\put(1,1.5){\circle*{0.5}}}
                \case{Gso}{\put(2,1.5){\circle*{0.5}}}
                \case{Aso}{\put(3,1.5){\circle*{0.5}}}
                \case{Cso}{\put(5,1.5){\circle*{0.5}}}
                \case{Dso}{\put(6,1.5){\circle*{0.5}}}
            \end{switch}

            \begin{switch}{#3}
                \case{Fo}{\put(0.5,0.5){\circle*{0.5}}}
                \case{Go}{\put(1.5,0.5){\circle*{0.5}}}
                \case{Ao}{\put(2.5,0.5){\circle*{0.5}}}
                \case{Bo}{\put(3.5,0.5){\circle*{0.5}}}
                \case{Co}{\put(4.5,0.5){\circle*{0.5}}}
                \case{Do}{\put(5.5,0.5){\circle*{0.5}}}
                \case{Eo}{\put(6.5,0.5){\circle*{0.5}}}
                \case{Ft}{\put(7.5,0.5){\circle*{0.5}}}
                \case{Gt}{\put(8.5,0.5){\circle*{0.5}}}
                \case{At}{\put(9.5,0.5){\circle*{0.5}}}
                \case{Bt}{\put(10.5,0.5){\circle*{0.5}}}
                \case{Ct}{\put(11.5,0.5){\circle*{0.5}}}
                \case{Dt}{\put(12.5,0.5){\circle*{0.5}}}
                \case{Et}{\put(13.5,0.5){\circle*{0.5}}}
                \case{Fso}{\put(1,1.5){\circle*{0.5}}}
                \case{Gso}{\put(2,1.5){\circle*{0.5}}}
                \case{Aso}{\put(3,1.5){\circle*{0.5}}}
                \case{Cso}{\put(5,1.5){\circle*{0.5}}}
                \case{Dso}{\put(6,1.5){\circle*{0.5}}}
            \end{switch}

            \begin{switch}{#4}
                \case{Fo}{\put(0.5,0.5){\circle*{0.5}}}
                \case{Go}{\put(1.5,0.5){\circle*{0.5}}}
                \case{Ao}{\put(2.5,0.5){\circle*{0.5}}}
                \case{Bo}{\put(3.5,0.5){\circle*{0.5}}}
                \case{Co}{\put(4.5,0.5){\circle*{0.5}}}
                \case{Do}{\put(5.5,0.5){\circle*{0.5}}}
                \case{Eo}{\put(6.5,0.5){\circle*{0.5}}}
                \case{Ft}{\put(7.5,0.5){\circle*{0.5}}}
                \case{Gt}{\put(8.5,0.5){\circle*{0.5}}}
                \case{At}{\put(9.5,0.5){\circle*{0.5}}}
                \case{Bt}{\put(10.5,0.5){\circle*{0.5}}}
                \case{Ct}{\put(11.5,0.5){\circle*{0.5}}}
                \case{Dt}{\put(12.5,0.5){\circle*{0.5}}}
                \case{Et}{\put(13.5,0.5){\circle*{0.5}}}
                \case{Fso}{\put(1,1.5){\circle*{0.5}}}
                \case{Gso}{\put(2,1.5){\circle*{0.5}}}
                \case{Aso}{\put(3,1.5){\circle*{0.5}}}
                \case{Cso}{\put(5,1.5){\circle*{0.5}}}
                \case{Dso}{\put(6,1.5){\circle*{0.5}}}
            \end{switch}

            \begin{switch}{#5}
                \case{Fo}{\put(0.5,0.5){\circle*{0.5}}}
                \case{Go}{\put(1.5,0.5){\circle*{0.5}}}
                \case{Ao}{\put(2.5,0.5){\circle*{0.5}}}
                \case{Bo}{\put(3.5,0.5){\circle*{0.5}}}
                \case{Co}{\put(4.5,0.5){\circle*{0.5}}}
                \case{Do}{\put(5.5,0.5){\circle*{0.5}}}
                \case{Eo}{\put(6.5,0.5){\circle*{0.5}}}
                \case{Ft}{\put(7.5,0.5){\circle*{0.5}}}
                \case{Gt}{\put(8.5,0.5){\circle*{0.5}}}
                \case{At}{\put(9.5,0.5){\circle*{0.5}}}
                \case{Bt}{\put(10.5,0.5){\circle*{0.5}}}
                \case{Ct}{\put(11.5,0.5){\circle*{0.5}}}
                \case{Dt}{\put(12.5,0.5){\circle*{0.5}}}
                \case{Et}{\put(13.5,0.5){\circle*{0.5}}}
                \case{Fso}{\put(1,1.5){\circle*{0.5}}}
                \case{Gso}{\put(2,1.5){\circle*{0.5}}}
                \case{Aso}{\put(3,1.5){\circle*{0.5}}}
                \case{Cso}{\put(5,1.5){\circle*{0.5}}}
                \case{Dso}{\put(6,1.5){\circle*{0.5}}}
            \end{switch}

            \begin{switch}{#6}
                \case{Fo}{\put(0.5,0.5){\circle*{0.5}}}
                \case{Go}{\put(1.5,0.5){\circle*{0.5}}}
                \case{Ao}{\put(2.5,0.5){\circle*{0.5}}}
                \case{Bo}{\put(3.5,0.5){\circle*{0.5}}}
                \case{Co}{\put(4.5,0.5){\circle*{0.5}}}
                \case{Do}{\put(5.5,0.5){\circle*{0.5}}}
                \case{Eo}{\put(6.5,0.5){\circle*{0.5}}}
                \case{Ft}{\put(7.5,0.5){\circle*{0.5}}}
                \case{Gt}{\put(8.5,0.5){\circle*{0.5}}}
                \case{At}{\put(9.5,0.5){\circle*{0.5}}}
                \case{Bt}{\put(10.5,0.5){\circle*{0.5}}}
                \case{Ct}{\put(11.5,0.5){\circle*{0.5}}}
                \case{Dt}{\put(12.5,0.5){\circle*{0.5}}}
                \case{Et}{\put(13.5,0.5){\circle*{0.5}}}
                \case{Fso}{\put(1,1.5){\circle*{0.5}}}
                \case{Gso}{\put(2,1.5){\circle*{0.5}}}
                \case{Aso}{\put(3,1.5){\circle*{0.5}}}
                \case{Cso}{\put(5,1.5){\circle*{0.5}}}
                \case{Dso}{\put(6,1.5){\circle*{0.5}}}
            \end{switch}

            \begin{switch}{#7}
                \case{Fo}{\put(0.5,0.5){\circle*{0.5}}}
                \case{Go}{\put(1.5,0.5){\circle*{0.5}}}
                \case{Ao}{\put(2.5,0.5){\circle*{0.5}}}
                \case{Bo}{\put(3.5,0.5){\circle*{0.5}}}
                \case{Co}{\put(4.5,0.5){\circle*{0.5}}}
                \case{Do}{\put(5.5,0.5){\circle*{0.5}}}
                \case{Eo}{\put(6.5,0.5){\circle*{0.5}}}
                \case{Ft}{\put(7.5,0.5){\circle*{0.5}}}
                \case{Gt}{\put(8.5,0.5){\circle*{0.5}}}
                \case{At}{\put(9.5,0.5){\circle*{0.5}}}
                \case{Bt}{\put(10.5,0.5){\circle*{0.5}}}
                \case{Ct}{\put(11.5,0.5){\circle*{0.5}}}
                \case{Dt}{\put(12.5,0.5){\circle*{0.5}}}
                \case{Et}{\put(13.5,0.5){\circle*{0.5}}}
                \case{Fso}{\put(1,1.5){\circle*{0.5}}}
                \case{Gso}{\put(2,1.5){\circle*{0.5}}}
                \case{Aso}{\put(3,1.5){\circle*{0.5}}}
                \case{Cso}{\put(5,1.5){\circle*{0.5}}}
                \case{Dso}{\put(6,1.5){\circle*{0.5}}}
            \end{switch}
        }

        \makeatother
    \end{picture}
}
