Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio nodes #11

Open
chkworks opened this issue Feb 5, 2023 · 1 comment
Open

Audio nodes #11

chkworks opened this issue Feb 5, 2023 · 1 comment

Comments

@chkworks
Copy link
Owner

chkworks commented Feb 5, 2023

Include FFT4Bands & LinToLog when they are in standard node set.

@mhusinsky
Copy link
Collaborator

Patch 31 - Audio Input probably should also feature the GetSamples node.

grafik

just copy this and paste it in your patch for a shortcut
<?xml version="1.0" encoding="utf-16"?>
<Patch xmlns:p="property" xmlns:r="reflection" Id="KEiz3yQbQs3MyCgsgQDYqc" MergeId="32411">
  <Canvas Id="Cv1qPAMTAeYNCFAcrowdm0" MergeId="32412" CanvasType="Group">
    <Pad Id="BIXam45bq3TOj1DUQnD7r8" Comment="Frame Count" Bounds="1195,1524,35,15" ShowValueBox="true" isIOBox="true" Value="2048">
      <p:TypeAnnotation LastCategoryFullName="Primitive" LastDependency="VL.CoreLib.vl">
        <Choice Kind="TypeFlag" Name="Integer32" />
      </p:TypeAnnotation>
    </Pad>
    <Node Bounds="1163,1973,225,19" Id="VfC5rcipyo8Qcuf6Xux3DV">
      <p:NodeReference LastCategoryFullName="Graphics.Skia" LastDependency="VL.Skia.vl">
        <Choice Kind="NodeFlag" Name="Node" Fixed="true" />
        <Choice Kind="ProcessAppFlag" Name="Renderer" />
      </p:NodeReference>
      <Pin Id="PVl0bayZctZMavVBJVmTVp" Name="Bounds" Kind="InputPin" DefaultValue="8, 750, 548, 370" />
      <Pin Id="Llve9ShiqfYLDhw9eiJf7q" Name="Save Bounds" Kind="InputPin" />
      <Pin Id="GpB4RiuON8aNlwEngUtJJb" Name="Bound to Document" Kind="InputPin" />
      <Pin Id="JyWeVLFggbSN1yNaOEtTXw" Name="Dialog If Document Changed" Kind="InputPin" />
      <Pin Id="SAH3Y4aL1sHL2vGqindjag" Name="Input" Kind="InputPin" />
      <Pin Id="RmyVXhuRB47N1A1TldF6dn" Name="Color" Kind="InputPin" />
      <Pin Id="VAJyINVdTVhOXwNdmcbYZn" Name="Clear" Kind="InputPin" />
      <Pin Id="CGsQJZRJhw9PJeFRXzEntm" Name="Space" Kind="InputPin" />
      <Pin Id="BbXmePdxCFeQMtzzRd6uxN" Name="Show Cursor" Kind="InputPin" />
      <Pin Id="E7PZPym2sQCQWHk6P33i1Q" Name="VSync" Kind="InputPin" />
      <Pin Id="Dqyr5PIGrOAMw4LccKwTUe" Name="Enable Keyboard Shortcuts" Kind="InputPin" />
      <Pin Id="AlpRyoucII2PUBAIkovyAI" Name="Enabled" Kind="InputPin" />
      <Pin Id="S7qhVFQCcDONWgA9eFvr5j" Name="Form Bounds Notifications" Kind="OutputPin" />
      <Pin Id="Ue4S6yaHch4QHMRzD6DeAw" Name="Form" Kind="OutputPin" />
      <Pin Id="O7lykaHM24TNPPXNjkLU2M" Name="ClientBounds" Kind="OutputPin" />
      <Pin Id="IUSr2TbuoseNWPdWzr0Unp" Name="Render Time" Kind="OutputPin" />
    </Node>
    <Node Bounds="1183,1832,85,19" Id="FfNOb02h500Lrz3gJOf4BS">
      <p:NodeReference LastCategoryFullName="Graphics.Skia.Layers" LastDependency="VL.Skia.vl">
        <Choice Kind="NodeFlag" Name="Node" Fixed="true" />
        <CategoryReference Kind="Category" Name="Layers" NeedsToBeDirectParent="true">
          <p:OuterCategoryReference Kind="Category" Name="Skia" NeedsToBeDirectParent="true" />
        </CategoryReference>
        <Choice Kind="ProcessAppFlag" Name="Polygon" />
      </p:NodeReference>
      <Pin Id="SAbafTbYCkwMeKUxAjwmQx" Name="Points" Kind="InputPin" />
      <Pin Id="IYKY9L7MbTLL2oYr0Fqbmb" Name="Closed" Kind="InputPin" DefaultValue="False" />
      <Pin Id="QO2EYdAAuVaM6QKElQLPbi" Name="Paint" Kind="InputPin" />
      <Pin Id="LJiQodAJeHDLZqaP4AKWLk" Name="Winding" Kind="InputPin" />
      <Pin Id="SI23MaEFoWBMBlJr6D7TZR" Name="Enabled" Kind="InputPin" />
      <Pin Id="L9n2JZ9M4P1Nazx6yXNcad" Name="Output" Kind="OutputPin" />
    </Node>
    <Node Bounds="1171,1637,141,118" Id="Lt09dOfQmd1L5bEsRrwW5g">
      <p:NodeReference LastCategoryFullName="Primitive" LastDependency="Builtin">
        <Choice Kind="StatefulRegion" Name="Region (Stateful)" Fixed="true" />
        <CategoryReference Kind="Category" Name="Primitive" />
        <Choice Kind="ApplicationStatefulRegion" Name="ForEach" />
      </p:NodeReference>
      <Pin Id="UUhqe1WgHclQLP8UPSVJyC" Name="Break" Kind="OutputPin" />
      <ControlPoint Id="AzOKZECP71hPgyQc3l5bya" Bounds="1226,1643" Alignment="Top" />
      <ControlPoint Id="QnfxT9sRTAqL7Iy1k3wUND" Bounds="1185,1749" Alignment="Bottom" />
      <ControlPoint Id="Jd6dIlS2eSfLD7gzh6IHOz" Bounds="1185,1643" Alignment="Top" />
      <Patch Id="OGgZqaZlKcyPEQsnpouOpo" ManuallySortedPins="true">
        <Patch Id="IAEccHPmHqbMAzaFdkCamD" Name="Create" ManuallySortedPins="true" />
        <Patch Id="OZE5oAd6jJKO0QMlFRYUFv" Name="Update" ManuallySortedPins="true" />
        <Patch Id="FxaJC9uGUMEMgy74sTEWzF" Name="Dispose" ManuallySortedPins="true" />
        <Node Bounds="1183,1711,46,19" Id="MDoIj2TUSWYN8eLrv2sUqN">
          <p:NodeReference LastCategoryFullName="2D.Vector2" LastDependency="VL.CoreLib.vl">
            <Choice Kind="NodeFlag" Name="Node" Fixed="true" />
            <CategoryReference Kind="4043309057" Name="Vector2" NeedsToBeDirectParent="true" />
            <Choice Kind="OperationCallFlag" Name="Vector (Join)" />
          </p:NodeReference>
          <Pin Id="SL9L0sQJmIFLRReVjTMgBh" Name="X" Kind="InputPin" />
          <Pin Id="UTuhAVzAtSrP2WlZpDhwZj" Name="Y" Kind="InputPin" />
          <Pin Id="U0oUJ4VysXKM65L2B6OcHT" Name="Output" Kind="StateOutputPin" />
        </Node>
        <Node Bounds="1224,1682,25,19" Id="Mfsay8fVebBOVWyANTR2Ij">
          <p:NodeReference LastCategoryFullName="Math" LastDependency="VL.CoreLib.vl">
            <Choice Kind="NodeFlag" Name="Node" Fixed="true" />
            <Choice Kind="OperationCallFlag" Name="*" />
          </p:NodeReference>
          <Pin Id="HCLU0fJJ3xpQMGxwBpKij1" Name="Input" Kind="InputPin" />
          <Pin Id="EANTsR8djjHPiRuI8HrP9K" Name="Input 2" Kind="InputPin" />
          <Pin Id="PveVUhwsesiMVv4uJ8R94Q" Name="Output" Kind="OutputPin" />
        </Node>
        <Pad Id="KAUp38iknxVMXhHSou1Q7R" Comment="" Bounds="1246,1668,35,15" ShowValueBox="true" isIOBox="true" Value="0.29">
          <p:TypeAnnotation LastCategoryFullName="Primitive" LastDependency="VL.CoreLib.vl">
            <Choice Kind="TypeFlag" Name="Float32" />
          </p:TypeAnnotation>
        </Pad>
      </Patch>
    </Node>
    <Node Bounds="1113,1571,85,19" Id="I2UUyDJxO5hPh8h9CqsLpX">
      <p:NodeReference LastCategoryFullName="Collections.Spread" LastDependency="VL.CoreLib.vl">
        <Choice Kind="NodeFlag" Name="Node" Fixed="true" />
        <Choice Kind="ProcessAppFlag" Name="LinearSpread" />
      </p:NodeReference>
      <Pin Id="OeccMzcWgU5OXfAqN4My4N" Name="Center" Kind="InputPin" />
      <Pin Id="AWhYHUxcwMuOvuL39lb2gi" Name="Width" Kind="InputPin" />
      <Pin Id="R3qrCiOhOakM1el42cc0Kv" Name="Alignment" Kind="InputPin" />
      <Pin Id="VWy8vkHIP8VQWmWIN3Ytwa" Name="Phase" Kind="InputPin" />
      <Pin Id="BYl4UzKBDhELWuPat48gvO" Name="Count" Kind="InputPin" />
      <Pin Id="OJZMjlhgGxjPB7hmi2W4Ix" Name="Output" Kind="OutputPin" />
    </Node>
    <Pad Id="EOzw39lUMJbOSn6wP2Uobf" Comment="Width" Bounds="1135,1553,35,15" ShowValueBox="true" isIOBox="true" Value="3">
      <p:TypeAnnotation LastCategoryFullName="Primitive" LastDependency="VL.CoreLib.vl">
        <Choice Kind="TypeFlag" Name="Float32" />
      </p:TypeAnnotation>
    </Pad>
    <Pad Id="BxCeEozzJ8CLL9VJUF1VgS" Comment="Color" Bounds="1205,1951,136,15" ShowValueBox="true" isIOBox="true" Value="1, 0, 0, 1">
      <p:TypeAnnotation LastCategoryFullName="Color" LastDependency="VL.CoreLib.vl">
        <Choice Kind="TypeFlag" Name="RGBA" />
      </p:TypeAnnotation>
    </Pad>
    <Node Bounds="1223,1805,105,19" Id="CqdOwUSwaLWLnj1nR2JSy6">
      <p:NodeReference LastCategoryFullName="Graphics.Skia.Paint" LastDependency="VL.Skia.vl">
        <Choice Kind="NodeFlag" Name="Node" Fixed="true" />
        <Choice Kind="ProcessAppFlag" Name="Stroke" />
      </p:NodeReference>
      <Pin Id="L57PlrjCmZdMPBD6ahp6A0" Name="Input" Kind="InputPin" />
      <Pin Id="PqsKSxyJPcOOmbE0Oe38Xb" Name="Color" Kind="InputPin" />
      <Pin Id="CXQc9n9W7ooLVttMY9Me8B" Name="Stroke Width" Kind="InputPin" />
      <Pin Id="ES3CTL1eugQNGAuwmbXnBh" Name="Join" Kind="InputPin" />
      <Pin Id="VKXonVZ4vKwNgUUOejevdQ" Name="Cap" Kind="InputPin" />
      <Pin Id="GLvdKkNREvNM1b2aDhkRC5" Name="Miter" Kind="InputPin" />
      <Pin Id="HH4KtTjf3qoOeWxtXscs7l" Name="Output" Kind="OutputPin" />
    </Node>
    <Pad Id="EVm47pVuDbyLe7i2ALY2hH" Comment="Color" Bounds="1245,1784,136,15" ShowValueBox="true" isIOBox="true" Value="0, 0, 1, 1">
      <p:TypeAnnotation LastCategoryFullName="Color" LastDependency="VL.CoreLib.vl">
        <Choice Kind="TypeFlag" Name="RGBA" />
      </p:TypeAnnotation>
    </Pad>
    <Node Bounds="1183,1901,65,19" Id="R1hTzOAG0EzNc7Ar91sRuF">
      <p:NodeReference LastCategoryFullName="Graphics.Skia" LastDependency="VL.Skia.vl">
        <Choice Kind="NodeFlag" Name="Node" Fixed="true" />
        <CategoryReference Kind="Category" Name="Skia" NeedsToBeDirectParent="true" />
        <Choice Kind="ProcessAppFlag" Name="Group" />
      </p:NodeReference>
      <Pin Id="Qgpdw35uBCANh219gDAQME" Name="Input" Kind="InputPin" />
      <Pin Id="NZIXQcEkHtpOuR0rqzJCtU" Name="Input 2" Kind="InputPin" />
      <Pin Id="L2jYM8qxZqkQGdus0F4fP1" Name="Debug" Kind="InputPin" />
      <Pin Id="AkRX7zwSj7cMM2Av3ylpzI" Name="Enabled" Kind="InputPin" />
      <Pin Id="HhzLgc5Y8fHLzDvXkIsIWA" Name="Output" Kind="OutputPin" />
    </Node>
    <Node Bounds="1203,1870,65,19" Id="VMd4DqOlia6LY8qTjMjnKq">
      <p:NodeReference LastCategoryFullName="Main" LastDependency="Nodes.vl">
        <Choice Kind="NodeFlag" Name="Node" Fixed="true" />
        <Choice Kind="ProcessAppFlag" Name="Labels" />
      </p:NodeReference>
      <Pin Id="E4pdcswcg8eLFXrLgMHImW" Name="Headline" Kind="InputPin" DefaultValue="GetSamples" />
      <Pin Id="JN6Ai8dsK8hOtd5kPG5Nvc" Name="Description" Kind="InputPin" DefaultValue="A spread of the amplitudes of the last 400 samples." />
      <Pin Id="R475Z3ko1bKLXFVsNCK4Ij" Name="Text Color" Kind="InputPin" />
      <Pin Id="AeR4h49ERtyOLId7CqzAOK" Name="Line Color" Kind="InputPin" />
      <Pin Id="HJGEpgtgpbJORMb3oKaSPA" Name="Layer" Kind="OutputPin" />
      <Pin Id="UAgQHedGBv6NbX1NCDa1iz" Name="Entity" Kind="OutputPin" />
    </Node>
    <Node Bounds="1226,1563,69,19" Id="AMlEcfaKsZaLpBwKGBYwhd">
      <p:NodeReference LastCategoryFullName="Audio.Sink" LastDependency="VL.Audio.vl">
        <Choice Kind="NodeFlag" Name="Node" Fixed="true" />
        <Choice Kind="ProcessAppFlag" Name="GetSamples" />
      </p:NodeReference>
      <Pin Id="N1EKPhfzGhzPi53FbN6JdR" Name="Input" Kind="InputPin" />
      <Pin Id="UUcvOXo5gQTPl8Vt0vC8Bj" Name="Count" Kind="InputPin" />
      <Pin Id="GloydUjtcaLN8ovTWYZ6Ak" Name="Result" Kind="OutputPin" />
    </Node>
    <Node Bounds="1226,1593,83,26" Id="Aex743uwC2sLpJsz6RNpVV">
      <p:NodeReference LastCategoryFullName="Collections.Spread" LastDependency="VL.CoreLib.vl">
        <Choice Kind="NodeFlag" Name="Node" Fixed="true" />
        <CategoryReference Kind="ClassType" Name="Spread" NeedsToBeDirectParent="true" />
        <Choice Kind="OperationCallFlag" Name="FromSequence" />
      </p:NodeReference>
      <Pin Id="IZ5DK4hSDkCL5Ls9bFp3dw" Name="Input" Kind="StateInputPin" />
      <Pin Id="G4yftBBkaaCLGcFvyoQHjq" Name="Result" Kind="OutputPin" />
    </Node>
  </Canvas>
  <Link Id="Jc0txeuX6hyMZFhSTLEeVw" Ids="U0oUJ4VysXKM65L2B6OcHT,QnfxT9sRTAqL7Iy1k3wUND" />
  <Link Id="UuwWscuxalTMZv9LnwwKFB" Ids="QnfxT9sRTAqL7Iy1k3wUND,SAbafTbYCkwMeKUxAjwmQx" />
  <Link Id="Nq9QJVX6OkbNKGmXiLYpzT" Ids="BIXam45bq3TOj1DUQnD7r8,BYl4UzKBDhELWuPat48gvO" />
  <Link Id="CpPiZ6w9Ww9P0X3IBxvWrh" Ids="OJZMjlhgGxjPB7hmi2W4Ix,Jd6dIlS2eSfLD7gzh6IHOz" />
  <Link Id="AXXw0Q7MSLEOE0aTEiv44a" Ids="Jd6dIlS2eSfLD7gzh6IHOz,SL9L0sQJmIFLRReVjTMgBh" />
  <Link Id="KFd885PehcfNp8P600aTYH" Ids="EOzw39lUMJbOSn6wP2Uobf,AWhYHUxcwMuOvuL39lb2gi" />
  <Link Id="BhnshMgNDgpOEKgt5tR5Tr" Ids="BxCeEozzJ8CLL9VJUF1VgS,RmyVXhuRB47N1A1TldF6dn" />
  <Link Id="QzjR6IN4W9dQWOWcAcJeg7" Ids="L9n2JZ9M4P1Nazx6yXNcad,Qgpdw35uBCANh219gDAQME" />
  <Link Id="T7ZxgiJa5FmMEEdK4kwYxC" Ids="HH4KtTjf3qoOeWxtXscs7l,QO2EYdAAuVaM6QKElQLPbi" />
  <Link Id="DDnx9H7eE0APBNhUNRTfhZ" Ids="KAUp38iknxVMXhHSou1Q7R,EANTsR8djjHPiRuI8HrP9K" />
  <Link Id="QOlrA8AVjioQEVMHNji5UA" Ids="AzOKZECP71hPgyQc3l5bya,HCLU0fJJ3xpQMGxwBpKij1" />
  <Link Id="KV62FoXe1XaNvQIqLXk1fU" Ids="PveVUhwsesiMVv4uJ8R94Q,UTuhAVzAtSrP2WlZpDhwZj" />
  <Link Id="Psp400coUQQQTXbdHTIaKy" Ids="EVm47pVuDbyLe7i2ALY2hH,PqsKSxyJPcOOmbE0Oe38Xb" />
  <Link Id="S2lA7DCnNsmM1m9pWsLrCS" Ids="HhzLgc5Y8fHLzDvXkIsIWA,SAH3Y4aL1sHL2vGqindjag" />
  <Link Id="KsVzzfLLdAXQRuGNwZc6ah" Ids="HJGEpgtgpbJORMb3oKaSPA,NZIXQcEkHtpOuR0rqzJCtU" />
  <Link Id="PLEVHBp7a1wLlalCN0B31P" Ids="GloydUjtcaLN8ovTWYZ6Ak,IZ5DK4hSDkCL5Ls9bFp3dw" />
  <Link Id="KXh9Ri72CLOP6MdxTKx8NB" Ids="G4yftBBkaaCLGcFvyoQHjq,AzOKZECP71hPgyQc3l5bya" />
  <Link Id="T0MtH8G2G43PWmsRmAwPTe" Ids="BIXam45bq3TOj1DUQnD7r8,UUcvOXo5gQTPl8Vt0vC8Bj" />
  <NugetDependency Id="UMoe9l8tI6dPh7545hvloL" Location="VL.CoreLib" Version="2023.5.2" />
  <NugetDependency Id="KCkzIQzTcsbPtVQmbO9jl3" Location="VL.Skia" Version="2023.5.2" />
  <NugetDependency Id="NMwbrhiQkD3MVsRoBXkEKk" Location="VL.Audio" Version="1.2.2" />
  <DocumentDependency Id="HNuDHS6prFNOlDyeO0ojO3" Location="C:/Users/Matthias/AppData/Local/vvvv/gamma/nugets/VL.ThePatchersGuide.5.0.3/include/Nodes.vl" />
</Patch>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants