
---
DIN Is Noise 
Copyright (c) 2006-2024 Jagannathan Sampath [jag@dinisnoise.org].
---

------------
Curve Editor
------------

  ESC: quit editor to return to instrument or use Menu > Instrument

  keys 2-8: switch to an editor or use Menu > Editors

  Just pick a vertex or tangent and move mouse to move. Click again to stop.

		Whilst moving:

			Press CTRL to move only along horizontal
			Press SHIFT to move only along vertical
      Press f to resize tangent

  SPACE + click and move to move whole curve.

  To insert a vertex, choose Menu > Tools > Insert vertex

  To delete a vertex, choose Menu > Tools > Delete vertex

  To draw a freehand curve, choose Menu > Tools > Draw & replace curve
  
  z:  undo last operation
  Or Menu > Tools > Undo

  SHIFT + z:  redo last operation.
  Or Menu > Tools > Redo

  CTRL + c:  copy curve under cursor. 
  Or Menu > Tools > Copy.

  CTRL + v:  replace curve under cursor with copied curve. 
  Or Menu > Tools > Paste.

  To convert curve to a polyline, choose Menu > Tools > Fold tangents.  
    Turn on Selection only to fold tangents of just the selected vertex.

  To convert polyline to bezier curve, choose Menu > Tools > Unfold tangents.
    Turn on Selection only to unfold tangents of just the selected vertex.

	Choose Flip about Horizontal or Flip about Vertical and click on that button
	to flip the whole curve.  Turn on Selection only to flip just a picked vertex
	or tangent. The 'Local' style flips about the center of bounding box sorrounding 
  the curve.

  c:  toggle if vertices should carry their tangents when moved.
  		Or from Menu > Tools

  m:  toggle if a vertex's tangent mirrors the other tangent
      Or from Menu > Tools

  x:  toggle x snap.
  y:  toggle y snap.
  b:  toggle x and y snap.
  n:  turn off snap.

  Or choose from Menu > Tools

  ':  toggle drawing snap guides

  Mouse capture:

    F7: start / stop mouse capture.
		F8: apply mouse capture to picked vertex or tangent

    or choose from Menu > Tools > Mouse caputre

  Miscellaneous:

    r : to apply current plugin

  Curve library:

    9:  replace selected curve in editor with previous curve from library.
    0:  replace selected curve in editor with next curve in library.
    Or use the < and > buttons at Menu > Tools > Library

    +:  add curve in editor to library.
    Or choose Menu > Tools > Library > Add

    -:  delete current curve in library.
    Or choose Menu > Tools > Library > Delete

    Menu > Tools > Library > Replace to replace current curve in library
    with the picked curve.

    see also the curve-library command to organise curves in the library.

  Movement:

    w, s, a , d for up, down, left and right.
    Or from Menu > Tools

  Visual:

    Menu > Tools > Label vertices to toggle vertex labelling 
        
    o : toggle overlay of current instrument
				or choose Menu > Tools > Overlay Instrument

    / : toggle waveform samples display
        or choose Menu > Tools > Show waveform

    . : toggle between drawing the curve profile or drawing the 
        curve profile plus vertices/tangents

				or choose Menu > Tools > Draw curve only

		, : toggle marking of segments of the curve. if segments overlap
				there will be distortion when curve is used for audio as a
				waveform, envelope or modulation.

				or choose Menu > Tools > Mark segments

		g : toggle cursor guidelines
        
    F5, F6: decrease, increase x chunk size
    SHIFT + F5, SHIFT + F6: decrease, increase y chunk size

---
