Csound Csound-dev Csound-tekno Search About

[Csnd] ATSaddnz doesn't produce sound

Date2010-12-12 11:24
FromStefan Thomas
Subject[Csnd] ATSaddnz doesn't produce sound
Dear community,
I wanted to try ATSaddnz opcode.
Although I don't get an error message, I can't hear any sound in the below quoted file-code_


<CsoundSynthesizer>
;<CsOptions>
;</CsOptions>
; ==============================================
<CsInstruments>

sr    =    48000
ksmps     =     100
nchnls    =    2
0dbfs    =    1
gisine ftgen 0,0,2^10, 10, 1
instr 1   
inote notnum
ilaut veloc
iamp ampmidi 1
icps cpsmidi
iend = 0
iaus = 7
irel = 0.1
ktime line     0, 2, 2

  asig ATSaddnz ktime, "pianoC.ats",  25

outs iamp*asig, iamp*asig

endin

</CsInstruments>
; ==============================================
<CsScore>
f 0 36
i1 0 36


</CsScore>
</CsoundSynthesizer>



Date2010-12-12 12:01
Frommenno
Subject[Csnd] Re: ATSaddnz doesn't produce sound
Hi Stefan

i tried your example and it works here in Ubuntu.
Are you running Windows? Then it might be the same bug i found some time
ago:
http://sourceforge.net/tracker/?func=detail&aid=2993171&group_id=81968&atid=564599

greetings
menno

Date2010-12-12 12:29
FromStefan Thomas
Subject[Csnd] Re: Re: ATSaddnz doesn't produce sound
Dear Menno,
I use also Ubuntu, xubuntu 10.10, 32bit, but it doesn't work with my machine.

2010/12/12 menno <nabob_cd@yahoo.com>

Hi Stefan

i tried your example and it works here in Ubuntu.
Are you running Windows? Then it might be the same bug i found some time
ago:
http://sourceforge.net/tracker/?func=detail&aid=2993171&group_id=81968&atid=564599

greetings
menno
--
View this message in context: http://csound.1045644.n5.nabble.com/ATSaddnz-doesn-t-produce-sound-tp3302080p3302105.html
Sent from the Csound - General mailing list archive at Nabble.com.


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-12-12 12:54
Frompeiman khosravi
Subject[Csnd] Re: Re: Re: ATSaddnz doesn't produce sound
then it's probably your ATS file. Can you send your ATS file too?

P

On 12 December 2010 12:29, Stefan Thomas
 wrote:
> Dear Menno,
> I use also Ubuntu, xubuntu 10.10, 32bit, but it doesn't work with my
> machine.
>
> 2010/12/12 menno 
>>
>> Hi Stefan
>>
>> i tried your example and it works here in Ubuntu.
>> Are you running Windows? Then it might be the same bug i found some time
>> ago:
>>
>> http://sourceforge.net/tracker/?func=detail&aid=2993171&group_id=81968&atid=564599
>>
>> greetings
>> menno
>> --
>> View this message in context:
>> http://csound.1045644.n5.nabble.com/ATSaddnz-doesn-t-produce-sound-tp3302080p3302105.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>>
>>
>> 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-12-12 15:03
FromStefan Thomas
Subject[Csnd] Re: Re: Re: Re: ATSaddnz doesn't produce sound
AttachmentspianoC.ats  
Off course!

2010/12/12 peiman khosravi <peimankhosravi@gmail.com>
then it's probably your ATS file. Can you send your ATS file too?

P

On 12 December 2010 12:29, Stefan Thomas
<kontrapunktstefan@googlemail.com> wrote:
> Dear Menno,
> I use also Ubuntu, xubuntu 10.10, 32bit, but it doesn't work with my
> machine.
>
> 2010/12/12 menno <nabob_cd@yahoo.com>
>>
>> Hi Stefan
>>
>> i tried your example and it works here in Ubuntu.
>> Are you running Windows? Then it might be the same bug i found some time
>> ago:
>>
>> http://sourceforge.net/tracker/?func=detail&aid=2993171&group_id=81968&atid=564599
>>
>> greetings
>> menno
>> --
>> View this message in context:
>> http://csound.1045644.n5.nabble.com/ATSaddnz-doesn-t-produce-sound-tp3302080p3302105.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>>
>>
>> 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-12-12 16:08
Frommenno
Subject[Csnd] ATSaddnz doesn't produce sound
your ats file does not produce any noise here either. I tried your csd but
with beats.ats that i created some time ago, and then your csd works. I hear
the noise clearly.
Can me send your sample too? Perhaps there is no noise in your sample
whatsoever ;)

greetings
menno

Date2010-12-12 16:25
Frompeiman khosravi
Subject[Csnd] Re: ATSaddnz doesn't produce sound
Same here. I think the analysis file doesn't contain any residual part.

P

On 12 December 2010 16:08, menno  wrote:
>
> your ats file does not produce any noise here either. I tried your csd but
> with beats.ats that i created some time ago, and then your csd works. I hear
> the noise clearly.
> Can me send your sample too? Perhaps there is no noise in your sample
> whatsoever ;)
>
> greetings
> menno
> --
> View this message in context: http://csound.1045644.n5.nabble.com/ATSaddnz-doesn-t-produce-sound-tp3302080p3302230.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> 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-12-12 17:33
FromStefan Thomas
Subject[Csnd] Re: Re: ATSaddnz doesn't produce sound
Attachments53a-pno02-C0.wav  
Dear community,
I have attached the sample.
Thanks for Your interest and for Your support!

2010/12/12 peiman khosravi <peimankhosravi@gmail.com>
Same here. I think the analysis file doesn't contain any residual part.

P

On 12 December 2010 16:08, menno <nabob_cd@yahoo.com> wrote:
>
> your ats file does not produce any noise here either. I tried your csd but
> with beats.ats that i created some time ago, and then your csd works. I hear
> the noise clearly.
> Can me send your sample too? Perhaps there is no noise in your sample
> whatsoever ;)
>
> greetings
> menno
> --
> View this message in context: http://csound.1045644.n5.nabble.com/ATSaddnz-doesn-t-produce-sound-tp3302080p3302230.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> 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-12-12 18:26
Frommenno
Subject[Csnd] Re: Re: ATSaddnz doesn't produce sound
Stefano, when i analyze your file with atsa i get this feedback from it:

util atsa:
atsa: file has 2 channels, must be mono !

Actually there is an ats file generated but it is empty.
Can this be the source of your error?

menno

Date2010-12-12 18:52
FromStefan Thomas
Subject[Csnd] Re: Re: Re: ATSaddnz doesn't produce sound
Dear menno,
I think I've converted the file first to a mono file, via sox.
The ats file, I think, cannot not be totally corrupted, because it works fine with ATSpartialtap.

2010/12/12 menno <nabob_cd@yahoo.com>

Stefano, when i analyze your file with atsa i get this feedback from it:

util atsa:
atsa: file has 2 channels, must be mono !

Actually there is an ats file generated but it is empty.
Can this be the source of your error?

menno
--
View this message in context: http://csound.1045644.n5.nabble.com/ATSaddnz-doesn-t-produce-sound-tp3302080p3302315.html
Sent from the Csound - General mailing list archive at Nabble.com.


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-12-12 19:44
Frommenno
Subject[Csnd] Re: Re: Re: ATSaddnz doesn't produce sound
Okay, i used Audacity to convert the file to mono and then analyzed with
atsa:

util atsa:
tracking...
start: 0.000000 duration: 2.964739 file dur: 2.964739
Initializing ATS data...done!
Filling sound gaps...done!
Trimming short partials...done!
Computing averages...done!
Computing residual...done!
Analysing residual...done!
tracking completed.
saving ATS data...done

i used your csd and it works here. I hear a cymbal-like sound. Don't know
why it does not works for you.
Did you, when analyzing, use the setting 4 (=amp,freq,phase and residual) ?

I use Kubuntu, Csound 5.12 beta.

menno

Date2010-12-12 22:16
Frompeiman khosravi
Subject[Csnd] Re: Re: Re: Re: ATSaddnz doesn't produce sound
Your file is not corrupt, it just doesn't contain any noise!! Probably
because of your analysis settings.

P

On 12 December 2010 18:52, Stefan Thomas
 wrote:
> Dear menno,
> I think I've converted the file first to a mono file, via sox.
> The ats file, I think, cannot not be totally corrupted, because it works
> fine with ATSpartialtap.
>
> 2010/12/12 menno 
>>
>> Stefano, when i analyze your file with atsa i get this feedback from it:
>>
>> util atsa:
>> atsa: file has 2 channels, must be mono !
>>
>> Actually there is an ats file generated but it is empty.
>> Can this be the source of your error?
>>
>> menno
>> --
>> View this message in context:
>> http://csound.1045644.n5.nabble.com/ATSaddnz-doesn-t-produce-sound-tp3302080p3302315.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>>
>>
>> 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-12-12 22:22
FromStefan Thomas
Subject[Csnd] Re: Re: Re: Re: Re: ATSaddnz doesn't produce sound
This is strange.
I used the setting  4 (=amp,freq,phase and residual), but I didn't make the conversion with audacity, maybee this is the reason.
I will try it again!


2010/12/12 peiman khosravi <peimankhosravi@gmail.com>
Your file is not corrupt, it just doesn't contain any noise!! Probably
because of your analysis settings.

P

On 12 December 2010 18:52, Stefan Thomas
<kontrapunktstefan@googlemail.com> wrote:
> Dear menno,
> I think I've converted the file first to a mono file, via sox.
> The ats file, I think, cannot not be totally corrupted, because it works
> fine with ATSpartialtap.
>
> 2010/12/12 menno <nabob_cd@yahoo.com>
>>
>> Stefano, when i analyze your file with atsa i get this feedback from it:
>>
>> util atsa:
>> atsa: file has 2 channels, must be mono !
>>
>> Actually there is an ats file generated but it is empty.
>> Can this be the source of your error?
>>
>> menno
>> --
>> View this message in context:
>> http://csound.1045644.n5.nabble.com/ATSaddnz-doesn-t-produce-sound-tp3302080p3302315.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>>
>>
>> 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-12-13 00:12
Frompeiman khosravi
Subject[Csnd] Re: Re: Re: Re: Re: Re: ATSaddnz doesn't produce sound
I don't think it makes a difference where you do the conversion.
Obviously the file is not corrupt (it opens in Spear). Which version
of Csound do you have?

P

On 12 December 2010 22:22, Stefan Thomas
 wrote:
> This is strange.
> I used the setting  4 (=amp,freq,phase and residual), but I didn't make the
> conversion with audacity, maybee this is the reason.
> I will try it again!
>
>
> 2010/12/12 peiman khosravi 
>>
>> Your file is not corrupt, it just doesn't contain any noise!! Probably
>> because of your analysis settings.
>>
>> P
>>
>> On 12 December 2010 18:52, Stefan Thomas
>>  wrote:
>> > Dear menno,
>> > I think I've converted the file first to a mono file, via sox.
>> > The ats file, I think, cannot not be totally corrupted, because it works
>> > fine with ATSpartialtap.
>> >
>> > 2010/12/12 menno 
>> >>
>> >> Stefano, when i analyze your file with atsa i get this feedback from
>> >> it:
>> >>
>> >> util atsa:
>> >> atsa: file has 2 channels, must be mono !
>> >>
>> >> Actually there is an ats file generated but it is empty.
>> >> Can this be the source of your error?
>> >>
>> >> menno
>> >> --
>> >> View this message in context:
>> >>
>> >> http://csound.1045644.n5.nabble.com/ATSaddnz-doesn-t-produce-sound-tp3302080p3302315.html
>> >> Sent from the Csound - General mailing list archive at Nabble.com.
>> >>
>> >>
>> >> 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-12-13 08:13
FromStefan Thomas
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: ATSaddnz doesn't produce sound
I do have the version
Csound version 5.12 (double samples) Sep 15 2010
Does "double samples" mean, I have the 64bit-version?
I think, this could be the mistake, because I have 32bit architecture.
I don't know, how this could happen, because I installed Csound from the repositorys of my package manager.

2010/12/13 peiman khosravi <peimankhosravi@gmail.com>
I don't think it makes a difference where you do the conversion.
Obviously the file is not corrupt (it opens in Spear). Which version
of Csound do you have?

P

On 12 December 2010 22:22, Stefan Thomas
<kontrapunktstefan@googlemail.com> wrote:
> This is strange.
> I used the setting  4 (=amp,freq,phase and residual), but I didn't make the
> conversion with audacity, maybee this is the reason.
> I will try it again!
>
>
> 2010/12/12 peiman khosravi <peimankhosravi@gmail.com>
>>
>> Your file is not corrupt, it just doesn't contain any noise!! Probably
>> because of your analysis settings.
>>
>> P
>>
>> On 12 December 2010 18:52, Stefan Thomas
>> <kontrapunktstefan@googlemail.com> wrote:
>> > Dear menno,
>> > I think I've converted the file first to a mono file, via sox.
>> > The ats file, I think, cannot not be totally corrupted, because it works
>> > fine with ATSpartialtap.
>> >
>> > 2010/12/12 menno <nabob_cd@yahoo.com>
>> >>
>> >> Stefano, when i analyze your file with atsa i get this feedback from
>> >> it:
>> >>
>> >> util atsa:
>> >> atsa: file has 2 channels, must be mono !
>> >>
>> >> Actually there is an ats file generated but it is empty.
>> >> Can this be the source of your error?
>> >>
>> >> menno
>> >> --
>> >> View this message in context:
>> >>
>> >> http://csound.1045644.n5.nabble.com/ATSaddnz-doesn-t-produce-sound-tp3302080p3302315.html
>> >> Sent from the Csound - General mailing list archive at Nabble.com.
>> >>
>> >>
>> >> 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-12-13 09:33
FromJustin Glenn Smith
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: ATSaddnz doesn't produce sound
Double samples means that the audio is represented as 64 bits per sample. This is not the same as CPU architecture instruction size (you can use 32 bit or 64 bit sample format on a 32 or 64 bit machine, with tradeoffs of storage space / CPU usage vs. quality of generated audio).

Stefan Thomas wrote:
> I do have the version
> 
>> Csound version 5.12 (double samples) Sep 15 2010
>>
> Does "double samples" mean, I have the 64bit-version?
> I think, this could be the mistake, because I have 32bit architecture.
> I don't know, how this could happen, because I installed Csound from the
> repositorys of my package manager.
> 
> 2010/12/13 peiman khosravi 
> 
>> I don't think it makes a difference where you do the conversion.
>> Obviously the file is not corrupt (it opens in Spear). Which version
>> of Csound do you have?
>>
>> P
>>
>> On 12 December 2010 22:22, Stefan Thomas
>>  wrote:
>>> This is strange.
>>> I used the setting  4 (=amp,freq,phase and residual), but I didn't make
>> the
>>> conversion with audacity, maybee this is the reason.
>>> I will try it again!
>>>
>>>
>>> 2010/12/12 peiman khosravi 
>>>> Your file is not corrupt, it just doesn't contain any noise!! Probably
>>>> because of your analysis settings.
>>>>
>>>> P
>>>>
>>>> On 12 December 2010 18:52, Stefan Thomas
>>>>  wrote:
>>>>> Dear menno,
>>>>> I think I've converted the file first to a mono file, via sox.
>>>>> The ats file, I think, cannot not be totally corrupted, because it
>> works
>>>>> fine with ATSpartialtap.
>>>>>
>>>>> 2010/12/12 menno 
>>>>>> Stefano, when i analyze your file with atsa i get this feedback from
>>>>>> it:
>>>>>>
>>>>>> util atsa:
>>>>>> atsa: file has 2 channels, must be mono !
>>>>>>
>>>>>> Actually there is an ats file generated but it is empty.
>>>>>> Can this be the source of your error?
>>>>>>
>>>>>> menno
>>>>>> --
>>>>>> View this message in context:
>>>>>>
>>>>>>
>> http://csound.1045644.n5.nabble.com/ATSaddnz-doesn-t-produce-sound-tp3302080p3302315.html
>>>>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>>>>
>>>>>>
>>>>>> 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"
> 
> 



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"