Draw audio levels script - page 2 - LUA Scripting - CHDK Forum

Draw audio levels script

  • 22 Replies
  • 10467 Views
Re: Draw audio levels script
« Reply #10 on: 09 / April / 2012, 10:16:56 »
Advertisements
well not on mine
it dont.

Re: Draw audio levels script
« Reply #11 on: 09 / April / 2012, 10:41:34 »
@radioman193
Could you describe, how do you run this?
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick

Re: Draw audio levels script
« Reply #12 on: 09 / April / 2012, 10:52:25 »
shure can ...

step 1 = Load script

step 2 = start script

step 3 = exit alt mode

step 4 = start recording video.


Re: Draw audio levels script
« Reply #13 on: 09 / April / 2012, 11:11:01 »


*

Offline funnel

  • ****
  • 349
Re: Draw audio levels script
« Reply #14 on: 09 / April / 2012, 13:20:32 »
Try going back into alt mode while recording. It appears to me like it stops drawing on the screen when out of alt mode.

Re: Draw audio levels script
« Reply #15 on: 09 / April / 2012, 14:02:37 »
that was the trick.....
 :)

Re: Draw audio levels script
« Reply #16 on: 09 / April / 2012, 17:53:29 »
Strange behavior - on SX130IS drawings work well even outside ALT mode.

 I wonder now whether this is caused by script interpreter (does it stop/pause outside ALT?) or by drawings itself (even more strange - CHDK draws a lot of things on OSD while not in ALT). I can't check this myself since I don't own this camera.
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick

Re: Draw audio levels script
« Reply #17 on: 09 / April / 2012, 20:45:10 »
it now for some reason works the moment you enable or start it now lol
dont even need to gointo record to see it......


*

Offline reyalp

  • ******
  • 14080
Re: Draw audio levels script
« Reply #18 on: 10 / April / 2012, 00:53:27 »
Strange behavior - on SX130IS drawings work well even outside ALT mode.

 I wonder now whether this is caused by script interpreter (does it stop/pause outside ALT?)
Script should not run outside of alt mode. (note if you run a script over PTP, it's a bit confused, but it's alt mode as far as the script is concerned)
Don't forget what the H stands for.

Re: Draw audio levels script
« Reply #19 on: 11 / April / 2012, 12:50:26 »
So it seems that we have some inconsistence in CHDK - on my sx130is scripts work outside ALT mode. I have seen that many times and used this. For me it's a feature, not a bug...

For example I can use this audio levels script and turn on/off ALT mode several times and levels are being drawed and updated all the time.

PS. I have never used PTP...
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick

 

Related Topics