Forum Rule: Always post complete source code & details to reproduce any issue!
Page 2 of 2 FirstFirst 1 2
Results 26 to 29 of 29

Thread: Audio Router Module?

  1. #26
    Senior Member
    Join Date
    Jul 2020
    Posts
    968
    As aside about switches - its been briefly mentioned above I think, but hard switching of audio is going to
    produce potentially loud and annoying clicks, since truncating a waveform is equivalent to the sound of
    a sharp impact.

    You need a band-limited method for cross-fading if you want live switching to work professionally (ie
    click-free), which means a quality "cross-bar switch" would be a wrapper for an array of fade effects.

    The same issue affects the mixer class, except that often the gain settings on a mixer are typically
    ramped up and down rather than hard switched between 0 and 1. Ramping reduces the audibility
    of the clicks.

    In the days of analog mixing desks switching would often be done with JFETs with an RC low-pass
    filter on the gate electrode to ensure switching happened slow enough to avoid clicks.
    https://sound-au.com/articles/muting.html#s2

  2. #27
    Senior Member manicksan's Avatar
    Join Date
    Jun 2020
    Location
    Sweden
    Posts
    277
    But I think this will just be a alternative to do
    switching by patching AudioConnections

    https://forum.pjrc.com/threads/60062...io+connections

    but in a more elegant way.

    and when doing patch work for reconfiguration
    the output should first be muted to avoid clicks.

  3. #28
    Senior Member
    Join Date
    Dec 2015
    Posts
    184
    I am currently using dynamic patch connections, but they have issues as well as there is a bug with them ( https://forum.pjrc.com/threads/64446...-Bug-A-new-one! ) that I can't solve. Hopefully Paul will have time to look at it someday!

    For what I'm doing it would be easy enough to mute the outputs before swapping from straight through to crossed. Since my goal is to make a 2x2 both outputs would be changing at the same time.

    I'm not that skilled in C++, but I'm interested in your comment about importing custom libraries into the audio tool!

  4. #29
    Senior Member manicksan's Avatar
    Join Date
    Jun 2020
    Location
    Sweden
    Posts
    277
    Yes I have also read about the Dynamic connections bug.
    Quote Originally Posted by jkoffman View Post
    I'm not that skilled in C++, but I'm interested in your comment about importing custom libraries into the audio tool!
    The current state is now.
    Can
    * add/edit/remove custom node def. groups
    * add/edit/remove custom node def.
    * import and parse from github URL with
    .h files containing special //GUI: tags
    for example https://github.com/chipaudette/OpenA...pressor2_F32.h line 127-128

    Cannot yet
    * Import from a index.html
    * import help
    * import custom Editors (needed when using Audio objects that have arbitrary inputs/outputs)
    * automatic download of used lib. files

    It's available in the tool right main menu
    And is called "Node definition manager"

    I will post complete documentation on the "modified tool" thread when everything is working.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •