Zrythm v2.0.0-alpha.1
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::gui::qquick::LiveWaveformCanvasItem Class Reference
Inheritance diagram for zrythm::gui::qquick::LiveWaveformCanvasItem:
Collaboration diagram for zrythm::gui::qquick::LiveWaveformCanvasItem:

Signals

void stereoPortChanged ()
void bufferSizeChanged ()
Signals inherited from zrythm::gui::qquick::WaveformCanvasItem
void waveformColorChanged ()
void outlineColorChanged ()
Signals inherited from zrythm::gui::qquick::ClipCanvasItemBase
void referenceWidthChanged ()
void referenceXChanged ()
void loopPreviewChanged ()

Public Member Functions

 LiveWaveformCanvasItem (QQuickItem *parent=nullptr)
zrythm::dsp::AudioPortstereoPort () const
void setStereoPort (zrythm::dsp::AudioPort *port)
zrythm::dsp::PortObservationManagerportObservationManager () const
void setPortObservationManager (zrythm::dsp::PortObservationManager *manager)
int bufferSize () const
void setBufferSize (int size)
Public Member Functions inherited from zrythm::gui::qquick::WaveformCanvasItem
 WaveformCanvasItem (QQuickItem *parent=nullptr)
QCanvasPainterItemRenderer * createItemRenderer () const override
QColor waveformColor () const
void setWaveformColor (const QColor &color)
QColor outlineColor () const
void setOutlineColor (const QColor &color)
const juce::AudioSampleBuffer * audioBuffer () const
uint64_t bufferGeneration () const
 Monotonically increasing counter bumped on each buffer change.
Public Member Functions inherited from zrythm::gui::qquick::ClipCanvasItemBase
 ClipCanvasItemBase (QQuickItem *parent=nullptr)
qreal referenceWidth () const
void setReferenceWidth (qreal w)
qreal referenceX () const
void setReferenceX (qreal x)
qreal effectiveReferenceWidth () const
 Returns referenceWidth if set (> 0), otherwise the actual width().
bool loopPreview () const
 When true, the renderer wraps content into the loop region even if the clip is not currently looped.
void setLoopPreview (bool preview)

Properties

zrythm::dsp::AudioPortstereoPort
zrythm::dsp::PortObservationManagerportObservationManager
int bufferSize
Properties inherited from zrythm::gui::qquick::WaveformCanvasItem
QColor waveformColor
QColor outlineColor
Properties inherited from zrythm::gui::qquick::ClipCanvasItemBase
qreal referenceWidth
qreal referenceX
bool loopPreview

Additional Inherited Members

Protected Member Functions inherited from zrythm::gui::qquick::WaveformCanvasItem
void notifyBufferChanged ()
 Bumps the generation counter and schedules a repaint.
Protected Attributes inherited from zrythm::gui::qquick::WaveformCanvasItem
juce::AudioSampleBuffer audio_buffer_

Detailed Description

Definition at line 18 of file live_waveform_canvas_item.h.

Property Documentation

◆ bufferSize

int zrythm::gui::qquick::LiveWaveformCanvasItem::bufferSize
readwrite

Definition at line 24 of file live_waveform_canvas_item.h.

◆ portObservationManager

zrythm::dsp::PortObservationManager * zrythm::gui::qquick::LiveWaveformCanvasItem::portObservationManager
readwrite

Definition at line 23 of file live_waveform_canvas_item.h.

◆ stereoPort

zrythm::dsp::AudioPort * zrythm::gui::qquick::LiveWaveformCanvasItem::stereoPort
readwrite

Definition at line 22 of file live_waveform_canvas_item.h.


The documentation for this class was generated from the following file: