Csound Csound-dev Csound-tekno Search About

Re: [Csnd] Csound with iPhone

Date2024-06-22 13:25
FromEnrico Francioni <00000005323c8739-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] Csound with iPhone
With Csound web-IDE on iPhone I still have several problems to solve:

- be able to import mp3 files (under 2 mb)
- be able to import a microphone signal...
- the connection speed (4G)...

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

Date2024-06-22 14:16
Fromvlz
SubjectRe: [Csnd] Csound with iPhone
Use ogg instead of mp3, it will always work.

You can prepare your project using a computer and then use the iphone to play it.

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 22 Jun 2024, at 13:25, Enrico Francioni <00000005323c8739-dmarc-request@listserv.heanet.ie> wrote:
> 
> With Csound web-IDE on iPhone I still have several problems to solve:
> 
> - be able to import mp3 files (under 2 mb)
> - be able to import a microphone signal...
> - the connection speed (4G)...
> 
> 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

Date2024-06-22 15:32
FromMichael Gogins
SubjectRe: [Csnd] Csound with iPhone
Attachmentssfplay3.csd  
It should be possible to encode your sample soundfiles (or any other files) as base64 and include the files in the .csd file using <CsFileB filename=name>...</CsFileB> tags. I have attached a working example.

Of course the resulting .csd file could become quite large, but I don't think that will actually stop it from working.

This doesn't work in the Csound Web-IDE, it looks like the Web IDE editor messes with the encoded text. But it works fine with my build of Csound for WebAssembly if you paste the attached example into this: https://gogins.github.io/player.html

Regards,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Sat, Jun 22, 2024 at 8:25 AM Enrico Francioni <00000005323c8739-dmarc-request@listserv.heanet.ie> wrote:
With Csound web-IDE on iPhone I still have several problems to solve:

- be able to import mp3 files (under 2 mb)
- be able to import a microphone signal...
- the connection speed (4G)...

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