| yes, it needs to be edited to say that fout does not work with fiopen.
> On 11 Oct 2016, at 14:43, John ff wrote:
>
> At least the manual needs a new comment.
>
>
> Sent from TypeApp
>
> On 11 Oct 2016, at 14:17, Michael Breitenbach wrote:
> thanks victor - i understand, its not possible to do this in this manner.
> all the best
> michi
>
>
>
> Am 11.10.2016 um 13:13 schrieb Victor Lazzarini :
>
> In fiopen, a file is opened with CSFILE_STD type, then the handle is passed to fout, which
> can’t do anything with it, because it expects CSFILE_SND_W.
>
>
> On 11 Oct 2016, at 12:09, John ff wrote:
>
> Is the i in fiopen i-rate or input?
>
>
> Sent from TypeApp
>
> On 11 Oct 2016, at 09:49, Victor Lazzarini wrote:
> The problem is that the code does not support what is in the manual. fiopen will open only CSFILE_STD types and
> fout
> will only handle only CSFILE_SND_W. The two are incompatible. Hence when we try to run the code,
>
> we get
>
> INIT ERROR in instr 100: invalid file handle
>
> I wonder if this is a manual error or a code error.
>
>
>
> On 10 Oct 2016, at 20:10, Victor Lazzarini wrote:
>
> A ticket should be opened. I can take it from there. I guess I am the one who vaguely knows the area. The code ain't pretty.
>
> Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
>
> On 10 Oct 2016, at 19:55, jpff
> wrote:
>
>
>
>
> On Mon, 10 Oct 2016, Michael Breitenbach wrote:
>
> hi csounders,
>
> whats wrong with this code?
>
>
> Not your code but this is a bug IMHO
> Breaks for me in init pass for fout.i opcode
>
> Needs someone who understands this area.
>
>
>
>
>
>
>
> -i adc -o dac -b 128 -B 128 -A -+rtmidi=coremidi -M4 ;coremidi leider nur ein input möglich
>
>
>
> sr = 96000
> kr = 2400
> ksmps = 40
> nchnls = 2
> 0dbfs = 1
>
> gifh1 fiopen "/Users/michaelbreitenbach/_csound/MTR_test/testXXX.aiff", 2
>
> instr 100
>
> aSig oscili 1,
> 440
>
> outs aSig, aSig
> ; fout "/Users/michaelbreitenbach/_csound/MTR_test/testXXX.aiff", 26, aSig, aSig
> fout gifh1, 26, aSig, aSig
>
> endin
>
>
>
>
>
> i100 0 5
>
>
>
>
> makes:
>
> new alloc for instr 100:
> INIT ERROR in instr 100: invalid file handle
> fout.i gifh1 26 aSig aSig
> B 0.000 - note deleted. i100 had 1 init errors
>
> filename direct as string in fout works fine.
>
> i have tryed it with
> commandline-csound 6.07 and with csound~
>
>
> michi
>
>
> 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
>
> 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
> 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
>
> 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
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
|