Using 5.09, with Python 2.5. The attached script seems like it ought to create and then sort a score, but it gives the error: TypeError: in method 'Csound_ScoreSort', argument 2 of type 'FILE *' I'm giving it two arguments that are open Python file objects. Is there another format I need to use? --What I'm trying to do is only to process all the macros. Before reaching this point, I will make sure there are no t statements in the score, and after expanding all macros, I will apply my own time-warping to the score events. One alternative would be to expand the macros myself in Python, but I'm hoping to avoid that. Any other suggestions would be welcome. Thanks. -Chuckk -- http://www.badmuthahubbard.com