database

Mar 3, 2012 at 8:59am

database

hi all and im new to this so please be patient.

is it poossable to create an audio database in wav. winows and have a recall using a usb numeric keypad to load up individul samples from a sound lirary into a midi controller for playback.

if anyone can help please do not hesitate in getting back to me.

thanx rob

#62113
Mar 3, 2012 at 10:07am

The short answer is yes.

The longer answer is: You may need to check out this tutorial by Andrew Benson: http://cycling74.com/2008/09/05/data-collection-building-databases-using-sqlite/ It would be relatively straightforward to repurpose the example in the article to do what you want, but you will need a basic understanding of Javascript and probably to study what is going on in the patch.

It is also now (in Max 6) quite feasible – and maybe easier than the SQL route – to build up a database using the dict. family too…

As far as loading up a sound library into a midi controller -well I never heard of doing *that* but maybe it is just your terminolgy…

#224357
Mar 3, 2012 at 3:18pm

to spectro

what i mean as in controller is just a keys device to audition the sound. i dont see this as a problem, as it would just be a midi sample player routed to the database. i have thought of server technology/database of audio and max being used as a numeric call up device. but its early days.

thanks for the reply and link

#224358
Mar 6, 2012 at 4:02pm

In my experience unless you need to search by multiple parameters coll or dict are less pain than js and sqlite. Also I don’t know if Max 6 is any better but in 5 if you tried to parse the results of a search that had failed for whatever reason (like an improperly formatted query) then you would crash out. This leads to lots of statement and result checking in the js code which can quickly make the code pretty hard to read and maintain.

#224359

You must be logged in to reply to this topic.