fourMs / MGT-python

Musical Gestures Toolbox for Python
https://www.uio.no/ritmo/english/research/labs/fourms/downloads/software/musicalgesturestoolbox/mgt-python/index.html
GNU General Public License v3.0
52 stars 11 forks source link

Optional title SSM #286

Closed alexarje closed 1 year ago

alexarje commented 1 year ago

It would be good to have the possibility to set the title for the SSM functions (similar to waveform(), etc.) and leave it off by default.

joachimpoutaraud commented 1 year ago

I have updated the _ssm.py script and add the possibility to set the title for the SSM functions. By default it is the same as in the _audio.py script, it renders the no title or the os.basename as title by entering the string 'filename'. I have also fixed a problem related to the ssm variable name that was redundant and created error when calling the ssm object more than one time.