[Cs-dev] More on failed tests
Date | 2015-04-22 11:16 |
From | jpff |
Subject | [Cs-dev] More on failed tests |
It seems that my laptop has taken against realtime audio -- was OK yesterday. So really I need advice as how to arrange alsa/csound interface. Basically this computer has two sound outputs. 0 is an hcmi thing and 1 a PCM. Problem is that I have no hcmi equipment in the house but I cannot set device 1 as default; renumbering does not change the 0->hcmi and 1->pcm mapping. I can set -odac:hw1 and that works but I usually work to disk so this is not appropriate in .csound6rc. i cannot see how to set hw:1 as realtime audio if I am doing -odac. Of course manual examples fail as they set -odac in the csd file. Is there some magic in csound and/or alsa I can tweak? ==John ffitch PS The crash from testCsoundOrcCompileTest is spectacular ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave *** Cannot open device 'default' for audio output: No such file or directory Failed to initialise real time audio output new alloc for instr 1: Csound tidy up: Segmentation fault inactive allocs returned to freespace end of score. overall amps:7172228372786371717393952518445676239069942596386300215148366259390239907820086808090905200872994329183382840667086905335692866226905758820006011966974053432530783515421307655036652623554857186781830186303965078962123192080646216075736472245109015637996761088975745053063977674053721690958616554635264.0 overall samples out of range: 4039 1 errors in performance ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2015-04-22 12:01 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] More on failed tests |
Have you tried editing your alsa.conf (wherever it is, e.g. /etc/modprobe.d/alsa.conf) to give the soundcard an index? This line should do it options |
Date | 2015-04-22 12:36 |
From | Felipe Sateler |
Subject | Re: [Cs-dev] More on failed tests |
Attachments | None None |
You could try setting the alsa default: http://www.alsa-project.org/main/index.php/Asoundrc#The_default_plugin On Apr 22, 2015 8:01 AM, "Victor Lazzarini" <Victor.Lazzarini@nuim.ie> wrote:
Have you tried editing your alsa.conf (wherever it is, e.g. /etc/modprobe.d/alsa.conf) to give |
Date | 2015-04-22 13:43 |
From | jpff |
Subject | Re: [Cs-dev] More on failed tests |
This did something; now aplay fails on mono files > aplay fox.wav Playing WAVE 'fox.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono aplay: set_params:1239: Channels count non available But an improvement! On Wed, 22 Apr 2015, Felipe Sateler wrote: > > You could try setting the alsa default: > > http://www.alsa-project.org/main/index.php/Asoundrc#The_default_plugin > ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2015-04-22 16:34 |
From | Anders Genell |
Subject | Re: [Cs-dev] More on failed tests |
Then, from the same alsa-project instructions, I would suggest adding a "plug" type pcm in your asoundrc. It does mixing, resampling and a few other tricks as needed (with corresponding added latency of course). Something like pcm.!default { type plug slave hw:1,0 } Regards, Anders > 22 apr 2015 kl. 14:43 skrev jpff |