[Csnd] Csound for Android
Date | 2023-11-25 17:39 |
From | Marcelo Carneiro de Lima |
Subject | [Csnd] Csound for Android |
Hi. Is there a particular way to run soundin and diskin on Csound for Android?
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
Thanks Best wishes, Marcelo |
Date | 2023-11-25 18:27 |
From | Arthur Hunkins <000001e1d761dea2-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd] Csound for Android |
I don't experience any problems, as long as I place my .csd and all the samples in the
Music folder and specify the full path to that folder. The path can be specified either as
"/storage/emulated/0/Music/"
or "/sdcard/Music/".
Art H.
abhunkin@uncg.edu
http://www.arthunkins.com
From: A discussion list for users of Csound <CSOUND@LISTSERV.HEANET.IE> on behalf of Marcelo Carneiro de Lima <marcelo.arcos2@GMAIL.COM>
Sent: Saturday, November 25, 2023 12:39 PM To: CSOUND@LISTSERV.HEANET.IE <CSOUND@LISTSERV.HEANET.IE> Subject: [Csnd] Csound for Android Hi. Is there a particular way to run soundin and diskin on Csound for Android?
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
Thanks
Best wishes,
Marcelo
|
Date | 2023-11-25 20:38 |
From | Marcelo Carneiro de Lima |
Subject | Re: [Csnd] Csound for Android |
Attachments | Screenshot_20231125_173601.jpg |
Thank you, the console message is attached. Best wishes Marcelo Em sáb., 25 de nov. de 2023 15:27, Arthur Hunkins <000001e1d761dea2-dmarc-request@listserv.heanet.ie> escreveu:
|
Date | 2023-11-25 20:52 |
From | Giovanni Bedetti |
Subject | Re: [Csnd] Csound for Android |
Hi Marcelo, I think that the spaces are not allowed, try what Arthur suggested, "/storage/emulated/0/Csound/yourFileWithoutSpaces.wav" or "/sdcard/Csound/yourFileWithoutSpaces.wav". Also, be aware that Csound for Android could not have access to your "Csound" folder, because of Android security measures. So if the above doesn't work try placing your files under the "Music" folder, and try with "/storage/emulated/0/Music/yourFileWithoutSpaces.wav" or "/sdcard/Music/yourFileWithoutSpaces.wav". Hope this helps Regards Il giorno sab 25 nov 2023 alle ore 20:38 Marcelo Carneiro de Lima <marcelo.arcos2@gmail.com> ha scritto:
|
Date | 2023-11-25 21:18 |
From | ST Music |
Subject | Re: [Csnd] Csound for Android |
Attachments | diskin_ex.csd |
Hi Marcelo. Are you using an Android device or Chromebook? It also appears you may be using a sample on an SD card which may not work. Try this example but make sure you first check that the file fox.wav exists on your device. It should, it is generally installed with Csound for Android. I also attached the file to make it easier. If you download it make sure you copy the csd to the correct folder: Music/Csound or a subfolder: Music/Csound/MyFiles <CsoundSynthesizer> <CsOptions> -odac </CsOptions> <CsInstruments> sr = 48000 ksmps = 32 nchnls = 1 0dbfs = 1 instr 1 aSig diskin2 "/storage/emulated/0/Music/Samples/fox.wav", 1, 0, 1 outs aSig endin </CsInstruments> <CsScore> i1 0 8.4 </CsScore> </CsoundSynthesizer> @gb FWIW, spaces are ok in certain cases. For example, if you have a folder named "Sample folder" or a file like "fox 1.wav ; aSig diskin2 "/storage/emulated/0/Sample folder/fox 1.wav", 1, 0, 1 Best, Scott On Sat, Nov 25, 2023, 3:38 p.m. Marcelo Carneiro de Lima <marcelo.arcos2@gmail.com> wrote:
|
Date | 2023-11-25 21:29 |
From | ST Music |
Subject | Re: [Csnd] Csound for Android |
P.S. another quick note - if one has a preferred sample directory, in Csound for Android go to Settings > Sample directory and add the path: /sdcard/Music/Csound/Samples Then it is easier to load a sample: aSig diskin2 "fox.wav", 1, 0, 1 Not sure about Chromebook but this works on all my Android devices On Sat, Nov 25, 2023, 4:18 p.m. ST Music <stunes6556@gmail.com> wrote:
|
Date | 2023-11-25 23:05 |
From | Marcelo Carneiro de Lima |
Subject | Re: [Csnd] Csound for Android |
Attachments | Screenshot_20231125_192216.jpg |
Hey, thank you all. Unfortunately the same problem. I'm far from sure, but in portuguese, Android's folders structures start with Armazenamento interno, that's the name of the first folder. No way to change that. Could it be the problem? Thank you again. Best wishes, Marcelo P.s. I don't have Fox.wav in my system (Android mobile fone). I changed it for another wav file for Scott's example. Didn't work either. :( Em sáb., 25 de nov. de 2023 18:29, ST Music <stunes6556@gmail.com> escreveu:
|
Date | 2023-11-25 23:26 |
From | ST Music |
Subject | Re: [Csnd] Csound for Android |
Attachments | path.jpg |
Hi again. You will need to look up the exact path to your file using some type of file explorer/manager app (see pic). So perhaps it will be something like /Armazento interno/emulado/0/Music/samples/teste.wav But be careful what app you use, they don't all accurately reflect the actual path. For example, the included app on my Samsung app does not show the proper path. I use Astro but it may not be available in Portugese. Generally, if you find the .wav file in the explorer/manager and select it, there should be an option to view details (or properties or info etc.) Best, Scott On Sat, Nov 25, 2023, 6:05 p.m. Marcelo Carneiro de Lima <marcelo.arcos2@gmail.com> wrote:
|
Date | 2023-11-26 00:35 |
From | Marcelo Carneiro de Lima |
Subject | Re: [Csnd] Csound for Android |
Unfortunately the same problem. Well, thank you again. Best wishes, Marcelo Em sáb., 25 de nov. de 2023 20:26, ST Music <stunes6556@gmail.com> escreveu:
|
Date | 2023-11-26 01:01 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [EXTERNAL] Re: [Csnd] Csound for Android |
You can try escaping the whitespace with a backslash like this
"/Armazenamento\ interno/..."
Prof. Victor Lazzarini
Maynooth University
Ireland
On 26 Nov 2023, at 00:35, Marcelo Carneiro de Lima <marcelo.arcos2@gmail.com> wrote:
|
Date | 2023-11-26 02:09 |
From | Arthur Hunkins <000001e1d761dea2-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd] Csound for Android |
I use the "Explorer" app. It includes Portuguese and 10 other languages. Here it is easy to identify paths.
Art H.
abhunkin@uncg.edu
http://www.arthunkins.com
From: A discussion list for users of Csound <CSOUND@LISTSERV.HEANET.IE> on behalf of ST Music <stunes6556@GMAIL.COM>
Sent: Saturday, November 25, 2023 6:26 PM To: CSOUND@LISTSERV.HEANET.IE <CSOUND@LISTSERV.HEANET.IE> Subject: Re: [Csnd] Csound for Android Hi again. You will need to look up the exact path to your file using some type of file explorer/manager app (see pic). So perhaps it will be something like
/Armazento interno/emulado/0/Music/samples/teste.wav
But be careful what app you use, they don't all accurately reflect the actual path. For example, the included app on my Samsung app does not show the proper path.
I use Astro but it may not be available in Portugese.
Generally, if you find the .wav file in the explorer/manager and select it, there should be an option to view details (or properties or info etc.)
Best,
Scott
On Sat, Nov 25, 2023, 6:05 p.m. Marcelo Carneiro de Lima <marcelo.arcos2@gmail.com> wrote:
|
Date | 2023-11-26 17:30 |
From | Marcelo Carneiro de Lima |
Subject | Re: [Csnd] Csound for Android |
No, nothing, sorry. Thanks again. Best wishes Marcelo Em sáb., 25 de nov. de 2023 23:09, Arthur Hunkins <000001e1d761dea2-dmarc-request@listserv.heanet.ie> escreveu:
|
Date | 2023-11-26 18:10 |
From | Tarmo Johannes |
Subject | Re: [Csnd] Csound for Android |
Hi! Do you have Android development tools installed on your computer? if yes, adb (found in folder platform-tools) could help: connect your phone, then adb shell and ls I am quite sure, the system folder names are not in Portuguese. My two cents. Tarmo Kontakt Marcelo Carneiro de Lima (<marcelo.arcos2@gmail.com>) kirjutas kuupäeval P, 26. november 2023 kell 19:30:
|