Re: [Csnd] Csound with iPhone

Victor,
A trivial question :slight_smile:
I don't remember ever importing an ogg file into a csd.
Maybe it is necessary to use GEN 1?

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        Issues · csound/csound · GitHub
Discussions of bugs and features can be posted here

Hi!

There is nothing special you need to do - ogg files work exactly as wav or aiff or any other file supported by libsndfile.
It is up to you, whether to use GEN 01 or diskin, soundin or any other Csound opcode that deals with audio files.

Maybe the only thing to keep in mind - since ogg need decompressing/deconding, loading it takes a bit more time that wav/aiff, so if you need to use one file repeatedly, GEN 01 is probably the way to go.

Best!
tarmo

Kontakt Enrico Francioni (<00000005323c8739-dmarc-request@listserv.heanet.ie>) kirjutas kuupäeval L, 22. juuni 2024 kell 21:10:

Victor,
A trivial question :slight_smile:
I don’t remember ever importing an ogg file into a csd.
Maybe it is necessary to use GEN 1?

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

You can use ogg in the same way you use a wav or aiff, no difference. Anywhere a wav file goes, you can put an ogg.
Prof. Victor Lazzarini
Maynooth University
Ireland