reaper.InsertTrackAtIndex(0, 0) track = reaper.GetTrack(0, 0) reaper.GetEnvelopePoint(track, 0) -- crash!