xsample in Max 8

Jakob Riis's icon

I have a few patches, that I have used for a decade, where Thomas Grills ancient xsample is a key object. The routine of getting the xsample-objectmappings.txt in the right place is a routine I have gone through at every update since Max 4.5 but now with Max 8 it doesn't work anymore. Any ideas more than welcome, be it alternative objects or workaround to get xsample in working condition

Source Audio's icon

xsample is 32 bit only.
Max8 64 bit only.
Porting to 64 bit would also need 64 bit flext ...
Exists for PD since 2013 but not for Max

Jakob Riis's icon

Thanks, that explains it.
I do wan't to move to Max 8, so I will need to look into alternatives to xsample.
The feature I need is record~'s mix-in capability. I have tried making a patch doing the same based on record~ , but so far I didn't manage to make it work properly...

Source Audio's icon

xsample are the best objects for live looping, for many reasons.
The mix in recording can be remade using index - poke combo.
Also there are pokef~ and recordf~ externals in percolate distribution
that could maybe replace xrecord~.
It depends a bit on sync type that You use.
---------
If You upload a part of Your patch showing what xrecord
was doing, I'd try to help You recreate it with plain max objects

Jakob Riis's icon

I just need to record to buffer with sample accurate mix-in, that's it :-)
I'll give it a go with the index~ poke~ combo as you suggested and post it here

yaniki's icon

Jacob, did you tried Karma package as a modern replacement for xsample?

Darren Gibbs's icon

I just rebuilt xsample from source and am running old patches in Max 8/9 and it seems to be working on Intel and AppleSilicon. YMMV but it so far it's all good.

xsample.zip
zip 177.48 KB


Jakob Riis's icon

Great. Still use the patch from time to time. Would love to get my hands on the new version compiled for Max8/9.

However I have migrated to Windows now…

Source Audio's icon

xsample.mxe64.zip
zip 869.63 KB