James Stone skrev 2010-12-21 17:49:
> Not sure if anyone on the Linuxsampler list has seen this request (from LAU)?
>
> Would this be a simple or difficult thing to implement? I know it
> would be useful for users of braille terminals etc.
>
> James
>
>
> ---------- Forwarded message ----------
> From: Julien Claassen<jul...@c-lab.de>
> Date: Tue, Dec 21, 2010 at 3:39 PM
> Subject: [LAU] Building gigasamples
> To: linux-audio-user<linux-audio-u...@lists.linuxaudio.org>
>
>
> Hello everyone!
>   I was wondering, if it would be possible to create a stripped down
> commandline version of gigedit to bild a complete gigasample library
> of a preorganised .gig file and a directory of .wav-files. I've come
> across this sort of thing several times now. You get a sample library
> made up of a lot of .wav-files, a .nki file and an empty .gig-file
> shell. The only thing needing to be done is open the gig file, choose
> the right directory and click import, or however it is called.
>   Would it be possible, within reasonable amount of time and work, to
> implement such a mini special gig-builder for the CLI. I'm thinking of
> something like:
> gigbuild<file.gig>  <wav-basedir>
>   Thanks a lot for reading.
>   Kindest regards
>            Julien
>

It shouldn't be very difficult to extract this functionality from 
gigedit. The job is done in two steps, first 
MainWindow::on_action_replace_all_samples_in_all_groups() and then, 
after Save() is called on the file, 
MainWindow::__import_queued_samples(). Both functions are in 
src/gigedit/mainwindow.cpp.

Note that libgig can't create files larger than 2G, so the functions 
from gigedit can't be used for many of the SampleTekk instruments for 
example. See http://bb.linuxsampler.org/viewtopic.php?f=6&t=29

/Andreas

------------------------------------------------------------------------------
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to