[Cs-dev] aliasing on input
Date | 2008-01-14 16:46 |
From | Jonatan Liljedahl |
Subject | [Cs-dev] aliasing on input |
This simple orchestra gives me very much aliasing distortion, i use it as this: csound -+rtaudio=alsa -o dac:plughw:1 -i adc:plughw:1 myfile the aliasing seems connected to the control rate, if I set kr to 441 it gets much worse... the orchestra: sr = 44100 kr = 4410 ksmps = 10 nchnls = 2 0dbfs = 1 instr 1 a1 in outs a1, a1 endin -- /Jonatan [ http://kymatica.com ] ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2008-01-14 17:17 |
From | Rory Walsh |
Subject | Re: [Cs-dev] aliasing on input |
Are you sure it is aliasing? Try using 'a1 inch 1' or whatever channel you are taking the input from. I and others on the list have found that using the in opcode with a mono mic results in a very noisey input signal. Hopefully this is the problem and can be fixed easily, otherwise I'm afraid I can't really help you. Rory. Jonatan Liljedahl wrote: > This simple orchestra gives me very much aliasing distortion, i use it > as this: > > csound -+rtaudio=alsa -o dac:plughw:1 -i adc:plughw:1 myfile > > the aliasing seems connected to the control rate, if I set kr to 441 it > gets much worse... > > the orchestra: > > sr = 44100 > kr = 4410 > ksmps = 10 > nchnls = 2 > > 0dbfs = 1 > > instr 1 > a1 in > outs a1, a1 > endin > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2008-01-14 17:38 |
From | Jonatan Liljedahl |
Subject | Re: [Cs-dev] aliasing on input |
Thanks, the 'inch' opcode works fine! And no, I'm not sure it is aliasing, but it sounds like it, i hear foldover frequencies.. I see now the warning in the manual about 'in', but wouldn't it be better to fix so it works just like 'inch 1'? or perhaps deprecate it and make csound output a warning when used? Rory Walsh wrote: > Are you sure it is aliasing? Try using 'a1 inch 1' or whatever channel > you are taking the input from. I and others on the list have found that > using the in opcode with a mono mic results in a very noisey input > signal. Hopefully this is the problem and can be fixed easily, otherwise > I'm afraid I can't really help you. > > Rory. > > > Jonatan Liljedahl wrote: >> This simple orchestra gives me very much aliasing distortion, i use it >> as this: >> >> csound -+rtaudio=alsa -o dac:plughw:1 -i adc:plughw:1 myfile >> >> the aliasing seems connected to the control rate, if I set kr to 441 it >> gets much worse... >> >> the orchestra: >> >> sr = 44100 >> kr = 4410 >> ksmps = 10 >> nchnls = 2 >> >> 0dbfs = 1 >> >> instr 1 >> a1 in >> outs a1, a1 >> endin >> > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel -- /Jonatan [ http://kymatica.com ] ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |