25 ms delay in NotePerformer Playback?

I’m on NP 4.1.0 and only using built-in sounds. I don’t consider myself to be a super-technical user - I stick to the basics for the most part - so it’s possible I screwed up some setting - but I’m not seeing anything obvious.

benwiggy repros this behavior. Have you tried the file I attached in prior post?

1 Like

This is why I would use the “delay” feature in the expression map as I suggested above, as this is the way this situation is normally handled, by putting a negative delay in NotePerformer it would be the same as if all of the NotePerformer notes were shifted back in the piano roll by that number of ms.

However, if the 25ms delay is only there in the first place due to some kind of unintentional bug in NotePerformer, it makes sense to fix that instead of reprogramming expression maps. If, on the other hand, the delay is there by design and won’t be fixed, then the official expression map should probably include proper negative delays to bring NP4 in sync with everything else.

This seems worth trying.

You can edit all the delay fields simultaneously by selecting all the base switches.

A possible issue is that delay isn’t available for add-on switches.

1 Like

I didn’t realize that, that is super useful to know. I thought you had to change them one at a time.

The delay setting not being available for add-on switches should not be an issue at all, as the add-on switch is always triggered in addition to a base switch (which is why it is called an add-on switch), and the base switch would enforce the delay.

Yes, your project file was very helpful and I could reproduce it right away. :+1:

It was unintended behavior. I made a series of fixes (both in regular NP and NPPE) for the upcoming NP 4.2 update.

Here’s what it sounds like now. The first two bars is an NPPE piano, followed by the NP piano. You can download the mp3 and compare the waveform.
Dropbox mp3

11 Likes

That’s it! I’m glad it was a quick fix. I can’t speak for anyone else, but I’m fine waiting until 4.2. Thanks Wallander - you rock!

1 Like

Hi Wallander,

Just following up on this. As always I might be doing something wrong but it seems like that first 20 milliseconds is being chopped off from the beginning. I.e., the first part of any note gets chopped off on export, but even more seriously the first metronome “click” is missing on export (it’s fine during regular playback).

I’m guessing that this is caused by the same problem that was uncovered earlier, but I’m running it by you “just in case”.

I’m attaching four files as an example - two dorico (one using Halion & one using NP) and the associated audio files.
Export Test.zip (1.2 MB)

If the problem is isolated to export and specifically the first note, please ensure you’re using 44100 Hz to rule out another bug.

AFAIK Dorico only exports mp3 at 44.1k - so yes it was 44.1kHz. I did not try every last combination but I tried wav files at 16 & 24 bits (96kHz) with the same results - the initial click/note is chopped off. You can use the examples I attached in my prior post to verify.

That’s strange. I’m unsure why the metronome would behave differently since that sound is generated by Dorico.

I can hear that the first metronome beat is missing from your exported audio file, but, for what it’s worth, I don’t get that problem exporting on my system running Dorico 5.0.10.

I attached two Dorico files - one is using Halion and the other is using NP (they’re labeled by filename). The first metronome click comes thru just fine in the Halion version but not from the NP version. If you’re hearing the first click then perhaps you used the Halion file? Would you please double check which Dorico file you’re using? Thanks!

(for clarity I changed the metronome sound to wood block. The 1st beat is clearly audible in the NP version)

I used the file “Export Test - NP.dorico”. Please see my export. The filename is “Export Test - NP - Flow 1.mp3”

I don’t know if it makes a difference, but please try the NotePerformer 4.2 update we released today.

Problem solved - I downloaded newest NP and still had same issue. Then came enlightenment :slightly_smiling_face:

When you asked if I was using 44100 I assumed that you were referring to the sample rate of the output file (over which there is no control). But in fact you were referring to the sample rate under Device Setup. I had this at 96000. After I switched this over to 44100 the initial click shows up loud & clear. It also works under 48000, but NOT 88200.

However with Halion it does work with 96000 - but as there is not audible difference I will stick with 44100.

ALSO - the new NP solves the problem with the 20ms delay.

Thanks again Wallander for your time & patience.

1 Like

That’s great to hear!

For reference, this is a known problem with the first note during exports in Dorico when using NotePerformer and sample rates over 44100 Hz. It’s related to the latency compensation in Dorico, so it only happens when NotePerformer is involved as we have the one-second delay.