dkmayer  
              
                  
                    December 19, 2024, 10:44pm
                   
                  24 
               
             
            
              Great to hear that it works for you! I think OffsetOut is exact enough for most practical purposes (at least it usually is for me).
Just one add-on: it’s not sample accurate in realtime. This is a delicate topic which comes up again and again. If you’re interested, there are some threads on this:
  
  
    This goes back to an observation of my colleague Gerhard Eckel. I posted this a while ago on the mailing list, but can’t find it anymore in the archives. As I think it’s an interesting topic I’m reposting it here again for future reference. 
Timing in general is a crucial topic and practically users are mainly confronted with asynchronicity between server and language, latency, quantization, the Out/OffsetOut differences etc. Sample-accurate timing isn’t relevant in all contexts, nevertheless in…
   
 
  
  
    Hi! 
I want to use a Playbuf in order to play a wavetable that I have created in a buffer. 
When using just play; the Playbuf works as expected. 
When I want to make it work with patters things do not go as expected… 
this is the example code: 
// 1) Create a table at buffer 10: 
( 
p=2.pow(11); 
v=Signal.sineFill(p, 1.0/[1, 2, 3, 4, 5, 6]); 
v.plot; 
n=Buffer.alloc(s,p,1,bufnum:10); 
n.loadCollection(v); 
) 
// 2)This plays normally… 
( 
SynthDef(\help_PlayBuf, {| out = 0,buf=10,trig=1000,dur | …
   
 
There might also be some possible system-related accuracy issues, at least on OSX I didn’t encounter such since OS 10.15, described in the last post of the first thread:
  
  
    Ultimately, a comment of James in a thread on the mailing list has shed more light into this: the vast amount of jitter seems to be produced by system action (NTP)! After a switch to OS 10.15 the large jumps in the realtime variants analyzed in the first post of this thread – and confirmed by @shiihs  on Linux – have gone away! Besides, if you want to check the realtime tests, take the variants below which contain an additional path definition necessary for newer SC versions. 
https://www.listarc…