"delay" not quite what I expected.
| Date | 2007-10-13 22:46 |
| From | Tobiah |
| Subject | "delay" not quite what I expected. |
Hi,
I made a minimal example using the 'delay' opcode:
sr = 44100
ksmps = 1
nchnls = 1
instr 1
a_input in
a_del delay a_input, .5
out a_input + a_del
endin
I snap my fingers in front of the mic, and I get two strong
pulses, a half second apart as I expected, but then, in the
style of a guitar effects box, the two are repeated at time 1.0
at about half volume, then again at 2.0 at about half volumme
again:
| |
| |
| |
| |
| | | |
| | | |
| | | | | |
| | | | | |
-----------
0 1 2
At first I thought that this was normal, because I was monitoring
in the same room as the mic through speakers. Then I turned off
the speakers and put on head phones. I can turn the headphone
volume way down, and still hear this, so I don't think I'm bleeding
through the phones (The decay is always similar no matter the volume)
and what's more, I can monitor the mic input on the computer, and
can see that only the first snap registers on the VU meters.
I was expecting to hear only two snaps, and was planning next
to feed the output to a global variable in order to achieve the
movie/guitar effect that the opcode seems to be delivering on
its own.
Thanks,
Tobiah |
| Date | 2007-10-14 04:52 |
| From | Tobiah |
| Subject | Re: "delay" not quite what I expected. |
Sorry, I must have been feeding some of the output back into the input from my hardware or software mixer. I fooled around with those, and the orchestra works properly. Tobiah wrote: > Hi, > > I made a minimal example using the 'delay' opcode: > > sr = 44100 > ksmps = 1 > nchnls = 1 > > instr 1 > > a_input in > a_del delay a_input, .5 > out a_input + a_del > endin > > > I snap my fingers in front of the mic, and I get two strong > pulses, a half second apart as I expected, but then, in the > style of a guitar effects box, the two are repeated at time 1.0 > at about half volume, then again at 2.0 at about half volumme again: > > | | > | | > | | > | | > | | | | > | | | | > | | | | | | > | | | | | | > ----------- > 0 1 2 > > At first I thought that this was normal, because I was monitoring > in the same room as the mic through speakers. Then I turned off > the speakers and put on head phones. I can turn the headphone > volume way down, and still hear this, so I don't think I'm bleeding > through the phones (The decay is always similar no matter the volume) > and what's more, I can monitor the mic input on the computer, and > can see that only the first snap registers on the VU meters. > > I was expecting to hear only two snaps, and was planning next > to feed the output to a global variable in order to achieve the > movie/guitar effect that the opcode seems to be delivering on its own. > > Thanks, > > Tobiah > |