我正在尝试将〜缓冲区对象的内容保存到当前的实时集项目中。有没有办法在不使用交互式对话框的情况下以编程方式获取Ableton Live设置文件的完整文件路径?我将使用set path来计算新音频文件的路径,并使用“write”消息将其发送到〜buffer。
谢谢!
答案 0 :(得分:0)
据我所知,Live API不会为您提供Live set的路径。
但是,您似乎希望将录制的音频剪辑加载到缓冲区中。从Live 9开始,可以使用剪辑的file_path属性来完成。
如果您将以下代码粘贴到空的音频设备中,它应该会自动将您在其轨道上录制的最后一个剪辑加载到缓冲区中:
----------begin_max5_patcher----------
1712.3oc6a0zrZaCEcM7qviW19xarjk+ftqsyzY5pl8YxvHvBPoBaO1hWdIY
R9sW8gse1.FK.mGhlrw.RxxGcz8dtWIr9xzItKxdlT557aNuyYxjuLcxDUQx
BlT86ItawOujgKUMyMk7wrEev8AcUbxybUwL5SjG4ankIjmnKI00uJKkWR+L
Q1Ff2idUEmtaa1NNivU8oeUo5h3eJmnAj6Bb5Z2Gbboo75ObdeUiyw7kanoq
mWPVx0sGNCHdBNAxKQyjWAwO50bGzDEREn+MAwsAXJdq5I596ETLy4OxXItu
.TZZMNAxx95zoxKObkzUFNYKorzojvcJwayYmGkA5ixNIAAfM7C..NIAE8ZQ
PeD+DYUVw1uU2iK1sZEon4Q1kb5xBg8wBqD7qxj4DegQKUeZ.i4KmFbfAgxO
BQ8PYg0frjvDc.MKcYFKqnpij2p2iQwwP+.427fQn.f7aAM8VGxLX7r1xKH4
jzDGwGL7xWCKsZWwX4033SZpEbi8E0FbeqxMTvDdNvyhhfCZFpDxLfuhgZeS
uSRXnaLgk6jsnjT7D4u9aF4sX9l+Y0aY3OIFQ+IilO1VWsbh7dLF4C7iTdRH
.HJT9MUQ9OHcwLfh88eT3+ABgmjhAWDE29gSJpH1JlUzUTF4IRQoPXnUqm3h
yyaU7jV2hb53C5AekTmrHZptHPSQEhXt02eTSo3BAEvEi+cEZ3+bbnqtRgIv
z5asgeTwEBUwMCiTVfg9sz5DFKqYYK+Whhl7pKLSnrPS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