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
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

Nord Sample editor importing samples with loop points!!!

Post by Eriknie »

I needed a way to import a set of wav files with loop points. Looping them in the Nord Sample Editor did not work and made audible fase, volume drops.
I noticed that the .nsmpproj files are just text files. So I wrote a small program that checked all included wav files and transfers the loop points.
Just put the project file, wav files and python files in the same folder and run the python file. It even works with multiple projects files in the folder.

NEW: now also looks for .wav files in the Media folder, great for consolidated projects

I tested this with two sets of samples: no crossfades and no clicks!!!
Now you can also use other tools to loop and import them. I highly recommend the tooling from Björn Bojahr: https://www.bjoernbojahr.de/

I have no problem if someone can host this file or improves it. Please notice this in this forum.
Hope this helps others.
In the end I did this in a few hours, would be easy for Nord to include this in the sample editor.

Github for code: https://github.com/erik-nie/FixLoop-NSE

[hr]
NEW: fixloop.exe (Experimental!!):
Please try the following experimental fixloop.exe version of the python program. I'm not allowed to add .exe files in this forum, so added it to my website:

https://qsheets.eriknie.synology.me

At the bottom is a link added with fixloop.exe

You have to put this .exe into the same folder with the project and .wav files as described in the github documentation.
No other files are needed. Just double click it. Or run from the command line to show output.

Please let me know if this works, I did a few tests and seems to work identical to the fixloop.py file, without the need for installation of python.
Last edited by Eriknie on 08 Jun 2023, 12:29, edited 3 times in total.
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
Elias
Posts: 551
Joined: 29 Sep 2019, 09:29
5
Your Nord Gear #1: Nord Stage 3
Location: Finland
Has thanked: 183 times
Been thanked: 213 times
Finland

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

Post by Elias »

The "THANKS" function is once again proven useful.
User-created Stage 2/3 file viewer: https://ns3-program-viewer.cyclic.app
Art is a great excuse to meet another human.
florence
Patch Creator
Posts: 361
Joined: 20 Jul 2019, 14:51
5
Your Nord Gear #1: Nord Stage 3
Has thanked: 94 times
Been thanked: 340 times
Contact:
France

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

Post by florence »

Very good thanks!
My free online tool to view Nord Stage programs https://ns3-program-viewer.glitch.me
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 »

Eriknie wrote:...
Just put the project file, wav files and python files in the same folder and run the python file. It even works with multiple projects files in the folder...
Is there any chance to make a step by step video/ or pdf guidance how to make it work on PC ?

( I am not much IT advanced guy so a little manual would help anyway ))

Thanks!
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 »

Check the text in the source file, that explains many of the steps.

# install python 3
installation of Python is straight forward (make sure to include python to the Path, this is an option during installation)

# download wavfile (enhanced) #
Use link above, safe the file as wavfile.py

# pip install numpy
After installation of Python, just type this in a terminal (run cmd for windows, terminal for MacOs)

# create a simple project with Nord Sample editor: import all samples and assign them to zones if not done already

# put samples, projectfile, wavfile.py and fixloop.py in the same folder

# python fixloop.py -> will open all project files in folder and tries to find matching .wav files and transfers it's loop points and sets crossfade to 0.
In a terminal. navigate to the folder first

# a copy of the project file is written with a prefix "_"
Open this file, check the loops and generate the Sample file to upload to a Nord Synth

I hope this helps!
These users thanked the author Eriknie for the post (total 4):
verbalakrobat, Ivan Jochner, NordBanger, WannitBBBad
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 »

Eriknie wrote:Check the text in the source file, that explains many of the steps.

Ok, thanks most of it i got now, last thing i would ask :

Where can i get missing fixloop.py ?

Cheers!!!
Patchmaker
Nord Stage 3 Compact /Yamaha Motif XS 7
Yamaha MODX 7 / (past gear) Roland Integra
User avatar
maxpiano
Patch Creator
Posts: 6673
Joined: 27 Jun 2011, 13:29
13
Your Nord Gear #1: Nord Stage 3
Location: Italy
Has thanked: 487 times
Been thanked: 2341 times
Italy

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

Post by maxpiano »

Ivan Jochner wrote:
Eriknie wrote:Check the text in the source file, that explains many of the steps.

Ok, thanks most of it i got now, last thing i would ask :

Where can i get missing fixloop.py ?

Cheers!!!
It is the code in the textbox in the first post Ivan

Just do a "Select all", copy and paste into a text file then save it as "fixloop.py"
Last edited by maxpiano on 09 Jun 2022, 10:09, edited 1 time in total.
These users thanked the author maxpiano for the post:
Ivan Jochner
User avatar
cookie
Patch Creator
Posts: 805
Joined: 08 Dec 2011, 17:38
13
Your Nord Gear #1: Nord Stage 3
Your Nord Gear #2: Nord Stage 2 EX
Location: France
Has thanked: 163 times
Been thanked: 349 times
France

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

Post by cookie »

Amazing community !
Great work and thanks for sharing.

I'm also no Python guru and would like to know if it would be possible to have a stand-alone EXE file where we would select the directory to scan :)
In the meantime, will try to install and make tests.

Fred
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 »

cookie wrote:Amazing community !
Great work and thanks for sharing.

I'm also no Python guru and would like to know if it would be possible to have a stand-alone EXE file where we would select the directory to scan :)
In the meantime, will try to install and make tests.

Fred
I put the file in github for maintanance. https://github.com/erik-nie/FixLoop-NSE
The benfit of python is the easy way to edit text, and runs on both MacOS and Windows.

I also update the instructions to make it easier.
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
cookie
Patch Creator
Posts: 805
Joined: 08 Dec 2011, 17:38
13
Your Nord Gear #1: Nord Stage 3
Your Nord Gear #2: Nord Stage 2 EX
Location: France
Has thanked: 163 times
Been thanked: 349 times
France

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

Post by cookie »

I understand the looping information is stored inside the WAV file itself ?
Any easy way to quickly spot which WAV files are looped or unlooped ?

Fred
Post Reply