Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Portaudio with Windows Installer in XP

Date2008-10-09 14:39
From"Art Hunkins"
Subject[Csnd] Re: Portaudio with Windows Installer in XP
One further note:

I had *thought" that the portaudio.dll and rtpa.dll files referenced below 
worked for *both* the float and double versions of the Windows 5.09 
installer.

This is not true; it works (i.e., makes portaudio work) only for the float 
version.

I thought I had tested with the doubles version, but apparently not. Sorry 
about that. (I imagine many of you knew it wouldn't work in any case; I just 
figured I should clarify for anyone else - like me - who *didn't* know.)

Art Hunkins

----- Original Message ----- 
From: "Art Hunkins" 
To: 
Sent: Friday, October 03, 2008 11:42 PM
Subject: Portaudio with Windows Installer in XP


> Thanks to the herculean efforts of Stef, I received the files 
> portaudio.dll and rtpa.dll that make portaudio (including ASIO) work in 
> the Gogins Csound5.09.1-gnu-win32-f.exe Windows installer (float version). 
> Portaudio.dll must be placed in the \bin directory, and rtpa.dll in 
> \plugins.
>
> This does not fix any other WARNINGs, just the one about rtpa.dll, and 
> "error: unknown 'pa'".
>
> I'm willing to post these for download on my website if it would help 
> anyone. It should make portaudio operable in Windows XP (perhaps others 
> too?) for both 5.09.1 and 5.09.0 Windows installers.
>
> Again, many thanks to Stef for making this happen (after many trials).
>
> Art Hunkins 


Date2008-10-09 17:54
FromKevin Krebs
Subject[Csnd] Problems with diskin in 5.09
Attachmentsdiskin_test.csd  
   I recently upgraded to the most recent version of Csound 
(version 5.09 (double samples) Sep 21 2008) on my Windows XP 
machine.  I was tinkering around with some real-time 
processors I created some time ago that rely on diskin to 
load samples and loop them continuously for an hour while I 
manipulate things via the FLTK gui I created.  However, 
after attempting to run these with the latest Csound I 
consistently get a segmentation violation.

   It seems that the [iwraparound] parameter doesn't 
function anymore, as the sample will only play through once 
and then quit.  I've tested different wav files to make sure 
that wasn't the problem, and that makes no difference.  I've 
also tried it with [iwraparound] set to 0, and the violation 
still occurs when it reaches the end of the file.

   Interestingly, I discovered that this problem does *not* 
occur with diskin2.

   I've attached a very basic csd which I created to get to 
the root of the problem.  As I said, it crashes regardless 
of the file I use, but I've put the wav file online just in 
case: http://dl.getdropbox.com/u/118844/test.wav

   Can anyone recreate this problem, or is it something on 
my end?  Thanks in advance!

-- 
--------- ------- ----- ---- --- -- - - - - -
K.M.Krebs \ 833-45 :    http://833-45.net
--------- ------- ----- ---- --- -- - - - - -
"You are the music while the music lasts" - T.S. Eliot

Date2008-10-09 18:01
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: Problems with diskin in 5.09
There was a bug in diskin which was fixed after 5.09 but I would have
thought it would have differnt effects
==John ff

>    I recently upgraded to the most recent version of Csound
> (version 5.09 (double samples) Sep 21 2008) on my Windows XP
> machine.  I was tinkering around with some real-time
> processors I created some time ago that rely on diskin to
> load samples and loop them continuously for an hour while I
> manipulate things via the FLTK gui I created.  However,
> after attempting to run these with the latest Csound I
> consistently get a segmentation violation.
>
>    It seems that the [iwraparound] parameter doesn't
> function anymore, as the sample will only play through once
> and then quit.  I've tested different wav files to make sure
> that wasn't the problem, and that makes no difference.  I've
> also tried it with [iwraparound] set to 0, and the violation
> still occurs when it reaches the end of the file.
>
>    Interestingly, I discovered that this problem does *not*
> occur with diskin2.
>
>    I've attached a very basic csd which I created to get to
> the root of the problem.  As I said, it crashes regardless
> of the file I use, but I've put the wav file online just in
> case: http://dl.getdropbox.com/u/118844/test.wav
>
>    Can anyone recreate this problem, or is it something on
> my end?  Thanks in advance!
>
> --
> --------- ------- ----- ---- --- -- - - - - -
> K.M.Krebs \ 833-45 :    http://833-45.net
> --------- ------- ----- ---- --- -- - - - - -
> "You are the music while the music lasts" - T.S. Eliot
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"



Date2008-10-09 18:02
FromVictor Lazzarini
Subject[Csnd] Re: Problems with diskin in 5.09
yes, there is a bug in diskin, which has been fixed and will be
OK in the next release.

At 17:54 09/10/2008, you wrote:
>   I recently upgraded to the most recent version of Csound (version 
> 5.09 (double samples) Sep 21 2008) on my Windows XP machine.  I was 
> tinkering around with some real-time processors I created some time 
> ago that rely on diskin to load samples and loop them continuously 
> for an hour while I manipulate things via the FLTK gui I 
> created.  However, after attempting to run these with the latest 
> Csound I consistently get a segmentation violation.
>
>   It seems that the [iwraparound] parameter doesn't function 
> anymore, as the sample will only play through once and then 
> quit.  I've tested different wav files to make sure that wasn't the 
> problem, and that makes no difference.  I've also tried it with 
> [iwraparound] set to 0, and the violation still occurs when it 
> reaches the end of the file.
>
>   Interestingly, I discovered that this problem does *not* occur 
> with diskin2.
>
>   I've attached a very basic csd which I created to get to the root 
> of the problem.  As I said, it crashes regardless of the file I 
> use, but I've put the wav file online just in case: 
> http://dl.getdropbox.com/u/118844/test.wav
>
>   Can anyone recreate this problem, or is it something on my 
> end?  Thanks in advance!
>
>--
>--------- ------- ----- ---- --- -- - - - - -
>K.M.Krebs \ 833-45 :    http://833-45.net
>--------- ------- ----- ---- --- -- - - - - -
>"You are the music while the music lasts" - T.S. Eliot
>
>Send bugs reports to this list.
>To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>"unsubscribe csound"
>
>
>
>-odac4
>
>
>sr = 44100
>kr = 441
>ksmps = 100
>nchnls = 2
>
>#define SOUNDFILE #"d:/waves/test.wav"#
>
>instr 1
>   asmp, asmp2   diskin2 $SOUNDFILE,0.5,0,1
>                 outs   asmp, asmp2
>endin
>
>
>
>
>i1 0 3600 ; play for an hour
>e
>
>

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth