| Istvan,
Am I to understand that this would allow one to embed the required samples
into a .csd file? If so, that would be really great. Hope that all
versions of Csound could support this feature.
Dr. B.
on 3/23/05 7:30 AM, Istvan Varga at istvan_v@fibermail.hu wrote:
> Anthony Kozar wrote:
>
>> Third, there is no information about the tag.
>
> This is a Base64 encoded file that is unpacked (apparently in
> the current directory) with the original name, and is deleted
> at the end of performance. CsFileB is the most generic and probably
> the most useful file embedding tag, but probably only works in
> Csound5 as there were bugs that I fixed very recently.
>
> Here is an example of an encoded file, as created by csb64enc:
>
>
> PENzb3VuZFN5bnRoZXNpemVyPgo8Q3NJbnN0cnVtZW50cz4Kc3IJPSAgNDQxMDAKa3NtcHMJ
> PSAgMzIKbmNobmxzCT0gIDIKMGRiZnMJPSAgMQoKCWluc3RyIDEKYTEJdmNvMiAwLjc1LCA0
> NDAsIDEwCmtmcnEJcG9ydCAxMDAsIDAuMDA4LCAyMDAwMAphMQlidXR0ZXJscCBhMSwga2Zy
> cQphMglsaW5zZWcgMCwgMC4wMDMsIDEsIDAuMDEsIDAuNywgMC4wMDUsIDAsIDEsIDAKYTEJ
> PSAgYTEgKiBhMgoJZGVub3JtIGExCmFMLCBhUglmcmVldmVyYiBhMSwgYTEsIDAuOSwgMC4z
> NSwgc3IsIDAKCW91dHMgYTEgKyBhTCwgYTEgKyBhUgoJZW5kaW4KCjwvQ3NJbnN0cnVtZW50
> cz4KPENzU2NvcmU+CgppIDEgMCA1CmUKCjwvQ3NTY29yZT4KPC9Dc291bmRTeW50aGVzaXpl
> cj4K
>
>
> An example of a complete, working CSD file with CsFileB tags:
>
>
> ; this CSD file was generated with makecsd v1.1
> ; (written by Istvan Varga, Mar 2003)
>
> ; set command line options here
> -F test.mid
>
>
> sr = 48000
> ksmps = 32
> nchnls = 2
>
> garvb init 0
>
> #include "instr_90.h"
>
> instr 1
>
> iamp veloc
> kcps cpsmidib
> a1 vco2 iamp * iamp, kcps
> kfco expon 10000, 0.5, 4000
> a2 clfilt a1, kfco, 0, 2
> aenv linsegr 0, 0.005, 1, 2, 0.5, 3600, 0.5, 0.05, 0
> a1 = a2 * aenv * aenv
> vincr garvb, a1
> outs a1, a1
>
> endin
>
>
>
> i 90 0 5
> e
>
>
>
> CglpbnN0ciA5MAoKZ2FydmIJPSAgZ2FydmIgKiAwLjM1CglkZW5vcm0gZ2FydmIKYWwsIGFy
> CXJldmVyYnNjIGdhcnZiLCBnYXJ2YiwgMC43NSwgMTAwMDAsIHNyLCAwLjUKZ2FydmIJPSAg
> MAoJb3V0cyBhbCwgYXIKCgllbmRpbgoK
>
>
> TVRoZAAAAAYAAQABAHhNVHJrAAAATwDwCkEQQhJAAH8AQfcA/38USkFaMgEAAAAAAAAAAAAA
> AAAAAAAA/1EDBbjYAJAwf1QwACQ3f1Q3ACQ8f1Q8ACRDf1RDACRIf1RIAAD/LwA
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
> Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
> for the chance to win $25,000 and application distribution. Enter today at
> http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
_______________________________________________________________________
+ Dr. Richard Boulanger, Professor
+ Music Synthesis Department, Berklee College of Music
+ 1140 Boylston Street - Boston, MA 02215-3693
+ Office Phone: (617) 747-2485 Office Fax: (617) 747-2564
+ eMail: rboulanger@csounds.com or rboulanger@berklee.edu
+ WebPage: http://csounds.com/boulanger/
________________________________________________________________________
+ Almost Everything Csound @ http://csounds.com/
+ The Csound Catalog with Audio @ http://csounds.com/catalog/
+ The Csound Book @ http://csounds.com/book/
+ The Csound Magazine @ http://csounds.com/ezine/
+ CsoundForums @ http://csounds.com/phpBB2/
________________________________________________________________________
-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |