Csound Csound-dev Csound-tekno Search About

Re: [Csnd] fout Android

Date2012-08-19 01:53
From"Art Hunkins"
SubjectRe: [Csnd] fout Android
Please tell me how you fixed the permissions.
 
And by default where does the file write? Or do you need to specify the complete path?
 
Art Hunkins
----- Original Message -----
Sent: Saturday, August 18, 2012 6:04 PM
Subject: Re: [Csnd] fout Android

Yes it was a permissions issue.  Got it fixed.  Thanks.

On Sat, Aug 18, 2012 at 5:00 PM, Steven Yi <stevenyi@gmail.com> wrote:

If it is a permissions issue, ot would be a one line change to add the permission to the android application that uses csound.

On Aug 18, 2012 2:51 PM, "Art Hunkins" <abhunkin@uncg.edu> wrote:
Victor answered a similar inquiry from me a few days ago by saying that he thought Csound on Android (if I understand correctly) did not have permission to write WAV files.
 
I'd like to know if this is: a current limitation of Android, or a limitation of the Csound implementation on Android? (I'd assume the former - and hope this may change in the near future, as may the lack of MIDI implementation.)
 
Art Hunkins
----- Original Message -----
To: csound
Sent: Saturday, August 18, 2012 5:28 PM
Subject: [Csnd] fout Android

Does anyone know if fout works on Android? If so what directory should I attempt to put the filename into?  I get this error:

08-18 16:23:54.917: I/AndroidCsound(14705): error opening sound file '/sdcard/testaudio/test.wav'



Date2012-08-19 04:21
FromRoger Kelly
SubjectRe: [Csnd] fout Android
Add this to your manifest xml:
  <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

And you path (assuming you want to write to the sdcard) would be /mnt/sdcard/<your directory>, otherwise it writes to /data/data/yourpackagename

On Sat, Aug 18, 2012 at 7:53 PM, Art Hunkins <abhunkin@uncg.edu> wrote:
Please tell me how you fixed the permissions.
 
And by default where does the file write? Or do you need to specify the complete path?
 
Art Hunkins
----- Original Message -----
Sent: Saturday, August 18, 2012 6:04 PM
Subject: Re: [Csnd] fout Android

Yes it was a permissions issue.  Got it fixed.  Thanks.

On Sat, Aug 18, 2012 at 5:00 PM, Steven Yi <stevenyi@gmail.com> wrote:

If it is a permissions issue, ot would be a one line change to add the permission to the android application that uses csound.

On Aug 18, 2012 2:51 PM, "Art Hunkins" <abhunkin@uncg.edu> wrote:
Victor answered a similar inquiry from me a few days ago by saying that he thought Csound on Android (if I understand correctly) did not have permission to write WAV files.
 
I'd like to know if this is: a current limitation of Android, or a limitation of the Csound implementation on Android? (I'd assume the former - and hope this may change in the near future, as may the lack of MIDI implementation.)
 
Art Hunkins
----- Original Message -----
To: csound
Sent: Saturday, August 18, 2012 5:28 PM
Subject: [Csnd] fout Android

Does anyone know if fout works on Android? If so what directory should I attempt to put the filename into?  I get this error:

08-18 16:23:54.917: I/AndroidCsound(14705): error opening sound file '/sdcard/testaudio/test.wav'




Date2012-08-19 15:13
From"Dr. Richard Boulanger"
SubjectRe: [Csnd] fout Android
Hopefully this important info will be added to the manual.

Sent from my iPad.

On Aug 18, 2012, at 11:21 PM, Roger Kelly <loraxman+csound@gmail.com> wrote:

Add this to your manifest xml:
  <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

And you path (assuming you want to write to the sdcard) would be /mnt/sdcard/<your directory>, otherwise it writes to /data/data/yourpackagename

On Sat, Aug 18, 2012 at 7:53 PM, Art Hunkins <abhunkin@uncg.edu> wrote:
Please tell me how you fixed the permissions.
 
And by default where does the file write? Or do you need to specify the complete path?
 
Art Hunkins
----- Original Message -----
Sent: Saturday, August 18, 2012 6:04 PM
Subject: Re: [Csnd] fout Android

Yes it was a permissions issue.  Got it fixed.  Thanks.

On Sat, Aug 18, 2012 at 5:00 PM, Steven Yi <stevenyi@gmail.com> wrote:

If it is a permissions issue, ot would be a one line change to add the permission to the android application that uses csound.

On Aug 18, 2012 2:51 PM, "Art Hunkins" <abhunkin@uncg.edu> wrote:
Victor answered a similar inquiry from me a few days ago by saying that he thought Csound on Android (if I understand correctly) did not have permission to write WAV files.
 
I'd like to know if this is: a current limitation of Android, or a limitation of the Csound implementation on Android? (I'd assume the former - and hope this may change in the near future, as may the lack of MIDI implementation.)
 
Art Hunkins
----- Original Message -----
To: csound
Sent: Saturday, August 18, 2012 5:28 PM
Subject: [Csnd] fout Android

Does anyone know if fout works on Android? If so what directory should I attempt to put the filename into?  I get this error:

08-18 16:23:54.917: I/AndroidCsound(14705): error opening sound file '/sdcard/testaudio/test.wav'