Re: [Cs-dev] Tempest Bug?
Date | 2007-03-07 09:03 |
From | Colin Kahn |
Subject | Re: [Cs-dev] Tempest Bug? |
Hello Jonathan, Sorry, looks like that was a mistake in my example. Originally i had a1 going into the pitchamdf and was using the krms as the kin for tempest. It looks like no matter what is used tempest returns nan. When you set tempest to display mode it does look like it's receiving the signal correctly, but it just doesn't return a bpm. Thanks, Colin instr 3 kx, ky xyin .1, 30, 1, 30, 1 ksig oscili 32000, kx, 1 a1 oscili ksig, 440, 1 kcps, krms pitchamdf a1, 150, 500, 200 ktempo tempest krms, .02, .1, 3, 2, 800, .005, 8, 60, 2, .04, .995 tempo ktempo, 60 kval tempoval out a1 printks "rms %f\ntempest %f\ntempo %f\n", 1, krms, ktempo, kval endin Date: Tue, 06 Mar 2007 23:54:08 +0930 From: Jonathan Murphy |
Date | 2007-03-07 10:32 |
From | Jonathan Murphy |
Subject | Re: [Cs-dev] Tempest Bug? |
Hi Colin, I think that the problem is with the use of xyin. Jonathan. |
Date | 2007-03-07 11:25 |
From | Colin Kahn |
Subject | Re: [Cs-dev] Tempest Bug? |
Hi Jonathan, Still returns nan. I'm using Csound 5.04 on Mac 10.3.9 from the command line and most of the examples i've found online using tempest don't seem to work (which makes me think it's a bug). Colin On Mar 7, 2007, at 5:32 AM, Jonathan Murphy wrote: > Hi Colin, > > I think that the problem is with the use of xyin. > > Jonathan. > > |
Date | 2007-03-07 12:08 |
From | Jonathan Murphy |
Subject | Re: [Cs-dev] Tempest Bug? |
I get output like this: rms 0.000000 tempest 0.000000 rms 1825.397827 tempest 68.174026 rms 778.083252 tempest 121.735634 rms 2237.835693 tempest 226.032257 I'm using Csound version 5.05 beta (float samples) Mar 1 2007, on linux, so perhaps there was a bug that has been fixed recently. Are you using floats or doubles? Jonathan. Colin Kahn |
Date | 2007-03-07 12:17 |
From | "Dr. Richard Boulanger" |
Subject | Re: [Cs-dev] Tempest Bug? |
Attachments | None None |
On the mac, there is a bug still. I get: -->CSoundLib found. PortMIDI real time MIDI plugin for Csound PortAudio real-time audio module for Csound virtual_keyboard real time MIDI plugin for Csound -->WARNING: CsoundLib may not compatible with this version -->Starting CsoundLib. 0dBFS level = 32768.0 Csound version 5.04.0 (float samples) Nov 10 2006 libsndfile-1.0.16 UnifiedCSD: /Users/dB/Desktop/tempestBug.csd STARTING FILE Creating options Creating orchestra Creating score orchname: /tmp/tmp.0.ogX5OH.orc scorename: /tmp/tmp.1.RPyAeQ.sco Loading command-line libraries: /Applications/MacCsound1.3b4/MacCsound.app/Contents/Resources/libMacCsoundOpcodes.dylib Macro definition for omacro:MacCsound Macro definition for omacro:MacCsound orch compiler: 25 lines read instr 1 Elapsed time at end of orchestra compile: real: 0.082s, CPU: 0.030s sorting score ... ... done Elapsed time at end of score sort: real: 0.085s, CPU: 0.040s Csound version 5.04.0 (float samples) Nov 10 2006 midi channel 1 using instr 1 midi channel 2 using instr 1 midi channel 3 using instr 1 midi channel 4 using instr 1 midi channel 5 using instr 1 midi channel 6 using instr 1 midi channel 7 using instr 1 midi channel 8 using instr 1 midi channel 9 using instr 1 midi channel 10 using instr 1 midi channel 11 using instr 1 midi channel 12 using instr 1 midi channel 13 using instr 1 midi channel 14 using instr 1 midi channel 15 using instr 1 midi channel 16 using instr 1 0dBFS level = 32768.0 ftable 1: ftable 2: orch now loaded audio buffered in 128 sample-frame blocks reading 512-byte blks of floats from adc (RAW) writing 512-byte blks of floats to dac SECTION 1: new alloc for instr 1: rms 0.000000 tempest 0.000000 rms 1158.552612 tempest nan rms 1373.014648 tempest nan rms 1572.771484 tempest nan rms 1776.424805 tempest nan rms 1977.412842 tempest nan rms 1272.693970 tempest nan rms 1486.443726 tempest nan rms 1684.290161 tempest nan rms 1886.415771 tempest nan rms 2085.756104 tempest nan rms 1388.293091 tempest nan inactive allocs returned to freespace end of score. overall amps: -10.31 0 errors in performance Elapsed time at end of performance: real: 14.980s, CPU: 8.460s 4159 512-byte soundblks of floats written to dac -->CsoundLib Terminated... On Mar 7, 2007, at 7:08 AM, Jonathan Murphy wrote:
|
Date | 2007-03-07 12:33 |
From | Jonathan Murphy |
Subject | Re: [Cs-dev] Tempest Bug? |
Perhaps it's safe to assume that it's been fixed sometime over the last few months, but that whoever fixed it has been busy doing other stuff today? Jonathan. "Dr. Richard Boulanger" |
Date | 2007-03-07 12:38 |
From | Colin Kahn |
Subject | Re: [Cs-dev] Tempest Bug? |
Attachments | None None |
Thanks for the confirmation on that. Colin On Mar 7, 2007, at 7:17 AM, Dr. Richard Boulanger wrote: > On the mac, there is a bug still. I get: > > -->CSoundLib found. > PortMIDI real time MIDI plugin for Csound > PortAudio real-time audio module for Csound > virtual_keyboard real time MIDI plugin for Csound > -->WARNING: CsoundLib may not compatible with this version > -->Starting CsoundLib. > 0dBFS level = 32768.0 > Csound version 5.04.0 (float samples) Nov 10 2006 > libsndfile-1.0.16 > UnifiedCSD: /Users/dB/Desktop/tempestBug.csd > STARTING FILE > Creating options > Creating orchestra > Creating score > orchname: /tmp/tmp.0.ogX5OH.orc > scorename: /tmp/tmp.1.RPyAeQ.sco > Loading command-line libraries: > > /Applications/MacCsound1.3b4/MacCsound.app/Contents/Resources/ > libMacCsoundOpcodes.dylib > Macro definition for omacro:MacCsound > Macro definition for omacro:MacCsound > orch compiler: > 25 lines read > instr 1 > Elapsed time at end of orchestra compile: real: 0.082s, CPU: 0.030s > sorting score ... > ... done > Elapsed time at end of score sort: real: 0.085s, CPU: 0.040s > Csound version 5.04.0 (float samples) Nov 10 2006 > midi channel 1 using instr 1 > midi channel 2 using instr 1 > midi channel 3 using instr 1 > midi channel 4 using instr 1 > midi channel 5 using instr 1 > midi channel 6 using instr 1 > midi channel 7 using instr 1 > midi channel 8 using instr 1 > midi channel 9 using instr 1 > midi channel 10 using instr 1 > midi channel 11 using instr 1 > midi channel 12 using instr 1 > midi channel 13 using instr 1 > midi channel 14 using instr 1 > midi channel 15 using instr 1 > midi channel 16 using instr 1 > 0dBFS level = 32768.0 > ftable 1: > ftable 2: > orch now loaded > audio buffered in 128 sample-frame blocks > reading 512-byte blks of floats from adc (RAW) > writing 512-byte blks of floats to dac > SECTION 1: > new alloc for instr 1: > rms 0.000000 > tempest 0.000000 > rms 1158.552612 > tempest nan > rms 1373.014648 > tempest nan > rms 1572.771484 > tempest nan > rms 1776.424805 > tempest nan > rms 1977.412842 > tempest nan > rms 1272.693970 > tempest nan > rms 1486.443726 > tempest nan > rms 1684.290161 > tempest nan > rms 1886.415771 > tempest nan > rms 2085.756104 > tempest nan > rms 1388.293091 > tempest nan > inactive allocs returned to freespace > end of score. overall amps: -10.31 > 0 errors in performance > Elapsed time at end of performance: real: 14.980s, CPU: 8.460s > 4159 512-byte soundblks of floats written to dac > -->CsoundLib Terminated... > > > > On Mar 7, 2007, at 7:08 AM, Jonathan Murphy wrote: > >>>> |
Date | 2007-03-07 13:04 |
From | "Dr. Richard Boulanger" |
Subject | Re: [Cs-dev] Tempest Bug? |
hoping it will work in the new release. -dB On Mar 7, 2007, at 7:33 AM, Jonathan Murphy wrote: > Perhaps it's safe to assume that it's been fixed sometime over the > last few months, but that whoever fixed it has been busy doing other > stuff today? > > Jonathan. > > "Dr. Richard Boulanger" |
Date | 2007-03-09 07:02 |
From | jpff |
Subject | Re: [Cs-dev] Tempest Bug? |
On my machine tempest works as expected. This suggests that the problem is a Mac problem only. |