Share and download User samples and project files (*.nsmp, *.nsmp3, *.nsmp4, *.nsmproj)"
Forum rules
How to get the MP3-Player:
Upload a MP3 file where you play some notes using your sample.
Click the "PLACE INLINE" button after uploading the MP3 sample in order to automatically create a Flash MP3 player in your post!
Also check the Forum Rules, in particular rule #6 about the sharing of patches and samples.

Re: Sample library conversion

Postby oortone » 06 Jan 2018, 16:24

maxpiano wrote:
Unfortunately .wav loop points are ignored. Loops anyway are based on loop points which indicate specific samples positions, not time.

So the best you can do is to use a a good .wav editor to lookup the exact position of the loop points on the original .wav and then manually "match" them in the NSE (splitting the screen to have both the .wav editor and NSE visible at the same time, so you can help doing this with a visual check)

PS: 0.023 ms is 0.0000000023 so your calculation above is incorrect because you used 23ms = 0.000023 instead.
The error in analogika's approximation is much smaller, as he also has explained.

Anyway, to keep it simple, at 44.1KHz you need 44.100 samples to make exactly 1 second, easy.


This will be too time consuming for most cases. Too bad but thanks for the advice.

PS I believe you mix up milliseconds and microseconds and it's one decimal wrong even for microseconds. My calculation is correct.
oortone
 
Posts: 22
Joined: 05 Jan 2018, 20:01
Country: Sweden
Has thanked: 1 time
Been thanked: 1 time
Your Nord Gear #1: Nord Modular
Your Nord Gear #2: Nord Wave

Re: Sample library conversion


Sponsor
 

Re: Sample library conversion

Postby oortone » 06 Jan 2018, 16:39

analogika wrote:If i were to set a sample exactly one second long, I’d set it to 1000 ms.

If your precision is 0.03 ms, and the actual value of one sample is 0.023 ms, then the maximum difference between the value you’re setting and the actual sample is 0.007 MILLIseconds — for the entire sample loop.

In other words, the sample would have to loop almost 140 times to be off by ONE millisecond.

And that is assuming that the displayed resolution is what the system is actually doing, rather than just being an approximation for the human user, while the system itself is of course sample-exact. I don’t know this, but anything else wouldn’t make sense.


I think you might missunderstand the reason why I ask. From experience I know that a well crafted loop in a wav file from some library will often be ruined even if the loop is set only one sample wrong. Since it's impossible to know how rounding is performed when Nord translate the actual sample number to two decimal precision milliseconds each and every loop will have at least two possible millisecond values per point. This will lead to an extensive amount of trial and error (four cases per loop I believe) if I'm to import a great portion of sampledata.

It might be the compression method they use although non destructive for audio somehow affects resolution for sample points. If so then that's a reasonable explanation to the millisecond only display and why it won't import loops. But tha's only me guessing.
Last edited by oortone on 06 Jan 2018, 21:09, edited 2 times in total.
oortone
 
Posts: 22
Joined: 05 Jan 2018, 20:01
Country: Sweden
Has thanked: 1 time
Been thanked: 1 time
Your Nord Gear #1: Nord Modular
Your Nord Gear #2: Nord Wave

Re: Sample library conversion

Postby maxpiano » 07 Jan 2018, 00:12

oortone wrote:
maxpiano wrote:
Unfortunately .wav loop points are ignored. Loops anyway are based on loop points which indicate specific samples positions, not time.

So the best you can do is to use a a good .wav editor to lookup the exact position of the loop points on the original .wav and then manually "match" them in the NSE (splitting the screen to have both the .wav editor and NSE visible at the same time, so you can help doing this with a visual check)

PS: 0.023 ms is 0.0000000023 so your calculation above is incorrect because you used 23ms = 0.000023 instead.
The error in analogika's approximation is much smaller, as he also has explained.

Anyway, to keep it simple, at 44.1KHz you need 44.100 samples to make exactly 1 second, easy.


This will be too time consuming for most cases. Too bad but thanks for the advice.

PS I believe you mix up milliseconds and microseconds and it's one decimal wrong even for microseconds. My calculation is correct.


You are right, I had a "0" more and I didn't verify that actually 1/44100 is 0,00023. Your calculation is correct, my apologies.

Anyway it still true that a 1 second loop at 44.1Khz sampling rate means looping exactly 44100 samples.
Last edited by maxpiano on 07 Jan 2018, 12:54, edited 2 times in total.
User avatar
maxpiano
Patch Creator
 
Posts: 6243
Joined: 27 Jun 2011, 13:29
Location: Italy
Country: Italy
Has thanked: 447 times
Been thanked: 2193 times
Your Nord Gear #1: Nord Stage 3

Re: Sample library conversion

Postby oortone » 07 Jan 2018, 11:58

maxpiano wrote:
oortone wrote:
maxpiano wrote:
Unfortunately .wav loop points are ignored. Loops anyway are based on loop points which indicate specific samples positions, not time.

So the best you can do is to use a a good .wav editor to lookup the exact position of the loop points on the original .wav and then manually "match" them in the NSE (splitting the screen to have both the .wav editor and NSE visible at the same time, so you can help doing this with a visual check)

PS: 0.023 ms is 0.0000000023 so your calculation above is incorrect because you used 23ms = 0.000023 instead.
The error in analogika's approximation is much smaller, as he also has explained.

Anyway, to keep it simple, at 44.1KHz you need 44.100 samples to make exactly 1 second, easy.


This will be too time consuming for most cases. Too bad but thanks for the advice.

PS I believe you mix up milliseconds and microseconds and it's one decimal wrong even for microseconds. My calculation is correct.


You are right, I had a "0" more and I didn't verify that actually 1/44100 is 0,00023. Your calculation is correct, my apologies.

Anyway it still true that a 1 second loop at 44.1Khz samplimg rate means looping exactly 44100 samples.


No problem.
If one sample is 0,023 ms then 44100 is not exactly 1 second. That's the problem I meant to describe. That it's unclear which millisecond value that corresponds to a certain sample number.
oortone
 
Posts: 22
Joined: 05 Jan 2018, 20:01
Country: Sweden
Has thanked: 1 time
Been thanked: 1 time
Your Nord Gear #1: Nord Modular
Your Nord Gear #2: Nord Wave

Re: Sample library conversion

Postby analogika » 07 Jan 2018, 12:38

One sample isn’t 0.023 ms, but, as we’ve both done the math, 0.02268…whatever.

44100 samples is one second at 44.1 kHz. That’s the definition of what a sample rate is.

Whether the interface rounds at two decimal places to make it manageable has zero influence upon what is actually happening with the sample.
The Nord giveth; the Nord taketh away…
"The Angels of Libra are in the European vanguard of the [retro soul] movement“ (Bill Buckley, Soul and Jazz and Funk)
The Drawbars — off jazz organ trio

The author analogika was thanked by:
maxpiano
User avatar
analogika
 
Posts: 3289
Joined: 21 Nov 2013, 10:02
Country: Germany
Has thanked: 1127 times
Been thanked: 1399 times
Your Nord Gear #1: Nord Electro 2
Your Nord Gear #2: Nord Stage 3

Re: Sample library conversion

Postby Mr_-G- » 07 Jan 2018, 14:02

If you think for a moment about all this, you cannot have, in discrete space, every possible value, so you might be off by some amount within a margin of error that is given by the clock or software resolution. If one of your sounds is based on samples, and you are trying to match to a drum machine, I bet that in the long run there will be always a drift. So I think you need a different approach to make sure that your sample loop in the long run keeps synchronised to another machine that has a clock with, most likely, with a different time resolution. For example not keep the sample looping forever (where the drift will at some point noticeable), but use MIDI clock to restart the sample more often, so you never reach the noticeable drift.

The author Mr_-G- was thanked by:
analogika
User avatar
Mr_-G-
Moderator
 
Posts: 4616
Joined: 18 Aug 2012, 16:48
Has thanked: 1475 times
Been thanked: 1257 times
Your Nord Gear #1: Nord Stage 2

Re: Sample library conversion

Postby oortone » 08 Jan 2018, 23:21

Mr_-G- wrote:If you think for a moment about all this, you cannot have, in discrete space, every possible value, so you might be off by some amount within a margin of error that is given by the clock or software resolution. If one of your sounds is based on samples, and you are trying to match to a drum machine, I bet that in the long run there will be always a drift. So I think you need a different approach to make sure that your sample loop in the long run keeps synchronised to another machine that has a clock with, most likely, with a different time resolution. For example not keep the sample looping forever (where the drift will at some point noticeable), but use MIDI clock to restart the sample more often, so you never reach the noticeable drift.


Hello.
My question is not about matching beats, it's a about getting loops in pads so they sound as intended from the designer of the sample library in question. Offsets, even small ones will often introduce pops.

But my initial question was if the loop point conversion could be done automatically which I've learned it can not.

My initial experiments however shows that when I enter the calculated loop point manually with one more digit than the Editor displays it seems to round it to it's internal resolution. The samples I tried will loop without clicks so that's at least a bit of good news although automatic reading of root key and loop points would have made sample import extremely more convenient. The corresponding software for Waldorf Blofeld: Spectre will do this without any problem. There's also a limit for how short samples can be in the Nord Sample Editor, 100 ms which makes import of some special libraries impossible.

By the way for any new reader of this thread. To convert a loop point at 44100 kHz sample frequency to Nord Sample Editor milliseconds this is the calculation to do.
Loop Start [ms]: (Loop Start)/44100
Length [ms]: (Loop End - Loop Start)/44100
XFade: 0

So for example if the loop is [sample number]:
Start: 70433
End: 158868

This is the result:
Loop Start = 70433/44100 = 1.597120 s (will be rounded to 1.59711)
Length = (158568 - 70433)/44100 = 88135/44100 = 1.998526 s (will be rounded to 1.99851)
oortone
 
Posts: 22
Joined: 05 Jan 2018, 20:01
Country: Sweden
Has thanked: 1 time
Been thanked: 1 time
Your Nord Gear #1: Nord Modular
Your Nord Gear #2: Nord Wave

Re: Sample library conversion

Postby Mr_-G- » 08 Jan 2018, 23:36

Oops, apologies! I meant to answer to the loop out of sync issue reported in this thread:
nord-user-samples-nsmp-samples-f14/nord-sample-editor-issues-wish-list-t3046-30.html#p95860
Last edited by Mr_-G- on 08 Jan 2018, 23:48, edited 1 time in total.
User avatar
Mr_-G-
Moderator
 
Posts: 4616
Joined: 18 Aug 2012, 16:48
Has thanked: 1475 times
Been thanked: 1257 times
Your Nord Gear #1: Nord Stage 2

Re: Sample library conversion

Postby oortone » 09 Jan 2018, 14:26

I see, maybe I should have started my own thread? But since it was closely related I hijacked this. Apologies to the thread starter.
8-)
oortone
 
Posts: 22
Joined: 05 Jan 2018, 20:01
Country: Sweden
Has thanked: 1 time
Been thanked: 1 time
Your Nord Gear #1: Nord Modular
Your Nord Gear #2: Nord Wave

Previous

Return to Nord User Samples (*.nsmp, *.nsmp3, *.nsmp4 files)



Who is online

Users browsing this forum: RenoZ and 15 guests