Question about going back and forth between ms and samples


    Mar 12 2009 | 10:59 am
    Hello,
    I'm building some kind of wave editor. When i do some manipulations like crossfades, using a buffer~ and peek~ objects, things are fine if length in ms are like 4000. But things go wrong when it's 4111.2358...
    After a bunch of tests, i'm sure this is happening because of the conversion of ms to samples. Indexes to read/write become wrong...
    Is there something i need to know ? tips ?
    max 5.0.6 / xp pro sp2
    thanks in advance
    f.e

    • Mar 12 2009 | 11:15 pm
      f.e.,
      Can you be more specific? Post a simple example patch that shows what you are seeing?
      -Ben
    • Mar 13 2009 | 12:54 am
      Are you using mstosamples~ and samplestoms~?