I have imported a song and want now to fit the whole animation on the length of the song.
Hi Rudi and welcome here,
Have a look to Canvas properties dialog, and by the way, the rest of the wiki (step by step tutorial) is a good entry point to learn the Synfig way of.
You should also take a look to Sound Layer related informations.
Have fun.