[DEV] Nord User Sample Library Development Thread
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.
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.
-
- Posts: 148
- Joined: 26 Apr 2019, 10:14
- 6
- Your Nord Gear #1: Nord Stage 3
- Your Nord Gear #2: Nord Electro 3
- Has thanked: 8 times
- Been thanked: 65 times
Re: [DEV] Nord User Sample Library Development Thread
Hi
You can drag multiple files in one selection (one drag/drop) , but cannot currently make an additional selection (an additional drag/drop).
Ill try to work on this over next few days
You can drag multiple files in one selection (one drag/drop) , but cannot currently make an additional selection (an additional drag/drop).
Ill try to work on this over next few days
- These users thanked the author spookycookie for the post:
- Schorsch
-
- Posts: 148
- Joined: 26 Apr 2019, 10:14
- 6
- Your Nord Gear #1: Nord Stage 3
- Your Nord Gear #2: Nord Electro 3
- Has thanked: 8 times
- Been thanked: 65 times
Re: [DEV] Nord User Sample Library Development Thread
I have added the ability to hide (remove) files, and un-hide them.
Its available in the 'patch editor' - just toggle the Hide switch. You can see it working when you view the patch.
There is no need to click the 'update' button when you hide files, you can simply close the pop window.
Its available in the 'patch editor' - just toggle the Hide switch. You can see it working when you view the patch.
There is no need to click the 'update' button when you hide files, you can simply close the pop window.
Last edited by spookycookie on 02 Jan 2020, 23:01, edited 3 times in total.
- These users thanked the author spookycookie for the post (total 2):
- Schorsch, rudiratlos
-
- Posts: 148
- Joined: 26 Apr 2019, 10:14
- 6
- Your Nord Gear #1: Nord Stage 3
- Your Nord Gear #2: Nord Electro 3
- Has thanked: 8 times
- Been thanked: 65 times
Re: [DEV] Nord User Sample Library Development Thread
I think I need to review the data a bit more closely, theres so many incorrect Mp3s when I compare the imported data to the summary on nord_sample_collection.php
not quite sure where this has gone wrong, either on the Excel file that Johanes provided or my SQL import...
It does seem to match Johannes' summaries though, but only 50% of the time nord_stage_2_program_collection.php
not quite sure where this has gone wrong, either on the Excel file that Johanes provided or my SQL import...

It does seem to match Johannes' summaries though, but only 50% of the time nord_stage_2_program_collection.php
Last edited by spookycookie on 03 Jan 2020, 02:23, edited 2 times in total.
-
- Patch Creator
- Posts: 72
- Joined: 18 Jun 2015, 21:38
- 10
- Your Nord Gear #1: Nord Electro 5
- Your Nord Gear #2: Nord Stage 3
- Has thanked: 31 times
- Been thanked: 75 times
Re: [DEV] Nord User Sample Library Development Thread
Hi Spooky,
I took a look at Johannes summaries and saw that many of my mp3 are wrong and don't match with the mp3s which I uploaded to the patches in my post. In your new database I have added the right mp3s.
I took a look at Johannes summaries and saw that many of my mp3 are wrong and don't match with the mp3s which I uploaded to the patches in my post. In your new database I have added the right mp3s.
- These users thanked the author rudiratlos for the post:
- Johannes
-
- Posts: 148
- Joined: 26 Apr 2019, 10:14
- 6
- Your Nord Gear #1: Nord Stage 3
- Your Nord Gear #2: Nord Electro 3
- Has thanked: 8 times
- Been thanked: 65 times
Re: [DEV] Nord User Sample Library Development Thread
I have made some fixes but its never going to 100% correct unfortunately. Can you check your patches again?
there is a chance I reverted your changes. It should be OK but please check..
there is a chance I reverted your changes. It should be OK but please check..

Last edited by spookycookie on 04 Jan 2020, 18:21, edited 2 times in total.
- Spider
- Posts: 1182
- Joined: 06 Nov 2012, 12:26
- 12
- Your Nord Gear #1: Nord Stage 2 EX
- Your Nord Gear #2: Nord Wave
- Has thanked: 582 times
- Been thanked: 612 times
- Contact:
Re: [DEV] Nord User Sample Library Development Thread
Thanks for the great job spookycookie!
A couple of observations: would it be possible to visualize more than 10 rows? Many times it's useful to have more patches visible on the same page, so you can easily compare them (when all the mp3s will be available).
Also, would it be possible to add an "advanced search" function? For example, searching only among categories, or only in the patch name, tags, or patches from a certain author, etc.
I also notice that it's difficult to get coherent results doing a text search.
For example, if I type "bass" in the Search field, I get a series of results and among the first I see patches #227 "Dx7 Bogi Bass" and #228 "Dx7 Dirty Bass".
But if I type "Dx7 bass" all I can see is patch #20567 "Nm Dx7 Bass Mw", and I can't retrieve the two patches above.
A couple of observations: would it be possible to visualize more than 10 rows? Many times it's useful to have more patches visible on the same page, so you can easily compare them (when all the mp3s will be available).
Also, would it be possible to add an "advanced search" function? For example, searching only among categories, or only in the patch name, tags, or patches from a certain author, etc.
I also notice that it's difficult to get coherent results doing a text search.
For example, if I type "bass" in the Search field, I get a series of results and among the first I see patches #227 "Dx7 Bogi Bass" and #228 "Dx7 Dirty Bass".
But if I type "Dx7 bass" all I can see is patch #20567 "Nm Dx7 Bass Mw", and I can't retrieve the two patches above.
Last edited by Spider on 04 Jan 2020, 21:48, edited 2 times in total.
-
- Posts: 148
- Joined: 26 Apr 2019, 10:14
- 6
- Your Nord Gear #1: Nord Stage 3
- Your Nord Gear #2: Nord Electro 3
- Has thanked: 8 times
- Been thanked: 65 times
Re: [DEV] Nord User Sample Library Development Thread
Hey Spider,
You can set the number rows to 20 at the bottom of the table.
I can certainly improve the search feature, I'll have a think about your example... it would certainly be possible to split the search query into 2 separate queries (Dx7 + bass) but the challenge would be returning the results only when both DX7 + bass are matched.... I guess it might only be a few lines of code, but might take me a few hours to write them . lol
I also had 'column search filters' a while ago on each column which allows for more advanced filtering/seaching at column level, I thought it looked a bit clumsy so I disabled it. If you think it's worthwhile I can turn the column filters back on next time I deploy it
You can set the number rows to 20 at the bottom of the table.
I can certainly improve the search feature, I'll have a think about your example... it would certainly be possible to split the search query into 2 separate queries (Dx7 + bass) but the challenge would be returning the results only when both DX7 + bass are matched.... I guess it might only be a few lines of code, but might take me a few hours to write them . lol
I also had 'column search filters' a while ago on each column which allows for more advanced filtering/seaching at column level, I thought it looked a bit clumsy so I disabled it. If you think it's worthwhile I can turn the column filters back on next time I deploy it

- These users thanked the author spookycookie for the post:
- Spider
-
- Posts: 148
- Joined: 26 Apr 2019, 10:14
- 6
- Your Nord Gear #1: Nord Stage 3
- Your Nord Gear #2: Nord Electro 3
- Has thanked: 8 times
- Been thanked: 65 times
Re: [DEV] Nord User Sample Library Development Thread
Hey Spider,
I added a button to toggle the column filters off/on. Its top right next to search (which I moved to left side) also added option to set 50 & 100 rows per page - let me know if you want 200, 300 etc... (it starts to slow down a bit)
thanks for the suggestions, I will give some thought to improving the search as per your example
I added a button to toggle the column filters off/on. Its top right next to search (which I moved to left side) also added option to set 50 & 100 rows per page - let me know if you want 200, 300 etc... (it starts to slow down a bit)
thanks for the suggestions, I will give some thought to improving the search as per your example

Last edited by spookycookie on 04 Jan 2020, 23:43, edited 1 time in total.
- These users thanked the author spookycookie for the post:
- Spider
- Spider
- Posts: 1182
- Joined: 06 Nov 2012, 12:26
- 12
- Your Nord Gear #1: Nord Stage 2 EX
- Your Nord Gear #2: Nord Wave
- Has thanked: 582 times
- Been thanked: 612 times
- Contact:
Re: [DEV] Nord User Sample Library Development Thread
Hahaha thanks, I think 50-100 rows is about where it stops being useful and it starts messing things up.
Thanks for the immediate updates, they're small things but make things much easier!

Thanks for the immediate updates, they're small things but make things much easier!

-
- Posts: 108
- Joined: 18 Dec 2019, 03:56
- 5
- Your Nord Gear #1: Nord Stage 3
- Has thanked: 418 times
- Been thanked: 38 times
Re: [DEV] Nord User Sample Library Development Thread
Here's a geek thought on the search, and this is totally not a request. I'm just geeking out...
Use a separate table which stores terms that can be matched in the search. For instance, when a new sample is uploaded, every word is split apart and added to the search terms table - every word of each tag, every word of each title, description, filename (if it is a long filename, it's just one word, no need to try to do magic on long words).
So each word in the search terms table will not be a unique entry in that table, because it will be a hit for every field that contains that word. Maybe the table schema looks like --
If the table has an index of the term field, any search is fast. Break the search into words, do a single query of the SearchTerms table
(The default, case insensitive search has that forced lower case on terms and of course, force the input from the user to lower case. Later, since the table stores terms in their original upper or lower case, a case sensitive search can be done.)
I think MS SQL even has soundex matching and other useful ways to match on things that are a close match. (Here's where filenames would work out, by adding to the query a partial match ability, so a search for ns3p would work like it should.)
Once that query completes, combining results and ranking then is a separate step. So in this example, the search was for "Dx7 bass". Results from the SearchTerms table will include matches on anything with either "dx7" OR "bass"; if one field matches them both, its score is higher.
Or there are good "full text search" systems out there already. Just wanted to geek out for a bit! Cheers!
Use a separate table which stores terms that can be matched in the search. For instance, when a new sample is uploaded, every word is split apart and added to the search terms table - every word of each tag, every word of each title, description, filename (if it is a long filename, it's just one word, no need to try to do magic on long words).
So each word in the search terms table will not be a unique entry in that table, because it will be a hit for every field that contains that word. Maybe the table schema looks like --
Code: Select all
CREATE TABLE SearchTerms (
id LONG AUTOINCREMENT
term VARCHAR
patchId LONG
whatField INTEGER -- This is an enum
numberOfOccurrences INTEGER
)
Code: Select all
select * where LOWERCASE(term) in ( "dx7", "bass" )
I think MS SQL even has soundex matching and other useful ways to match on things that are a close match. (Here's where filenames would work out, by adding to the query a partial match ability, so a search for ns3p would work like it should.)
Once that query completes, combining results and ranking then is a separate step. So in this example, the search was for "Dx7 bass". Results from the SearchTerms table will include matches on anything with either "dx7" OR "bass"; if one field matches them both, its score is higher.
Or there are good "full text search" systems out there already. Just wanted to geek out for a bit! Cheers!
Last edited by dmamfmgm on 05 Jan 2020, 01:13, edited 1 time in total.