Csound Csound-dev Csound-tekno Search About

[Csnd] handling compressed archives?

Date2012-10-18 10:14
FromRory Walsh
Subject[Csnd] handling compressed archives?
A colleague of mine and I are working on a simple Csound sampler. We
need to make the distribution of the finished app/plugin as tidy as
possible, and as small as possible. Ideally we'd like to include all
the samples in a single compressed file that could be auto-extracted
when Csound starts. I guess there is currently no facility for this in
Csound? Might it be a useful feature? I know zlib seems pretty usable
and it open source/cross-platform?

Date2012-10-18 10:40
Fromzappfinger
Subject[Csnd] Re: handling compressed archives?
Rory,

Why not use a database - like MySQL - to store the samples as blobs?

Just my 2 cents....

Richard



--
View this message in context: http://csound.1045644.n5.nabble.com/handling-compressed-archives-tp5716995p5716996.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2012-10-18 10:51
FromRory Walsh
SubjectRe: [Csnd] Re: handling compressed archives?
Hi Richard, the issue isn't so much how to store them, it's how to
make them readable by Csound after they have been stored/compressed
etc. I can write my own compression utility to zip/unzip them, but it
might be a nice feature to have native to Csound. I'm also thinking of
cases where users wish to compress data for mobile devices.

On 18 October 2012 10:40, zappfinger  wrote:
> Rory,
>
> Why not use a database - like MySQL - to store the samples as blobs?
>
> Just my 2 cents....
>
> Richard
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/handling-compressed-archives-tp5716995p5716996.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>

Date2012-10-18 11:56
Fromluis antunes pena
SubjectRe: [Csnd] handling compressed archives?
I didn't test this, but I wonder if it could work 
with the system opcode and shell commands like tar?
Could this be an option for you?
Best,
Luis


Am 18.10.12 11:14, schrieb Rory Walsh:
> A colleague of mine and I are working on a simple Csound sampler. We
> need to make the distribution of the finished app/plugin as tidy as
> possible, and as small as possible. Ideally we'd like to include all
> the samples in a single compressed file that could be auto-extracted
> when Csound starts. I guess there is currently no facility for this in
> Csound? Might it be a useful feature? I know zlib seems pretty usable
> and it open source/cross-platform?
>
>
> Send bugs reports to the Sourceforge bug tracker
>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>


-- 
--
http://luisantunespena.eu


Date2012-10-18 13:26
FromRory Walsh
SubjectRe: [Csnd] handling compressed archives?
It would if I knew the user had those command line utilities
installed. it turns out that I won't need it after all, but I can
certainly thing of some uses for a compress utility for Csound.