| Yes it does! I hadn't gone quite so low on the dB values. Cheers man :D
On Tue, Feb 9, 2016 at 7:32 PM, jpff wrote:
> Well this does something...
>
>
> sr = 44100
> ksmps = 32
> nchnls = 2
>
> instr 1 ; uncompressed signal
>
> asig diskin2 "beats.wav", 1, 0, 1
> outs asig, asig
> endin
>
> instr 2 ; compressed signal.
> ; Use the "beats.wav" audio file and a mic
> avoice in
> asig diskin2 "beats.wav", 1, 0, 1
>
> ; duck the audio signal "beats.wav" with your voice.
> kthresh = -90
> kloknee = -50
> khiknee = -30
> kratio = 3
> katt = 0.1
> krel = .5
> ilook = .02
> asig compress2 asig, avoice, kthresh, kloknee, khiknee, kratio, katt, krel,
> ilo
> ok ; voice-activated compressor
> outs asig, asig
>
> endin
>
>
>
>
> i 1 0 5
>
> i 2 6 21
>
> e
>
>
>
>
> On Tue, 9 Feb 2016, Peter Burgess wrote:
>
>> Hi John. I've just built the latest Csound from git today, and tried
>> out compress2, but I don't seem to be able to get any output. I've
>> tried a variety of dB values for threshold and each knees.
>>
>> On Mon, Feb 1, 2016 at 2:26 PM, Peter Burgess
>> wrote:
>>>
>>> Awesome! Cheers man, I'll let you know how I get on with it
>>>
>>> On Mon, Feb 1, 2016 at 2:24 PM, jpff wrote:
>>>>
>>>> I have just committed to git an implementation of compress2 which is
>>>> like compress but the dB values are 0dB for 0dbfs rater than 90. Not
>>>> tested much and involved change to compress a little. Reports welcome
>>>> ==John ffitch
>>
>> |