I made a discovery that might help people that produce Single Cycle sample packs. What I found was
Factory Single Cycle Samples loop nicely when previewing on DT2
Third party Single Cycle Samples DO NOT loop when previewing (annoying)
some of my drum samples loop when previewing (really annoying)
I’ve figured out what triggers the loops, to the point where I have a utility the lets me add the looping feature to a file or remove it when needed.
The utility is by no means ready for prime-time yet, but I’m happy to share a more detailed explanation of manipulating the ‘smpl’ header on the WAV file to get the results, assuming there’s anyone who produces sample packs with single cycle waveforms who is interested. (Perhaps @mpiecora@Claid ? )
the WAV file header must have a ‘smpl’ chunk which is a standard RIFF/WAV metadata chunk defined in the MIDI Manufacturers Association spec. It describes how a sampler should play back the file.
the num_sample_loops in the ‘smpl’ chunk must be 1.
within the single loop record, the ‘type’ must be 0 indicating forward
If your code does that, you should get the sample looping in when previewing a sample.
EDIT: This was tested only on a DT2 at firmware 1.15A. If you then use the wav file on some other hardware or software, it may or may not result in looping, but, so long as you stick to the exact spec for ‘smpl’ chunk, it should probably not break anything.