Building the "Black Grand" with gigedit. How?

You're new to the LinuxSampler world? You don't know where to start and nothing works? Here's the place to ask for help.
User avatar
dahnielson
Moderator
Posts: 632
Joined: Wed Jan 23, 2008 11:25 pm
Location: Linköping / Tranås, Sweden
Contact:

Building the "Black Grand" with gigedit. How?

Post by dahnielson » Sat Feb 02, 2008 8:49 pm

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?
Anders Dahnielson

Ardour2, Qtractor, Linuxsampler, M-AUDIO Delta 1010, Axiom 61, Korg D12, AKAI S2000, E-MU Proteus 2k, Roland R-5, Roland HP 1300e, Zoom RFX-1000, 4GB RAM x86_64 Intel Pentium Dual 1.80GHz Gentoo Linux

User avatar
dahnielson
Moderator
Posts: 632
Joined: Wed Jan 23, 2008 11:25 pm
Location: Linköping / Tranås, Sweden
Contact:

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

Post by dahnielson » Sun Feb 03, 2008 12:48 am

FYI, I've begun to implement such functionality in gigedit.
Anders Dahnielson

Ardour2, Qtractor, Linuxsampler, M-AUDIO Delta 1010, Axiom 61, Korg D12, AKAI S2000, E-MU Proteus 2k, Roland R-5, Roland HP 1300e, Zoom RFX-1000, 4GB RAM x86_64 Intel Pentium Dual 1.80GHz Gentoo Linux

sbenno
Developer
Posts: 80
Joined: Wed Jan 23, 2008 8:30 pm

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

Post by sbenno » Sun Feb 03, 2008 1:49 am

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.

User avatar
dahnielson
Moderator
Posts: 632
Joined: Wed Jan 23, 2008 11:25 pm
Location: Linköping / Tranås, Sweden
Contact:

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

Post by dahnielson » Sun Feb 03, 2008 2:08 am

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
Last edited by dahnielson on Sun Feb 03, 2008 2:33 am, edited 1 time in total.
Anders Dahnielson

Ardour2, Qtractor, Linuxsampler, M-AUDIO Delta 1010, Axiom 61, Korg D12, AKAI S2000, E-MU Proteus 2k, Roland R-5, Roland HP 1300e, Zoom RFX-1000, 4GB RAM x86_64 Intel Pentium Dual 1.80GHz Gentoo Linux

sbenno
Developer
Posts: 80
Joined: Wed Jan 23, 2008 8:30 pm

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

Post by sbenno » Sun Feb 03, 2008 2:31 am

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 !

User avatar
dahnielson
Moderator
Posts: 632
Joined: Wed Jan 23, 2008 11:25 pm
Location: Linköping / Tranås, Sweden
Contact:

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

Post by dahnielson » Sun Feb 03, 2008 2:35 am

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.
Anders Dahnielson

Ardour2, Qtractor, Linuxsampler, M-AUDIO Delta 1010, Axiom 61, Korg D12, AKAI S2000, E-MU Proteus 2k, Roland R-5, Roland HP 1300e, Zoom RFX-1000, 4GB RAM x86_64 Intel Pentium Dual 1.80GHz Gentoo Linux

Andreas
Developer
Posts: 214
Joined: Sun Feb 03, 2008 8:33 am

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

Post by Andreas » Sun Feb 03, 2008 9:35 am

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.

User avatar
dahnielson
Moderator
Posts: 632
Joined: Wed Jan 23, 2008 11:25 pm
Location: Linköping / Tranås, Sweden
Contact:

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

Post by dahnielson » Sun Feb 03, 2008 10:01 am

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.
Anders Dahnielson

Ardour2, Qtractor, Linuxsampler, M-AUDIO Delta 1010, Axiom 61, Korg D12, AKAI S2000, E-MU Proteus 2k, Roland R-5, Roland HP 1300e, Zoom RFX-1000, 4GB RAM x86_64 Intel Pentium Dual 1.80GHz Gentoo Linux

User avatar
dahnielson
Moderator
Posts: 632
Joined: Wed Jan 23, 2008 11:25 pm
Location: Linköping / Tranås, Sweden
Contact:

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

Post by dahnielson » Sun Feb 03, 2008 10:45 am

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?
Anders Dahnielson

Ardour2, Qtractor, Linuxsampler, M-AUDIO Delta 1010, Axiom 61, Korg D12, AKAI S2000, E-MU Proteus 2k, Roland R-5, Roland HP 1300e, Zoom RFX-1000, 4GB RAM x86_64 Intel Pentium Dual 1.80GHz Gentoo Linux

Andreas
Developer
Posts: 214
Joined: Sun Feb 03, 2008 8:33 am

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

Post by Andreas » Sun Feb 03, 2008 11:18 am

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

Post Reply