Hi all, Could you please tell me if this pseudocode is the right way to do it? I don't know nothing about COM programming and if it's the good way to instantiate a track object.... //////////////////////////////////////////////////////////////////// Tempo : TDMus_Tempo_Param; DMTempoTrack : IDirectMusicTrack8 = NULL; CoCreateInstance(CLSID_DirectMusicTempoTrack, nil, CLSCTX_INPROC, IID_IDirectMusicTrack8, DMTempoTrack); DMSegment2.InsertTrack(DMTempoTrack, $1); Tempo.dblTempo := 130; DMSegment2.SetParam(GUID_TempoParam, $1, DMUS_SEG_ALLTRACKS , 0, @Tempo); //////////////////////////////////////////////////////////////////////// No compilation error, just no sound anymore. If I deleted the Setparam call, everything is fine. Thanks