my little problem...
Ronald E. Alford
alford
Wed, 22 Oct 97 12:55:50 -0700
Does "mix" when used with "with-sound" lack an ability to pass values to "nrev"?
>From the following input:
(with-sound (:channels 2 :srate 44100 :scaled-to .92 :reverb nrev :reverb-data (:reverb-factor 1.2 :lp-coeff .95
:amp-env (0 .7 99 .8 100 0.0)) :decay-time 1.9 :verbose t :statistics t)
(mix "Erato_HD:A_child:musicbox.aiff" :input-file-start-time 0 :duration 15.21 ;;keep
:amp-env '(0 .1 10 .3 90 .1 100 0) :ampAA .7 :ampAB .8
:envAA '(0 0 .3 .25 .7 .05 .9 .05)
:envAB '(0 .05 .3 .05 .7 .25 .9 .1) :start-time 0))
I get this following output:
"The Muse HD:MCL 4.0:clm:test.aiff"
? fasmix Erato_HD:A_child:musicbox.aiff 0.000
"(clm_nrev0 0
83790
#<BOGUS object @ #x435031E> #<BOGUS object @ #x435001E> 21130)" nrev 0.000 The Muse HD:MCL 4.0:clm:test.aifftemp:
Duration: 14.1138, Last begin time: 0.0000
Compute time: 12.165, Compute ratio: 0.86
OutA max amp (pre-scaled): 0.116 (near 5.176 secs)
OutB max amp (pre-scaled): 0.123 (near 10.127 secs)
RevA max amp (pre-scaled): 0.000 (near 0.000 secs) <--------------- ???????
fasmix The Muse HD:MCL 4.0:clm:test.aifftemp 0.000
"The Muse HD:MCL 4.0:clm:test.aiff"
This is on my Mac 8100 using MCL 4.0...
;;;;;;;;;;;;;;;;;;;;;; using your add-sound example, I have the following input:
(with-sound (:channels 2 :srate 44100 :scaled-to .89 :reverb nrev :reverb-data
(:reverb-factor 1.1 :lp-coeff .95 :amp-env (0 .7 99 .7 100 0.0))
:decay-time 1.9 :verbose t :statistics t)
(add-sound "Erato_HD:A_child:musicbox-pan.aiff" 0.0 14.11))
;;;;;;;;;;;;;;;;;;;;;;;; where nrev works!!
?
"(clm_add_sound0 0
622251
#<BOGUS object @ #x43501CE> #<BOGUS object @ #x435001E> 16)" add-sound 0.000
"(clm_nrev0 0
706043
#<BOGUS object @ #x435030E> #<BOGUS object @ #x435001E> 21130)" nrev 0.000 The Muse HD:MCL 4.0:clm:test.aifftemp:
Duration: 16.0101, Last begin time: 0.0000
Compute time: 45.610, Compute ratio: 2.85
OutA max amp (pre-scaled): 0.888 (near 7.707 secs)
OutB max amp (pre-scaled): 0.971 (near 10.127 secs)
RevA max amp (pre-scaled): 0.087 (near 5.176 secs) <--------------- ???????
fasmix The Muse HD:MCL 4.0:clm:test.aifftemp 0.000
"The Muse HD:MCL 4.0:clm:test.aiff"
Does that mean that:
1. There is a bug that I cannot locate (does this do the same thing in NextStep and Linux)?
2. I write a modified "mix" that can take output from ampAA and ampBB for input to nrev?
3. I don't understand the "mix" utilization?
My goal was to mix a multitude of sound files into a final, performable tape piece...
any suggestions about getting nrev working with mix???
ron
p. s. thanks