[Csnd] ATSaddnz doesn't produce sound
Date | 2010-12-12 11:24 |
From | Stefan 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> |
Date | 2010-12-12 12:01 |
From | menno |
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 |
Date | 2010-12-12 12:29 |
From | Stefan 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>
|
Date | 2010-12-12 12:54 |
From | peiman 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 |
Date | 2010-12-12 15:03 |
From | Stefan Thomas |
Subject | [Csnd] Re: Re: Re: Re: ATSaddnz doesn't produce sound |
Attachments | pianoC.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? |
Date | 2010-12-12 16:08 |
From | menno |
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 |
Date | 2010-12-12 16:25 |
From | peiman 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 |
Date | 2010-12-12 17:33 |
From | Stefan Thomas |
Subject | [Csnd] Re: Re: ATSaddnz doesn't produce sound |
Attachments | 53a-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. |
Date | 2010-12-12 18:26 |
From | menno |
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 |
Date | 2010-12-12 18:52 |
From | Stefan 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>
|
Date | 2010-12-12 19:44 |
From | menno |
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 |
Date | 2010-12-12 22:16 |
From | peiman 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 |
Date | 2010-12-12 22:22 |
From | Stefan 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 |
Date | 2010-12-13 00:12 |
From | peiman 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 |
Date | 2010-12-13 08:13 |
From | Stefan Thomas |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: ATSaddnz doesn't produce sound |
I do have the versionCsound version 5.12 (double samples) Sep 15 2010Does "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. |
Date | 2010-12-13 09:33 |
From | Justin 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 |