IntensityTierEditor IntensityTierEditor_create (const wchar_t *title, IntensityTier intensity, Sound sound, bool ownSound) { try { autoIntensityTierEditor me = Thing_new (IntensityTierEditor); RealTierEditor_init (me.peek(), title, (RealTier) intensity, sound, ownSound); return me.transfer(); } catch (MelderError) { Melder_throw ("IntensityTier window not created."); } }
autoAmplitudeTierEditor AmplitudeTierEditor_create (const char32 *title, AmplitudeTier amplitude, Sound sound, bool ownSound) { try { autoAmplitudeTierEditor me = Thing_new (AmplitudeTierEditor); RealTierEditor_init (me.get(), title, (RealTier) amplitude, sound, ownSound); return me; } catch (MelderError) { Melder_throw (U"AmplitudeTier window not created."); } }
AmplitudeTierEditor AmplitudeTierEditor_create (GuiObject parent, const wchar *title, AmplitudeTier amplitude, Sound sound, bool ownSound) { try { autoAmplitudeTierEditor me = Thing_new (AmplitudeTierEditor); RealTierEditor_init (me.peek(), parent, title, (RealTier) amplitude, sound, ownSound); return me.transfer(); } catch (MelderError) { Melder_throw ("AmplitudeTier window not created."); } }
DurationTierEditor DurationTierEditor_create (const wchar_t *title, DurationTier duration, Sound sound, bool ownSound) { try { autoDurationTierEditor me = Thing_new (DurationTierEditor); RealTierEditor_init (me.peek(), title, (RealTier) duration, sound, ownSound); return me.transfer(); } catch (MelderError) { Melder_throw ("DurationTier window not created."); } }
OptimalCeilingTierEditor OptimalCeilingTierEditor_create (const char32 *title, OptimalCeilingTier octier, Sound sound, bool ownSound) { try { autoOptimalCeilingTierEditor me = Thing_new (OptimalCeilingTierEditor); RealTierEditor_init (me.peek(), title, (RealTier) octier, sound, ownSound); return me.transfer(); } catch (MelderError) { Melder_throw (U"OptimalCeilingTier window not created."); } }
autoPitchTierEditor PitchTierEditor_create (const char32 *title, PitchTier pitch, Sound sound, bool ownSound) { try { autoPitchTierEditor me = Thing_new (PitchTierEditor); RealTierEditor_init (me.peek(), title, pitch, sound, ownSound); return me; } catch (MelderError) { Melder_throw (U"PitchTier window not created."); } }
void KlattGrid_RealTierEditor_init (KlattGrid_RealTierEditor me, const char32 *title, KlattGrid klattgrid, RealTier data) { my klattgrid = klattgrid; RealTierEditor_init (me, title, data, nullptr, false); }