newsAdvanced Gtk+ Sequencer - News: Goals of GSequencer 1.4.x

 
 
Latest News
Advanced Gtk+ Sequencer version 6.5.x posted by jkraehemann, Sun 11 Feb 2024 05:06:15 PM UTC
Advanced Gtk+ Sequencer version 6.3.5 posted by jkraehemann, Fri 19 Jan 2024 11:53:24 AM UTC
Advanced Gtk+ Sequencer v6.1.0 released posted by jkraehemann, Thu 28 Sep 2023 04:55:19 AM UTC
Advanced Gtk+ Sequencer v6.0.0 released posted by jkraehemann, Mon 21 Aug 2023 11:48:52 AM UTC
Advanced Gtk+ Sequencer v5.5.0 released posted by jkraehemann, Sat 05 Aug 2023 10:21:52 AM UTC

Goals of GSequencer 1.4.x

Item posted by Joël Krähemann <jkraehemann> on Fri 05 Jan 2018 01:43:07 AM UTC.

The audio editor should be definitely available with this version. Since I really wanted to have the 4 paste modes available to you. I decided to post-pone the following goals:

  • implement AgsWaveWindow, AgsWaveEditor, AgsWaveToolbar and AgsWaveEdit
  • implement AgsSelectBuffer and AgsPositionAudioSignalCursor
  • implement AgsLevel, AgsLevelBox, AgsVLevelBox, AgsHScaleBox and AgsScrolledScaleBox in libags-gui
  • implement ags-capture-sound recall
  • implement ags-jit-buffer recall
  • implement ags-jit-copy recall
  • implement AgsAudiorec
  • implement AgsInputCollectionEditor, AgsInputListingEditor and AgsInputEditor


Just in time


There is going to be a JIT counterpart of ags-buffer and ags-copy recalls. I decided to use AgsAudioSignal with template flag getting modified by ags-capture-sound recall.

This recall is responsible to copy from AgsSoundcard to AgsAudioSignal template. Then come ags-jit-buffer or ags-jit-copy recall in. These recalls do continuous accept changes in the template AgsAudioSignal.

Currently ags-copy-pattern and ags-play-notation do create a copy of the template AgsAudioSignal as the pattern or notation wants a new AgsAudioSignal.


void ags_recycling_create_audio_signal_with_defaults(AgsRecycling *recycling,
                                                     AgsAudioSignal *audio_signal,
                                                     gdouble delay, guint attack);


AgsConcurrentAudioSignal


It seems obviously that we need to sub-type AGS_TYPE_AUDIO_SIGNAL and extend it with mutexes, the AgsConcurrentAudioSignal. It shall be locked by accessing its struct fields. 

GSequencer is able to perform lock free operations on audio data, because the AgsAudioSignal is tied to an AgsRecyclingContext. This usually means its own parallelism context is guaranteed.

New machine and widgets


AgsAudiorec machine shall give you the ability to interface with the ags-capture-sound recall. To configure the audio source you can use either AgsInputCollectionEditor or AgsInputEditor. They are provided by the AgsConnectionEditor, opened by activate appropriate machine's context menu entry.

AgsChannel:soundcard of AgsInput is used to assign the source of ags-capture-sound.

libags-gui.so.1 just got some new widgets. They are very familiar to AgsScale and related.

  • AgsLevel
  • AgsLevelBox
  • AgsVLevelBox
  • AgsHScaleBox
  • AgsScrolledScaleBox




by Joël

 

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code