Closed kunstmusik closed 10 years ago
blue-file
Logged In: YES user_id=373405
The problem is that the instruments in this file are not set up to use the mixer and instead of using "outs" must use "blueMixerOut". For example, in instrument 3, instead of:
outs a1.3, a1.3
use:
blueMixerOut a1.3, a1.3
This should be in the documentation but please let me know if you find it can be written better.
using the faders in the mixer has no effect whatsoever. i was testing the use and difference of pitch versus pitchamdf. i made some minor modifications but i think the file is solid. The chosen wav-file is normally in SSDIR or SFDIR Maybe i'm getting the mixer idea all wrong, and maybe not. It works in the example you embarque with blue, but doesn't with this one. The blue-file is attached. the CSD:
; ; "" ; by Menno Knevel ; ; ; ; Generated by blue 0.105.1 (http://csounds.com/stevenyi/blue/index.html) ;
<CsoundSynthesizer>
<CsInstruments> sr=44100 ksmps=1 nchnls=2
ga_bluemix_1_0 init 0 ga_bluemix_1_1 init 0 ga_bluemix_2_0 init 0 ga_bluemix_2_1 init 0 ga_bluemix_3_0 init 0 ga_bluemix_3_1 init 0
; Instrument #1 - play an audio file with no effects. ; get input signal with original freq. asig soundin "/media/sda9/csound_data/Samples/mary.wav"
outs asig, asig
;giwave ftgen 2, 0, 1024, 10, 1, 1, 1, 1 ; get input signal with original freq. asig soundin "mary.wav"
; lowpass-filter asig tone asig, 1000 ; extract pitch and envelope kcps, krms pitchamdf asig, 150, 500, 200 ; "re-synthesize" with the synth waveform, giwave. asig1 oscil krms, kcps, 3
outs asig1, asig1 endin
iupdte = 0.01 ilo = 7 ihi = 9 idbthresh = 10 ifrqs = 12 iconf = 10 istrt = 8
asig soundin "mary.wav"
; Follow the audio file, get its pitch and amplitude.
koct, kamp pitch asig, iupdte, ilo, ihi, idbthresh, ifrqs, iconf, istrt
; Re-synthesize the audio file with a different sounding waveform.
kamp2 = kamp * 10 kcps = cpsoct(koct) a1 oscil kamp2, kcps, 3
outs a1.3, a1.3
event "e", 0, 0, 0.1 endin
ga_bluemix_1_0 = ga_bluemix_1_0 3.9810717106 ga_bluemix_1_1 = ga_bluemix_1_1 3.9810717106 ga_bluemix_2_0 = ga_bluemix_2_0 3.9810717106 ga_bluemix_2_1 = ga_bluemix_2_1 3.9810717106 ga_bluemix_3_0 = ga_bluemix_3_0 0.0881049037 ga_bluemix_3_1 = ga_bluemix_3_1 0.0881049037 a_bluesub_Master_0 sum ga_bluemix_1_0, ga_bluemix_2_0, ga_bluemix_3_0 a_bluesub_Master_1 sum ga_bluemix_1_1, ga_bluemix_2_1, ga_bluemix_3_1 a_bluesub_Master_0 = a_bluesub_Master_0 0.1059253812 a_bluesub_Master_1 = a_bluesub_Master_1 0.1059253812 outc a_bluesub_Master_0, a_bluesub_Master_1 ga_bluemix_1_0 = 0 ga_bluemix_1_1 = 0 ga_bluemix_2_0 = 0 ga_bluemix_2_1 = 0 ga_bluemix_3_0 = 0 ga_bluemix_3_1 = 0
</CsInstruments>
<CsScore>
f 1 0 32768 11 7 3 .7 f3 0 16384 10 1
i2 0.171875 4.546875 3 4 5
i3 6.457386 4.5227274895 3 4 5
i4 11.207386 0.1000000015
i5 0 11.3073863983
e
</CsScore>
</CsoundSynthesizer>