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.
Csound mailing list Send bugs reports to Discussions of bugs and features can be posted here
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”.
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
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
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.
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.
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.
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
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.
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
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
Thank you, the console message is attached.
Best wishes
Marcelo
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/”.