debug

graph_node_lin(node, samples)

Used to graph a node’s output with matplotlib over a given ammount of samples on a linear basis.

Parameters
  • node – A node that should be graphed over time

  • samples (int) – Number of samples the node should be graphed for

graph_node_log(node, samples)

Used to graph a node’s output with matplotlib over a given ammount of samples on a logarithmic basis.

Parameters
  • node – A node that should be graphed over time

  • samples (int) – Number of samples the node should be graphed for

graph_transport(tp, samples)

Used to graph a transport over a given number of samples. Usefull for when events need to be seen visually

Parameters
  • tp – Transport that should be graphed

  • samples (int) – Number of samples the transport should be graphed for

record_file(node, filename='recorded_wave.wav', seconds=5)
Parameters
  • node – Node to be recorded

  • filename (string) – Name of the output file

  • seconds (int) – Number of seconds to record for

record_transport(tp, filename='recorded_session.wav', seconds=5)
Parameters
  • tp – Transport to be recorded

  • filename (string) – Name of the output file

  • seconds (int) – Number of seconds to record for