Bugs item #3361843, was opened at 2011-07-10 13:55 Message generated for change (Comment added) made by jpff You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3361843&group_id=81968 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Opcodes Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Joachim Heintz (joachimheintz) Assigned to: John ffitch (jpff) Summary: sensekey does not work without optional argument Initial Comment: sensekey should work both, with just one or with two output arguments: kres[, kkeydown] sensekey but without specifying the kkeydown output, this example from the manual just reurns -1 once: ; Select audio/midi flags here according to platform ; Audio out Audio in -odac -iadc ;;;RT audio I/O ; For Non-realtime ouput leave only the line below: ; -o sensekey.wav -W ;;; for file output any platform ; Initialize the global variables. sr = 44100 kr = 4410 ksmps = 10 nchnls = 1 ; Instrument #1. instr 1 k1 sensekey ;works with k1,kd sensekey printk2 k1 endin ; Play Instrument #1 for thirty seconds. i 1 0 30 e ---------------------------------------------------------------------- >Comment By: John ffitch (jpff) Date: 2011-07-22 12:40 Message: I am not aware of any changes to this code since the last releae (apart from the minor tweak i just made). Could you try from a recent build? Basically I am mystified. ---------------------------------------------------------------------- Comment By: Joachim Heintz (joachimheintz) Date: 2011-07-20 18:56 Message: i don't know if i wasn't clear enough, or don't understand you. what i get with Csound version 5.13 beta (float samples) May 22 2011, is just -1 once. no sensekey messages like in your output at all. is this because of my two month old version and has fixed in recent git? ---------------------------------------------------------------------- Comment By: John ffitch (jpff) Date: 2011-07-19 08:32 Message: Seems OK to me. I have an adjusted code that is safer but the result is the same new alloc for instr 1: i1 -1.00000 g i1 103.00000 i1 -1.00000 h i1 104.00000 i1 -1.00000 j i1 106.00000 i1 -1.00000 k i1 107.00000 i1 -1.00000 C i1 67.00000 i1 -1.00000 What did you expect? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3361843&group_id=81968 ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net