< Back to IRCAM Forum

Presets in txt - interpolation

Hi,

I’ve been doing some research through the forum and the documentation aswell, but still I can’t find a way to interpolate between stored presets in .txt. In the past, the snapshot system didn’t work well for me so I am currently saving all in dictionaries, which is fine but this approach may be better.

How can I send the data stored in preset.txt to spat5.osc.interpolate?
I tried with spat5.osc.collect, and even running three instances of spat5.oper and still nothing (tried this because of the examples in interpolation, which showed three instances of spat5.viewer).

Here the patch I’m working on:


----------begin_max5_patcher----------
1594.3oc6Zs0aaaCE9YGf9ePPXO5ZKRQpK8ksULr9xBPA5C6gfh.ZYZGkJKZ
HQk4th8ee7ht5XIS6H6lMz.3Khhxmy224BOGx7s2byD6Erczbaq2Ycm0jIeS
LxD0XxQlTMvD6MjcQIjb0DsiXa1PS41SKuImtiqtwOWOT7R0.rEO9Vre8naI
7nGhSWeeFMhqkoaPvLmoVHOG4G.0EPw2s9b0CkVrINMgxUxFzZTVAuZXG0n+
yatQ9o3ioFikT5eITxmCkbgthmwxilEmxoYaYIDNsdZZQy+5VpFE11SEuZz4
1vGMD7gnvY3oVXHRAePnB+vdwO7v3ud3bxSzk2KjqPB2S37r3EEbs8cRCEHU
kLxFp.X2SSIKRnMjXEKdVrYR7SzYKiII0X9IRVpPR8b2CoFfAI4UILBuESuh
EUjufksjlEwRXY5o5LyE35CwnPGPnmievTiGx4fVQWrAVQDxS4KCTuGbpNw6
YDqsdCYGehjTPYqpFu9Fso1DV55maCty6yUPpyr2HLnJkzQFQdfIj+.KiW+6
oiNN3uTkk6f+JEow7b9W0lbb4Dpb8dQ9fan44j0zmGROeaFMmxmK7fVZ8SfA
BlOnK.HbPW.OrN0k5CcRsSONFL9nVCZ3L9N9Ii3.CPL.ovZI7e8fXv4fX2As
wfWqH9E5YicL.0u97rmmyJxhnyEBZAMyxap077sTxWnYsFZAIc8I6E3NHefa
RxCQvqMczWAKRa+vfUc2CCXmiCXfpBE7wL+fqEd4OjUbpFV3fg2d9AsBuggW
ajdIRgCGLEtOF0DS++iL3PjAl3uW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+iC52BNearQYKpig5I1202C4qXB2.jKPwNn8CeO2vdisCmY1h
5bBCYA2airVQpV8Abgrpjc9l4K+CC3EIo9iKVbJAUg+Hl5bhoFSK1WxShEUW
8mxZuF1z0B85s3r8aiqRo2Jy2mTPOVRZRTjPL68+CozGPZN7pKtJrzs3Booe
HiRSOCU0QpaXW4exuA7BDEAdIzR0+jPePrb5YnjRpyQ4niCg.rhYAsczOWMs
rAB0NXKU07skqOn1o62biXJ+KByOFV.
-----------end_max5_patcher-----------

Thank you very much,
Darío

Hi Dario,

You can have a look at “spat5.snapshot.management.maxpat” which provides insight on snapshot interpolation. (NB: this requires the latest version of spat5)
See also the attached patcher.

I hope this helps.
Best,
T.


----------begin_max5_patcher----------
1259.3oc6XsziaaCD9r8uBAkdzwKI06dqAEHWZ.JPOzCKBVPIQ6vsxjFTTNN
MH+2KeHIK6U1VdWY6dHKvpGjbzLy2LCmO5uOchaJeKoz04WcdzYxjuOcxDyP
5AlT+9D2U3sYE3Ryxby3qVQXR2Y14jjsRy3kRtf3TxvqK+BW5fZV.qZEkUPj
Fog0CRyMxvSe98PulUlVklVP5tLkr7JYivf5QWvYxR5+ZWIbNnik7bUojtfl
gkTNq6WZMVl8EJa4SBRlz5tHefRVGDvbCBhLu4MG374NJhgWYTj6uIn3BW8D
+X5T8kYuQ.qfiycVKHkjKAsP2KzJvBSQlawIWIvZEorDuj7Bv5glDqGv448B
Vnd.KnauPSiaZGR9s0DqO5515M8f.vfvN4KwdlWfZDXDSJNnJp0AL4ILoIR8
TAkQx3ULYW+9bYNI2oDGXh27.Uhi++CJyfCsLK9dUkAQFTBdcqxNFVkUPvBG
xVpxhYKaSCKGJrEcuxwrklw1TLeuaLrQYRhXMu.KINoD4WID1Nry4cPGLK24
cnyWK6MPbFAuW.sEhQgHcMMBcsJlKnaHyy0BW+Y2fEse0WL4YgKPKziEpuhJ
Z8DggOIvgNZOhYNtKTapHc63yYUkobQNQjwK3B6JAy8fdQn.+D.LIDDEOavC
ANceHa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