[Csnd] Re: Re: Mac and CsOptions
Date | 2010-03-30 08:12 |
From | "vallste@libero.it" |
Subject | [Csnd] Re: Re: Mac and CsOptions |
Attachments | MP20100330.csd |
Good morning list, find attached the multitrack player I'm developing (based on one of the Iain McCurdy's examples), it'made to be controlled with keyboard (for blind guys) and to play 10 different files of the same lenght (ftables 1 to 10). What it's driving me mad is that I'm able to use it with Windows (csound 5.09 - Csound Gui and commandline) and Linux (csound 5.12 compiled from CVS - commandline), while a friend of mine with a Mac (csound 5.12 - QuteCsound) has very very bad audio output with a -b64 -B512, increasing -b and -B the audio get worst, with -b256 -B1024 the output is mute. Any testing and feedback will be really appeciated Ciao, Stefano >----Messaggio originale---- >Da: Victor.Lazzarini@nuim.ie >Data: 28/03/2010 22.08 >A: |
Date | 2010-03-30 14:12 |
From | Victor Lazzarini |
Subject | [Csnd] Re: Re: Re: Mac and CsOptions |
I am trying to run your CSD here but it does not seem to do anything when I click on the buttons. I have substituted the filenames for ones that I have here, but the FLTK gui does not seem to trigger any events. Victor On 30 Mar 2010, at 08:12, vallste@libero.it wrote: > Good morning list, > find attached the multitrack player I'm developing (based on one of > the Iain > McCurdy's examples), it'made to be controlled with keyboard (for > blind guys) > and to play 10 different files of the same lenght (ftables 1 to 10). > What it's driving me mad is that I'm able to use it with Windows > (csound 5.09 > - Csound Gui and commandline) and Linux (csound 5.12 compiled from > CVS - > commandline), while a friend of mine with a Mac (csound 5.12 - > QuteCsound) has > very very bad audio output with a -b64 -B512, increasing -b and -B > the audio > get worst, with -b256 -B1024 the output is mute. > > Any testing and feedback will be really appeciated > > Ciao, Stefano > >> ----Messaggio originale---- >> Da: Victor.Lazzarini@nuim.ie >> Data: 28/03/2010 22.08 >> A: |
Date | 2010-03-30 16:33 |
From | Iain McCurdy |
Subject | [Csnd] RE: Re: Re: Mac and CsOptions |
Hi Stefano, Here are my findings on your csd. As Victor mentioned the position meters labour on Mac (ok on windows). You have them updating every k-cycle which is a bit extravagant anyway. Instead of setting the trigger as a constant '1' try: ktrig metro 10 FLsetVal ktrig, kpoint, gihPosition ..and so on I substituted your sound files for my own will all different files of different lengths. This creates problems: segfault crashes on Windows and undesired playback behaviour on Mac. The problem seems to be the combination of deferred size GEN 1 tables (size 0) and the use of the tab ('unsafe' table read) opcode. Giving the tables power of 2 table sizes or non-power of 2 sizes with a minus sign fixes this. On thing that you might consider changing is that for looping table size is derived from the first table no matter which table is playing back: gkrecdur init nsamp(1) This results in silences or truncated looping depending on whether table 1 is longer or shorter than the other tables. Maybe you need to create a separate phasor for each file that is begin played. You could include the phasor related code into your 'CHANNEL' macro to simplify this. Hope this is helpful, Iain > Date: Tue, 30 Mar 2010 09:12:21 +0200 > From: vallste@libero.it > To: csound@lists.bath.ac.uk > Subject: [Csnd] Re: Re: Mac and CsOptions > > Good morning list, > find attached the multitrack player I'm developing (based on one of the Iain > McCurdy's examples), it'made to be controlled with keyboard (for blind guys) > and to play 10 different files of the same lenght (ftables 1 to 10). > What it's driving me mad is that I'm able to use it with Windows (csound 5.09 > - Csound Gui and commandline) and Linux (csound 5.12 compiled from CVS - > commandline), while a friend of mine with a Mac (csound 5.12 - QuteCsound) has > very very bad audio output with a -b64 -B512, increasing -b and -B the audio > get worst, with -b256 -B1024 the output is mute. > > Any testing and feedback will be really appeciated > > Ciao, Stefano > > >----Messaggio originale---- > >Da: Victor.Lazzarini@nuim.ie > >Data: 28/03/2010 22.08 > >A: <csound@lists.bath.ac.uk> > >Ogg: [Csnd] Re: Mac and CsOptions > > > >I would leave -+rtaudio=coreaudio out; portaudio is probably better > >now on later OSX versions. > > > >so just > > > >-odac --nodisplays > > > > > >and possibly > > > >-b64 -B128 > > > > > >Victor > > > >On 28 Mar 2010, at 20:02, vallste@libero.it wrote: > > > >> Hello List, > >> a very basic question, the "minimum" CsOptions for a realtime csd on > >> a Mac > >> (with 5.12 and QuteCsound) could be this (I can't find any info on the > >> manual... no idea on the rt module)? > >> > >> <CsOptions> > >> -+rtaudio=CoreAudio > >> -odac > >> --nodisplays > >> > >> </CsOptions> > >> > >> Sorry for the request but I've to send a csd to a guy using a Mac > >> (no external > >> audio interface), and I can't test it since I've got no Mac! > >> > >> Ciao > >> > >> Stefano > >> > >> > >> 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" > >> > > > > > > > >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" > > > > > > > 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" > Do you want a Hotmail account? Sign-up now - Free |