only after the note was suitably embroidered was it allowed to enter the melodyas though the song were a necklace that had to be strung one pearl at a time , and only after each pearl had been carefully polished .