Page 1 of 3

Building the "Black Grand" with gigedit. How?

Posted: Sat Feb 02, 2008 8:49 pm
by dahnielson
Ok, today I bought SampleTekk's "Black Grand - Ambient" as GS3 direct download. Now it's downloaded and unpacked (3.7 GB compressed / 6.2 GB uncompressed) and I'm trying to figure out how to assemble it. The thing is it's a multi-format library (GS3/EXS24/HALion/Kontakt) so all samples are stored separatly as wav files and the Gigastudio file is empty. According to the instructions you have to use the "Replace all samples in all folders" feature in the Gigastudio Instrument Editor to get them inserted.

Now I'm wondering: How do I go about that business with gigedit? I'm guessing that something similar is currently unimplemented?

Re: Building the "Black Grand" with gigedit. How?

Posted: Sun Feb 03, 2008 12:48 am
by dahnielson
FYI, I've begun to implement such functionality in gigedit.

Re: Building the "Black Grand" with gigedit. How?

Posted: Sun Feb 03, 2008 1:49 am
by sbenno
way to go Anders ! :)

If you need help just ask, it should not be too hard to add the needed features and perhaps it will be useful to other LS users too
(ie all sampletekk customers that want to use LS :) )

But for correctness Sampletekk should specify this to customers (that the samples do need to be assembled first)

Anyway I applaud Sampletekk for releasing samples in multiple formats and not going the closed sampleplayback plugin + drm crippled samples.
I think the drm crap will slowly die like it did with the online music (now you can buy unencrypted mp3s on amazon.com and itunes
started to offer unencrypted AAC (=mp4) songs too.

Re: Building the "Black Grand" with gigedit. How?

Posted: Sun Feb 03, 2008 2:08 am
by dahnielson
Implemented!

Will test it tomorrow and send you a patch if it works as expected (otherwise a cry for help). All I've done is to create a "Replace all samplings in all groups" item in the samplings pop-up menu that let you choose a folder with wav files, it then try to match each samplings name with a wav files name whose data will be written to the sampling in the gig file. :geek:

BTW, about Sampletekk's distribution method, it's quite a chock to extract a 7 MB RAR-archive and have it decompressed to 6.2 GB like Shannon's law doesn't apply. :D

Re: Building the "Black Grand" with gigedit. How?

Posted: Sun Feb 03, 2008 2:31 am
by sbenno
Wow, that was fast, kudos ! :)

about patches please ask cuse, if you plan to contribute regularily he can give you CVS write access,
but discuss this with him.

thanks again for your contributions Anders. (and to Consul, Alex and others too)

Even if there are not yet so many users on the forum it's really exciting to have enthusiastic and knowledgable people
partecipating here !

Re: Building the "Black Grand" with gigedit. How?

Posted: Sun Feb 03, 2008 2:35 am
by dahnielson
Well, I'm motivated.

Ok, I will send it to him. I actually prefer sending patches so that they can be reviewed by someone with better knowledge about the code base.

Re: Building the "Black Grand" with gigedit. How?

Posted: Sun Feb 03, 2008 9:35 am
by Andreas
Hej Anders,

A "replace all samples" in gigedit would be great!

One problem you might encounter with Black Grand is that libgig doesn't currently support saving files that are larger than 2 GB, that is, it can't create the .gx01, .gx02 files.

I got Black Grand before gigedit existed, so I made a small program for the sample import. I've uploaded it here: http://hem.spray.se/andreas56/updatebg5.cpp. But, of course, the right way to do it is to extend gigedit and libgig.

Re: Building the "Black Grand" with gigedit. How?

Posted: Sun Feb 03, 2008 10:01 am
by dahnielson
Andreas wrote: One problem you might encounter with Black Grand is that libgig doesn't currently support saving files that are larger than 2 GB, that is, it can't create the .gx01, .gx02 files.

I got Black Grand before gigedit existed, so I made a small program for the sample import. I've uploaded it here: http://hem.spray.se/andreas56/updatebg5.cpp. But, of course, the right way to do it is to extend gigedit and libgig.
Oh, blimey! That's what I feared. Thanks for the warning and the small utility though.

Re: Building the "Black Grand" with gigedit. How?

Posted: Sun Feb 03, 2008 10:45 am
by dahnielson
One question about updatebg5.cpp: What are the command line arguments? And how do I use it?

Code: Select all

$> updatebg5 inputfile outputfile wavpath filenumber
Do I use it on each .gig, .gx01, .gx02 and so on file?

Wavpath is pretty selfexplanatory. But what about filenumber? The number of wav files?

Re: Building the "Black Grand" with gigedit. How?

Posted: Sun Feb 03, 2008 11:18 am
by Andreas
dahnielson wrote:One question about updatebg5.cpp: What are the command line arguments? And how do I use it?
Ah, sorry. See here: http://sourceforge.net/mailarchive/mess ... g.visit.se