Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools
Old 08-22-2022, 03:11 PM   #1
IDDQDSound
Human being with feelings
 
IDDQDSound's Avatar
 
Join Date: Jul 2019
Location: Vancouver, BC
Posts: 137
Default JS Arpeggiator Timing Issue (& the fix) (FIXED)

Hey folks!

I always felt the stock JS Arpeggiator to be overly "humanized" in high speeds. The notes don't play 16ths but rather introduce an ever-shifting amount of "swing" to the rhythm.

In a recent livestream we went over the code with the awesome leafac and discovered this line at the end of the JS plugin:

//spos+=1

This line seems to have been commented out, perhaps on accident. Uncommenting the line so it looks like this:

spos+=1

fixes the issue completely and all notes are played perfectly in time!

This is (As far as I understand) probably due to the fact that MIDI in JSFX is processed in the @block section which may or may not be a whole integer ratio of the tempo, causing these timing issues.

Anyway, it's a simple fix but I thought it could go in the next update either way!
IDDQDSound is offline   Reply With Quote
Old 08-22-2022, 04:09 PM   #2
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 16,223
Default

heh oops thanks!
Justin is offline   Reply With Quote
Old 11-11-2022, 05:10 AM   #3
kalony
Human being with feelings
 
Join Date: Sep 2019
Posts: 56
Default

Nice fix. worked here as well! Thanks
kalony is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:24 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.