Hi,I found these:src/chuck_vm.cpp:2098: this->now_system += numFrames;src/chuck_vm.cpp:2165: this->now_system += 1;src/chuck_vm.cpp:2208: this->now_system += 1;These occur in the advance*-functions, which in turn are called from Chuck_VM::run( t_CKINT num_samps ).run is for example called from the main function or from digiio_rtaudio.cpp:906: vm_ref->run( buffer_size );(current source code)Hth, PhilippOn Tue, Sep 16, 2014 at 1:21 PM, Arve Knudsen <arve.knudsen@gmail.com> wrote:_______________________________________________HiIn trying to auto-port ChucK to JavaScript through Emscripten, I am experiencing that the JavaScript version of ChucK's system clock (i.e., Chuck_VM_Shreduler::now_system), gets incremented by two seconds (i.e. 88200) for some reason I don't yet understand. Only 4096 samples have been processed at that point.Could someone be so kind as to point out in which parts of ChucK now_system gets incremented, to help me debug this issue?Thanks!Arve
chuck-dev mailing list
chuck-dev@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev
_______________________________________________
chuck-dev mailing list
chuck-dev@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev