Writing to buffer~ with poke~, first 15ms getting chopped off

    Mar 18 2022 | 11:27 pm
    Greetings! I'm trying to use poke~ to write some functions to buffers so I can visualize them.
    it seems to be working, but then it chops off the first 15 ms or so. Am I doing something wrong? Thanks!

    • Mar 19 2022 | 6:10 am
      starting line~ and trying to synchronize count~ at the same sample-accurate time, all using bang and messages, will not be sample-accurate enough, so something like this might be better for getting the exact waveform synchronized properly to start and end of buffer~:
      hope it helps ๐Ÿป (edit: there's also ways to have it automatically stop selector~ at the end of the count~(hint: you can control selector~ with signals too), but i'm a little tired and hazy from drinking lots of sake tonight, so i'll leave that for someone else to try... kanpai ๐Ÿถ)
    • Mar 21 2022 | 4:47 pm
      I would use gen if I were you. The code becomes more comprehensible in my opinion as well:
    • Mar 21 2022 | 6:04 pm
      the other alternative is peek~
    • Mar 21 2022 | 6:06 pm
      also, the signals of the signal objects connected to the bang will only be in sync when overdrive is on - and then you should add a [del 0] behind the button.