Nord Sample editor importing samples with loop points!!!

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.
Post Reply
User avatar
maxpiano
Patch Creator
Posts: 6674
Joined: 27 Jun 2011, 13:29
13
Your Nord Gear #1: Nord Stage 3
Location: Italy
Has thanked: 487 times
Been thanked: 2343 times
Italy

Re: Nord Sample editor importing samples with loop points!!!

Post by maxpiano »

Ivan Jochner wrote:Continuing of learning "Rocket Science" :lol:

1. All my files are in the following directory

C:\Users\ADMIN\Documents\NordSampleEditor3Projects\NORD LOOPS

2. In the terminal ( cmd.exe), i placed copied path where all files are stored

C:\Users\ADMIN\Documents\NordSampleEditor3Projects\NORD LOOPS\fixloop.py
As step 2 you must do the command "cd C:\Users\ADMIN\Documents\NordSampleEditor3Projects\NORD LOOPS" to move into that directory (cd is the terminal command for "change directory") and then launch the final command "python fixloop.py"
Last edited by maxpiano on 10 Jun 2022, 12:18, edited 3 times in total.
User avatar
Eriknie
Patch Creator
Posts: 150
Joined: 14 Jan 2014, 13:01
10
Your Nord Gear #1: Nord Piano 5
Your Nord Gear #2: Nord Stage 3
Location: The Netherlands
Has thanked: 29 times
Been thanked: 111 times
Contact:
Netherlands

Re: Nord Sample editor importing samples with loop points!!!

Post by Eriknie »

Nice to see the struggle with relative simple things for a normal software developer. ;)
I tried to explain as simple as possible.... There is some more/better info at the github location. https://github.com/erik-nie/FixLoop-NSE

If the path of python is set correctly or association, you can also double click the fixloop.py from a normal file explorer window. You will not see the outcome and or error messages.
not sure if this works, as it depends on the installation. On my computer I already had python installed and setup for longer time.

Good luck and let me (us) know if it was helpfull.
Use the latest fixloop version on github.
NP5-73, NS3C
QSheets: The fastest sheet display tool in the world that plays Audio and send Program Changes: https://QSheets.eriknie.synology.me
FixLoop: Add Loop Points of Wav Files into the Nord Sample Editor: https://github.com/erik-nie/FixLoop-NSE
User avatar
Ivan Jochner
Patch Creator
Posts: 380
Joined: 14 Aug 2018, 20:30
6
Your Nord Gear #1: Nord Stage 3
Your Nord Gear #2: Other Brand
Location: Vinnitsa /Ukraine
Has thanked: 116 times
Been thanked: 284 times
Contact:
Ukraine

Re: Nord Sample editor importing samples with loop points!!!

Post by Ivan Jochner »

Ok, so finally downloaded newest Fixloop.py and it worked!

Next question, in the new project there are still audible loop points ?

( Checked both projects, loops exactley the same as in original project)
Last edited by Ivan Jochner on 10 Jun 2022, 13:07, edited 4 times in total.
Patchmaker
Nord Stage 3 Compact /Yamaha Motif XS 7
Yamaha MODX 7 / (past gear) Roland Integra
User avatar
Eriknie
Patch Creator
Posts: 150
Joined: 14 Jan 2014, 13:01
10
Your Nord Gear #1: Nord Piano 5
Your Nord Gear #2: Nord Stage 3
Location: The Netherlands
Has thanked: 29 times
Been thanked: 111 times
Contact:
Netherlands

Re: Nord Sample editor importing samples with loop points!!!

Post by Eriknie »

sure that there are loop points in the wav file? Check the output of fixloop for this.

You can compare the two project files by hand in a text editor or using https://winmerge.org/
If the loop points are set correct, the loop playback of the _ project file will not have any clicks.

You can sent me a wav file and I can also check this.
NP5-73, NS3C
QSheets: The fastest sheet display tool in the world that plays Audio and send Program Changes: https://QSheets.eriknie.synology.me
FixLoop: Add Loop Points of Wav Files into the Nord Sample Editor: https://github.com/erik-nie/FixLoop-NSE
User avatar
Eriknie
Patch Creator
Posts: 150
Joined: 14 Jan 2014, 13:01
10
Your Nord Gear #1: Nord Piano 5
Your Nord Gear #2: Nord Stage 3
Location: The Netherlands
Has thanked: 29 times
Been thanked: 111 times
Contact:
Netherlands

Re: Nord Sample editor importing samples with loop points!!!

Post by Eriknie »

Ivan Jochner wrote:Ok, so finally downloaded newest Fixloop.py and it worked!

Next question, in the new project there are still audible loop points ?

( Checked both projects, loops exactley the same as in original project)
Hi Ivan,

I received your files and found out what the problem is.

Typically there are 3 types of wav files that can be used in the Nord Sample editor:
  1. a recorded set samples in a single wav files. This is a recording of some keypresses in a hardware or software synth. The Nord Sample Editor will cut the different sections and assigns them to a key. You can also use the Editor for looping.
  2. a set of wav files that are already cut (like a C2-wav and a F2-wav)
  3. a set of wav files that have been looped with an external program or are downloaded with a loop.
Your file contains the wav files of type 1. So they will not have loop points for sure!



You need to cut them, use an external looper. This creates type 3 wav files.
You can do this using the free tools from Bjorn. Check his very complete video's on the different steps. They are in German, but you can use auto-translate.
Those tools are much better at looping than the limited sample editor looping function.

After looping you can do the magic of fixloop.py to get the looppoints into the Nord Sample Editor project with all the steps described in GitHub.

Hope this helps you getting things clear.
Once you got you first full samples set done this way, you know the drill and can use it very fast for other sample sets.

This is a really powerful tool-chain!
I know because I sampled many synths in the passed and had to use all kinds of half working tools with way more steps and lower result.
These users thanked the author Eriknie for the post (total 3):
Ivan Jochner, FZiegler, Schorsch
NP5-73, NS3C
QSheets: The fastest sheet display tool in the world that plays Audio and send Program Changes: https://QSheets.eriknie.synology.me
FixLoop: Add Loop Points of Wav Files into the Nord Sample Editor: https://github.com/erik-nie/FixLoop-NSE
mattrobertson
Posts: 11
Joined: 07 Oct 2022, 03:49
2
Been thanked: 3 times
Canada

Re: Nord Sample editor importing samples with loop points!!!

Post by mattrobertson »

hi! thanks for this great info.
Im struggling a little to get it to work
I'm on OSX, I've installed Python and numpy (although following the instruction on mac, I had to do pip3 install numpy - rather than pip install numpy...?)
I've made a folder on my desktop with the Nord sample project, the audio files, the fixloop.py and the wavfile.py
However, when I try to navigate to the relevant folder in terminal it says it does not exist.
In my case it is:
/Users/Desktop/juno test
I think because maybe I'm in the wrong place, the "python fixloop.py" command doesnt seem to do anything.
Any ideas? Help greatly appreciated!!
mattrobertson
Posts: 11
Joined: 07 Oct 2022, 03:49
2
Been thanked: 3 times
Canada

Re: Nord Sample editor importing samples with loop points!!!

Post by mattrobertson »

update,,,, !
ok i figured out the above, and the fixloop.py runs and creates a new _project file, but the loop points have not come across.
I verified that the wavs I have do indeed contain loop data by dropping them into Endless Wav
So the _project file created by fixloop looks identical to me as the original project file.
I'm on Python 3 and Nord sample editor 4.
Any ideas?
thank you!!
User avatar
Eriknie
Patch Creator
Posts: 150
Joined: 14 Jan 2014, 13:01
10
Your Nord Gear #1: Nord Piano 5
Your Nord Gear #2: Nord Stage 3
Location: The Netherlands
Has thanked: 29 times
Been thanked: 111 times
Contact:
Netherlands

Re: Nord Sample editor importing samples with loop points!!!

Post by Eriknie »

Sorry to hear it doesn't work.
During the running of fixloop some statements are printed.
It shows: filename has no loops OR a list of start, end, length.
This shows that my python program had found loops or not.
Is not, there must be some reason: my program does not work always, or there just are no loops in the files.
The filenames are given, so please double-check.
I think my retrieval of start and end points is okay, at least for many sample sets that I used it for.

please copy the output of the fixloop.py here, perhaps I can help you further
NP5-73, NS3C
QSheets: The fastest sheet display tool in the world that plays Audio and send Program Changes: https://QSheets.eriknie.synology.me
FixLoop: Add Loop Points of Wav Files into the Nord Sample Editor: https://github.com/erik-nie/FixLoop-NSE
User avatar
Eriknie
Patch Creator
Posts: 150
Joined: 14 Jan 2014, 13:01
10
Your Nord Gear #1: Nord Piano 5
Your Nord Gear #2: Nord Stage 3
Location: The Netherlands
Has thanked: 29 times
Been thanked: 111 times
Contact:
Netherlands

Re: Nord Sample editor importing samples with loop points!!!

Post by Eriknie »

Got your project files: before and after: They are identical.

I mentioned the output of the running of the program.
When I run a test project with a few samples:

python fixloop.py

I got:

Code: Select all

=============[ Strings2c.nsmpproj ]=============
Strings2_016.wavID:16 start: 59707  end:130205 len: 70498
Strings2_014.wavID:14 start: 65724  end:153168 len: 87444
Strings2_019.wavID:19 start: 47922  end:140342 len: 92420
This means that the samples are found and contain loop-points.

Please post your output when the script runs
NP5-73, NS3C
QSheets: The fastest sheet display tool in the world that plays Audio and send Program Changes: https://QSheets.eriknie.synology.me
FixLoop: Add Loop Points of Wav Files into the Nord Sample Editor: https://github.com/erik-nie/FixLoop-NSE
mattrobertson
Posts: 11
Joined: 07 Oct 2022, 03:49
2
Been thanked: 3 times
Canada

Re: Nord Sample editor importing samples with loop points!!!

Post by mattrobertson »

Hi - Im sorry I dont understand what you mean by "the output of running the program" - i thought the output was the new '_project' file?
Post Reply