See inside for the custom block and its definition for noteblock remixes or noteblock creations you can set time to complete (length), number of notes per slide (sample size), start pitch (start) and end pitch (end) in the function. Sample size and length will round up (it was that or down, an I prefer an extra note than no final one) in the case of fractions
Credit to @Sudsy_ for alerting me to microtones working in scratch by default, in this project https://scratch.mit.edu/projects/1107555045 If you measure carefully, you can make 31 edo glissandos in this one