[Csnd] Why cant GEN01 open a wav in Csound for Android?
Date | 2018-10-31 16:36 |
From | cybilsopsin |
Subject | [Csnd] Why cant GEN01 open a wav in Csound for Android? |
Just switched from iphone to android, and i couldnt be more excited to use the Csound app! Its been working fine with all manner of synthesis methods, but ive run up against a problem when i try to load a soundfile using GEN01. The error im getting says: soundin cannot open burroughs.wav: No Error. ftable 999: failed to open file burroughs.wav burroughs.wav is the name of the file im trying to use. I placed it in the same directory as the csd file. 999 is the ftable number i chose for it. There do not appear to be any other bugs in the code, since the instrument is initializing (but returning an invalid ftable error since gen01 couldnt construct the table). Is this a limitation of running csound on android? Do i need to somehow change the settings on my phone to give csound access? Here is the full code. Its an attempt to do granular synthesis on a long recording of a lecture by William S Burroughs. |
Date | 2018-10-31 16:42 |
From | Michael Gogins |
Subject | Re: [Csnd] Why cant GEN01 open a wav in Csound for Android? |
You probably need to specify the full filepath, or else set the directories in the settings. In either case it's not always obvious what the paths are, use an android file explorer to find out. Regards, Mike On Wed, Oct 31, 2018, 12:36 cybilsopsin <cybilopsin@gmail.com wrote: Just switched from iphone to android, and i couldnt be more excited to use |
Date | 2018-10-31 17:13 |
From | cybilsopsin |
Subject | Re: [Csnd] Why cant GEN01 open a wav in Csound for Android? |
Ok, i found the path name. Actually the My Files app was no help, but i just used the "open" button on the csound app. It shows absolute path names. Now gen01 is opening the file, reading its sample rate and all that, but right after i get this message: memory allocate failure for [long number here] inactive allocs returned to freespace end of score So i assume this means the soundfile im loading (over an hour in length) is too long to fit in the memory? ----- ***cybilopsin*** "We are all guilty of crime, the great crime of not living life to the full." - Henry Miller -- Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html 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 |
Date | 2018-10-31 20:10 |
From | joachim heintz |
Subject | Re: [Csnd] Why cant GEN01 open a wav in Csound for Android? |
why do you want to load one hour sound file into a function table? On 31/10/18 18:13, cybilsopsin wrote: > Ok, i found the path name. Actually the My Files app was no help, but i just > used the "open" button on the csound app. It shows absolute path names. > > Now gen01 is opening the file, reading its sample rate and all that, but > right after i get this message: > > memory allocate failure for [long number here] > inactive allocs returned to freespace > end of score > > So i assume this means the soundfile im loading (over an hour in length) is > too long to fit in the memory? > > > > ----- > ***cybilopsin*** > "We are all guilty of crime, the great crime of not living life to the full." - Henry Miller > -- > Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html > > 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 |