using computer keyboard to trigger synth.
keep getting the notes trigger twice - think it' might be to d with keyup - even though i'm not using keyup for the notes - why would this be?
any help much 'preciated
drew
Double triggers from keyboard
using computer keyboard to trigger synth.
keep getting the notes trigger twice - think it' might be to d with keyup - even though i'm not using keyup for the notes - why would this be?
any help much 'preciated
drew
you'll need this envelope to run synth
how to debug anything like this: use the [print] object
if you attach [print] to the outlet of [keyname], you'll see that it sends the keyname on both the key press and key release.
if you only want top capture the symbol from key press, you can just use [key] (and use keynumbers instead of symbols)
or,
you can do this:
[keyname]
| |
[sel 1] /
| /
[symbol]
which stores the key symbol and only outputs it when the key is pressed.
thanks, tried that (attached) -
still seem to get double trigger plus when key is held down it keeps re-triggering.
my 1st version used key object and also had same issue - could you et me know if you don 't get that problem?
thanks
drew
also, here's orignal 'key' version
http://www.pdpatchrepo.info/hurleur/morse_code_keyboard-1.pd
ahh,
yeah if you hold the key down, it's not a pd issue, it's just that your computer will retrigger the key.
like, if i hold down the letter 't' while i write this: ttttttttttttttttt
you can either disable key repeat in your operating system (not the best option), or use a workaround in pd.
attached is my patch that does that.
ahh,
yeah if you hold the key down, it's not a pd issue, it's just that your computer will retrigger the key.
like, if i hold down the letter 't' while i write this: ttttttttttttttttt
you can either disable key repeat in your operating system (not the best option), or use a workaround in pd.
attached is my patch that does that.
ahh, now i see of course - thanks for the workaround
drew
thanks for the patch!
was useful for trigering samples without my heavy MIDI keyboard
MMson
Oops! Looks like something went wrong!