Csound Csound-dev Csound-tekno Search About

Re: [Csnd] fout on Android?

Date2012-09-11 17:07
From"Art Hunkins"
SubjectRe: [Csnd] fout on Android?
Thanks for the hint, Roger. Indeed I do not have root access, and changing file name on fout as you suggest completely solves my problem. (So I'll soon be able to post a demo performance of my latest project to the web.)
 
BTW, on my Samsung Tab 2 7.0 tethered to my computer, the SD card is still fully operational.
 
Art Hunkins
----- Original Message -----
Sent: Monday, September 10, 2012 11:36 PM
Subject: Re: [Csnd] fout on Android?

On Android it got written to internal storage by default.  "/data/data/yourpackage/files/name.wav".  If you don't have root no your device you won't be able to see it.

Change your file name on fout to "/mnt/sdcard/myfile.wav".  This will write it to the SD card and you can look at it then from File Explorer.

P.S. You should not be have your Android attached to your computer when you run the Csound to do fout.  The SD card is only active when unattached from your computer.



On Mon, Sep 10, 2012 at 10:21 PM, Art Hunkins <abhunkin@uncg.edu> wrote:
Should it be possible to use fout in Android Csound similar to other platforms?

I've got a realtime file rendering just fine, but there is no sign of a designated WAV file writing anywhere. (I've done a complete searchy of user storage.)

In the "error window" there's no sign of anything going awry either.

I assume there are no special CsOptions that need to be specified, nor any fancy way the output filepath must be listed. My fout line is:
       fout    "ChimePad.wav", 4, ga1, ga2

Art Hunkins


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"