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-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 ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net