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.

Nord Sample editor importing samples with loop points!!!

Postby Eriknie » 07 Jun 2022, 20:34

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



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

The author Eriknie was thanked by 19 members, including:
NordinefutschikatoFZieglerbaekgaardcookiefmkuzmaxpianoBerretjeverbalakrobatSchorschericLMrBBojahrPScooter63neomadNordBangerAmadriusWannitBBBadEliasMr_-G-
User avatar
Eriknie
Patch Creator
 
Posts: 146
Joined: 14 Jan 2014, 13:01
Location: The Netherlands
Country: Netherlands
Has thanked: 29 times
Been thanked: 107 times
Your Nord Gear #1: Nord Piano 5
Your Nord Gear #2: Nord Stage 3

Nord Sample editor importing samples with loop points!!!


Sponsor
 

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

Postby Elias » 08 Jun 2022, 00:15

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.
Elias
 
Posts: 542
Joined: 29 Sep 2019, 09:29
Location: Finland
Country: Finland
Has thanked: 173 times
Been thanked: 208 times
Your Nord Gear #1: Nord Stage 3

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

Postby florence » 08 Jun 2022, 08:55

Very good thanks!
My free online tool to view Nord Stage programs https://ns3-program-viewer.cyclic.app
florence
Patch Creator
 
Posts: 340
Joined: 20 Jul 2019, 14:51
Country: France
Has thanked: 88 times
Been thanked: 316 times
Your Nord Gear #1: Nord Stage 3

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

Postby Ivan Jochner » 08 Jun 2022, 11:55

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
Ivan Jochner
Patch Creator
 
Posts: 380
Joined: 14 Aug 2018, 20:30
Location: Vinnitsa /Ukraine
Country: Ukraine
Has thanked: 116 times
Been thanked: 284 times
Your Nord Gear #1: Nord Stage 3
Your Nord Gear #2: Other Brand

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

Postby Eriknie » 08 Jun 2022, 12:20

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) #https://gist.github.com/josephernest/3f22c5ed5dabf1815f16efa8fa53d476
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!
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

The author Eriknie was thanked by 4 members, including:
WannitBBBadNordBangerIvan Jochnerverbalakrobat
User avatar
Eriknie
Patch Creator
 
Posts: 146
Joined: 14 Jan 2014, 13:01
Location: The Netherlands
Country: Netherlands
Has thanked: 29 times
Been thanked: 107 times
Your Nord Gear #1: Nord Piano 5
Your Nord Gear #2: Nord Stage 3

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

Postby Ivan Jochner » 08 Jun 2022, 15:06

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
Ivan Jochner
Patch Creator
 
Posts: 380
Joined: 14 Aug 2018, 20:30
Location: Vinnitsa /Ukraine
Country: Ukraine
Has thanked: 116 times
Been thanked: 284 times
Your Nord Gear #1: Nord Stage 3
Your Nord Gear #2: Other Brand

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

Postby maxpiano » 08 Jun 2022, 15:16

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.

The author maxpiano was thanked by:
Ivan Jochner
User avatar
maxpiano
Patch Creator
 
Posts: 6187
Joined: 27 Jun 2011, 13:29
Location: Italy
Country: Italy
Has thanked: 441 times
Been thanked: 2177 times
Your Nord Gear #1: Nord Stage 3

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

Postby cookie » 09 Jun 2022, 09:05

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
cookie
Patch Creator
 
Posts: 722
Joined: 08 Dec 2011, 17:38
Location: France
Country: France
Has thanked: 134 times
Been thanked: 303 times
Your Nord Gear #1: Nord Stage 2

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

Postby Eriknie » 09 Jun 2022, 10:31

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
Eriknie
Patch Creator
 
Posts: 146
Joined: 14 Jan 2014, 13:01
Location: The Netherlands
Country: Netherlands
Has thanked: 29 times
Been thanked: 107 times
Your Nord Gear #1: Nord Piano 5
Your Nord Gear #2: Nord Stage 3

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

Postby cookie » 09 Jun 2022, 11:16

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
User avatar
cookie
Patch Creator
 
Posts: 722
Joined: 08 Dec 2011, 17:38
Location: France
Country: France
Has thanked: 134 times
Been thanked: 303 times
Your Nord Gear #1: Nord Stage 2

Next

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



Who is online

Users browsing this forum: No registered users and 16 guests