buffer and filename as argument
When specifying a file name in the buffer object that cannot be found, a duration argument is being ignored and the length of the buffer will be 0. The helpfile suggest that it is possible to both provide a filename and a duration as argument.
I can’t reproduce here with Max 5.0.5. What version are you using? Can you send along a simple example patch so that I can understand exactly what you are seeing?
----------begin_max5_patcher---------- 369.3ocqT00aCBBE8Y7WAgmcFvN6L6s86XYYAUrkEEZPLqaMc+1GdEsqM0E6 Gu.bOb4dumCbYW.hjo2JZH3mwuhQncAHD.0Af71HRMeadEuAbinZqyDFRX+V NKopRXg8XdvMba9ZoZ06FQtsO1LJMhFhYOlzMk.FwtQ7a9yHKfnqy93AF8OQ W2ZGBerGsTqrJds.NvKFIuZv+dmsesQzmUhTYIgXRFWshLlpty2H+F7gEGQ6 P2GDzMDNSQHq0Z0pKUDhAZ+zH4mVBROuBvlhmdBdELQI9zkvgzYEagZ0Ibk5 evVQiUX3VsIhKKuN5xXI8SKhRllvKOOgSu7q7xJMGtzqjMv7HvbVbWekLg1l 0VVJLmptNogRuNIdgu2J8+dRkb2ZpFEqY2VA93tPTm9UCPoN7iUwFcqIeHc9 mG3kiYpvIbRE2JcsfG7o6aC7ApuVVTHf8odjZYwFs6GAeMLQ6xbKozix14Ko k2PE4L1G7KPNBVEJ -----------end_max5_patcher-----------
> I can’t reproduce here with Max 5.0.5. What version are you using? Can you send along a simple example patch so that I can understand exactly what you are seeing?
Using 5.0.5, but I followed the instructions in the buffer~ reference which says that after the buffer name a filename can be provided. Like this:
----------begin_max5_patcher---------- 211.3ocSO0raCBCC9bxSQTNyPIH5j1dP5kppJCX5Xh3TAlV1pZe1aR.l1Ea4 ue7m8coPW4mwQs5S0AkPbWJDInHfXcVncvbcOLljoI7lu5ac1BEiybBtZpsE Gdp.2HiCMfScsGfglN5LR42fqphcFylsK.W+Uf5z.VyKo+w64lLksrL1JJ2k Zlbi53pmtlTPgveytsmVOwD3vDy9XtDrwQStNpG4zYa+mgwteSFr1PF+o0Ow ahKVQWf3etfKmnts2CrNK7s.cVqNFk8PJikvvC4KCL2T6B -----------end_max5_patcher-----------
It used to work like this, am I mistaken?
Ah, I see what you mean. This is how it is in Max 4 as well; if the file is invalid, then the duration argument is not set. I’m not sure what can be done about this, but I will pass it along as a feature request.