Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: diskin and input files

Date2010-07-21 02:08
From"Art Hunkins"
Subject[Csnd] Re: Re: diskin and input files
Thanks, Victor.

Yes, I should have read the manual to better note the differences between 
diskin and diskin2. Diskin2 works much better for my case.

I note that, in any case, the number of channels for diskin have to 
correspond to the number of outputs in the audio input files. (Nothing much 
to be done about that.)

Art Hunkins

----- Original Message ----- 
From: "Victor Lazzarini" 
To: 
Sent: Tuesday, July 20, 2010 3:49 PM
Subject: [Csnd] Re: diskin and input files


> If you use diskin2  files can have different sampling rates. Bit width 
> should not matter.
>
> Victor
> On 20 Jul 2010, at 19:27, Art Hunkins wrote:
>
>> I've just developed a real-time file player/mixer/looper/processor  that 
>> works with up to four stereo files. Its principal ingrediant is  a stereo 
>> diskin.
>>
>> For general use, is it sufficiant to specify that the input files 
>> (optionally furnished by the user) be stereo, uncompressed, and with  the 
>> same sample rate specified by the file player?
>>
>> Also, can I assume 16-bit these days? (I believe the typical  soundcard 
>> does.)
>>
>> Diskin is taking format information from the file header; do I  presume 
>> correctly that all the file types need to match?
>>
>> Am I being way to picky here (for typical use)?
>>
>> Art Hunkins
>>
>>
>> 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"

Date2010-07-21 07:51
Fromjoachim heintz
Subject[Csnd] Re: Re: Re: diskin and input files
yes the strictness of soundin / diskin / diskin2 in respect to the  
number of outputs in the file is sometimes a bit annoying.
maybe you like to use a udo like this:

   opcode FilePlay2, aa, Skii
;gives stereo output regardless your soundfile is mono or stereo
Sfil, kspeed, iskip, iloop	xin
ichn	 filenchnls	Sfil
if ichn == 1 then
aL	 diskin2	Sfil, kspeed, iskip, iloop
aR	 =	 aL
else
aL, aR	 diskin2	Sfil, kspeed, iskip, iloop
endif
xout	 aL, aR
   endop

	joachim


Am 21.07.2010 um 03:08 schrieb Art Hunkins:

> Thanks, Victor.
>
> Yes, I should have read the manual to better note the differences  
> between diskin and diskin2. Diskin2 works much better for my case.
>
> I note that, in any case, the number of channels for diskin have to  
> correspond to the number of outputs in the audio input files.  
> (Nothing much to be done about that.)
>
> Art Hunkins
>
> ----- Original Message ----- From: "Victor Lazzarini"  >
> To: 
> Sent: Tuesday, July 20, 2010 3:49 PM
> Subject: [Csnd] Re: diskin and input files
>
>
>> If you use diskin2  files can have different sampling rates. Bit  
>> width should not matter.
>>
>> Victor
>> On 20 Jul 2010, at 19:27, Art Hunkins wrote:
>>
>>> I've just developed a real-time file player/mixer/looper/ 
>>> processor  that works with up to four stereo files. Its principal  
>>> ingrediant is  a stereo diskin.
>>>
>>> For general use, is it sufficiant to specify that the input files  
>>> (optionally furnished by the user) be stereo, uncompressed, and  
>>> with  the same sample rate specified by the file player?
>>>
>>> Also, can I assume 16-bit these days? (I believe the typical   
>>> soundcard does.)
>>>
>>> Diskin is taking format information from the file header; do I   
>>> presume correctly that all the file types need to match?
>>>
>>> Am I being way to picky here (for typical use)?
>>>
>>> Art Hunkins
>>>
>>>
>>> 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"
>
>



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"

Date2010-07-21 07:55
FromVictor Lazzarini
Subject[Csnd] Re: Re: Re: diskin and input files
But you can use flienchnls to check the number of channels of a file  
and then select the different types of diskin2.
On 21 Jul 2010, at 02:08, Art Hunkins wrote:

> Thanks, Victor.
>
> Yes, I should have read the manual to better note the differences  
> between diskin and diskin2. Diskin2 works much better for my case.
>
> I note that, in any case, the number of channels for diskin have to  
> correspond to the number of outputs in the audio input files.  
> (Nothing much to be done about that.)
>
> Art Hunkins
>
> ----- Original Message ----- From: "Victor Lazzarini"  >
> To: 
> Sent: Tuesday, July 20, 2010 3:49 PM
> Subject: [Csnd] Re: diskin and input files
>
>
>> If you use diskin2  files can have different sampling rates. Bit  
>> width should not matter.
>>
>> Victor
>> On 20 Jul 2010, at 19:27, Art Hunkins wrote:
>>
>>> I've just developed a real-time file player/mixer/looper/ 
>>> processor  that works with up to four stereo files. Its principal  
>>> ingrediant is  a stereo diskin.
>>>
>>> For general use, is it sufficiant to specify that the input files  
>>> (optionally furnished by the user) be stereo, uncompressed, and  
>>> with  the same sample rate specified by the file player?
>>>
>>> Also, can I assume 16-bit these days? (I believe the typical   
>>> soundcard does.)
>>>
>>> Diskin is taking format information from the file header; do I   
>>> presume correctly that all the file types need to match?
>>>
>>> Am I being way to picky here (for typical use)?
>>>
>>> Art Hunkins
>>>
>>>
>>> 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"
>



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"

Date2010-07-24 15:07
From"Dr. Richard Boulanger"
Subject[Csnd] Re: diskin and input files
Joachim,

Hopefully this excellent UDO has been added to the UDO database!

Thanks for sharing.

-dB

On Jul 21, 2010, at 2:51 AM, joachim heintz wrote:

>  opcode FilePlay2, aa, Skii
> ;gives stereo output regardless your soundfile is mono or stereo
> Sfil, kspeed, iskip, iloop	xin
> ichn	 filenchnls	Sfil
> if ichn == 1 then
> aL	 diskin2	Sfil, kspeed, iskip, iloop
> aR	 =	 aL
> else
> aL, aR	 diskin2	Sfil, kspeed, iskip, iloop
> endif
> xout	 aL, aR
>  endop



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"

Date2010-07-24 22:02
Fromjoachim heintz
Subject[Csnd] Re: Re: diskin and input files
thanks, richard. i will add it - together with the related FilePlay1  
for mono output - to the udo database very soon.
all the best -

	joachim


Am 24.07.2010 um 16:07 schrieb Dr. Richard Boulanger:

> Joachim,
>
> Hopefully this excellent UDO has been added to the UDO database!
>
> Thanks for sharing.
>
> -dB
>
> On Jul 21, 2010, at 2:51 AM, joachim heintz wrote:
>
>> opcode FilePlay2, aa, Skii
>> ;gives stereo output regardless your soundfile is mono or stereo
>> Sfil, kspeed, iskip, iloop	xin
>> ichn	 filenchnls	Sfil
>> if ichn == 1 then
>> aL	 diskin2	Sfil, kspeed, iskip, iloop
>> aR	 =	 aL
>> else
>> aL, aR	 diskin2	Sfil, kspeed, iskip, iloop
>> endif
>> xout	 aL, aR
>> endop
>
>
>
> 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"