• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login

    [ANSWERED] Convert sound frequencies to rgb colours

    How To... ?
    interactive rgb colour frequency sound
    7
    13
    254
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • bonemapB
      bonemap Izzy Guru @Vidasonik
      last edited by bonemap

      @vidasonik

      Hi,

      Here are some of my explorations of this topic. You are welcome to modify for your use. 

      https://troikatronix.com/add-ons/bonemap-audio-frequency-7-band-analysis/

      https://www.facebook.com/10000...

      There are significant limitations when using audio frequency analysis in Isadora. The big one (that is not documented) when working with multichannel audio input i.e. from your DAW, Isadora’s audio frequency analysis will only interpret channel 1. There is no option to analyse frequencies of additional channels in a multichannel audio input stream. So if you have a standard stereo track as an audio input, only one (the top channel) of the two channels that make up the stereo track are able to be transcribed as audio frequencies. Similarly, if you have a 4 channel audio track with content only encoded to channels 3&4, Isadora’s audio frequency analysis will not work because there is nothing on channel 1.

      However, you can use audio levels (Sound Level Watcher ++) to achieve independent level analysis of each channel in a multichannel audio input stream.

      Another issue is audio input routing. If your multichannel audio is embedded in an audio or video file and placed in Isadora as a Movie Player or Sound Player module a third party routing software is required to Loopback the audio as an input that can then be accessed for audio frequency analysis. This is further complicated because at the time of writing, the multichannel functionality of the Movie Player remains an unfinished project and as a result working with multichannel sound files that are either audio files or video files requires different workflows and software/hardware setups (We might anticipate a future fix for this situation in the Isadora development roadmap).

      Best wishes

      Russell 

      http://bonemap.com | Australia
      Izzy STD/USB 3.2.6 | + Beta 3.x.x
      MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.1.2 Sonoma
      Mac Studio 2023 M2 Ultra 128GB | OSX 14.1.2 Sonoma
      A range of deployable older Macs

      1 Reply Last reply Reply Quote 1
      • NotdocN
        Notdoc @Vidasonik
        last edited by

        @vidasonik

        may i suggest you do the analysis in Ableton and use OSC to bring the data into Izzy? Playing to the relevant strengths of each software... Both have very good OSC devices/actors available. 

        Ventura 13.0 on Macbook Pro 14-in M1 Max 2022

        bonemapB VidasonikV 2 Replies Last reply Reply Quote 2
        • bonemapB
          bonemap Izzy Guru @Notdoc
          last edited by

          @notdoc

          “do the analysis in Ableton and use OSC to bring the data into Izzy“

          Hi,

          That sounds great! Would love to learn more about that method.

          Best wishes

          Russell

          http://bonemap.com | Australia
          Izzy STD/USB 3.2.6 | + Beta 3.x.x
          MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.1.2 Sonoma
          Mac Studio 2023 M2 Ultra 128GB | OSX 14.1.2 Sonoma
          A range of deployable older Macs

          ArmandoA NotdocN 2 Replies Last reply Reply Quote 0
          • ArmandoA
            Armando Beta Gold @bonemap
            last edited by

            @bonemap Eventually analysis can be done in max (even better than in Live, although Cycling 74 belongs to Ableton) and be sent from Max to Isatura via OSC....


            Armando Menicacci

            www.studiosit.ca
            www.armandomenicacci.net

            Macbook pro 16 inches 2022 64 GB RAM, M1 MAX. OS 14 Sonoma

            bonemapB 1 Reply Last reply Reply Quote 1
            • bonemapB
              bonemap Izzy Guru @Armando
              last edited by

              @armando

              Hey! Thanks for that. Yes, I see that OSC frequency analysis out of Ableton requires a Max patch. For my purposes, the added latency would be an issue even using the AUSampleDelay module, and it would likely be unusable with live ambient sound input.

              Best Wishes,

              Russell

              http://bonemap.com | Australia
              Izzy STD/USB 3.2.6 | + Beta 3.x.x
              MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.1.2 Sonoma
              Mac Studio 2023 M2 Ultra 128GB | OSX 14.1.2 Sonoma
              A range of deployable older Macs

              FredF 1 Reply Last reply Reply Quote 0
              • FredF
                Fred @bonemap
                last edited by

                @bonemap Ableton and max should add negligible latency, especially if you set the sound card buffer low. Most modern sound cards can work at 64 sample latency or lower. At 44.1khz this is pretty negligible (1.4 milliseconds). FFT, no matter how you slice it, on Isadora, Ableton or any platform, will incur a delay as it has to average frequency over time. Isadoras implementation in the sound frequency watcher has no control over the window length, whereas you can control this in Ableton, meaning you could reduce delay further than in isadora. 

                Signal transmission with OSC, especially on the same machine will have negligible or zero latency.

                Your biggest delay is likely to be video output, projectors and screens can add whole frames of delay, DMX signals will not have this delay. If you want really tight sync Ableton may help you out in other ways. If you want super tight light and video sync, running audio through Ableton and using 2 sets of analysis (same settings) for the same signal and adding a delay to one, will let you delay (using an audio delay in Ableton) the OSC that gets sent to the lights so they match up perfectly with the video with very fine control.

                If you don't want to use Ableton you can also do this in Chataigne, which is free and has quite a lot more control than Isadora.

                http://www.fredrodrigues.net/
                https://github.com/fred-dev
                OSX 10.15.15 MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
                Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD
                Windows 10 Threadripper 3960x 64g ram, 1tb NVME, rtx 2080ti + rtx2070 super

                bonemapB 1 Reply Last reply Reply Quote 0
                • bonemapB
                  bonemap Izzy Guru @Fred
                  last edited by

                  @fred

                  Thanks that’s all solid advice. The commitment propositions of the various software- Ableton Live, Max for Live etc. mean I am not in a position to invest in these options at this point. My work around has been to use sound levels with multichannel audio rather than frequency analysis. At any rate the frequency analysis in Isadora appears to be partly driven by audio level.

                  Best wishes

                  Russell 

                  http://bonemap.com | Australia
                  Izzy STD/USB 3.2.6 | + Beta 3.x.x
                  MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.1.2 Sonoma
                  Mac Studio 2023 M2 Ultra 128GB | OSX 14.1.2 Sonoma
                  A range of deployable older Macs

                  dbiniD 1 Reply Last reply Reply Quote 0
                  • dbiniD
                    dbini @bonemap
                    last edited by

                    I've been working with a musician recently, generating some visuals from him playing the kantele (a traditional Finnish zither/harp-type instrument)
                    Using frequency analysis in Isadora has been a bit rough and ready and hit and miss. @bonemap - I'm going to try your user actor - thanks for sharing, Russell. I will also check out the possibilities of analysis in Ableton and OSCing through to Izzy, and report back next week...

                    John Collingswood
                    taikabox.com
                    2013 MBPR 2.3GHZ i7 OSX11.7.4 16GB
                    & 2019 MBPT 2.6GHZ i7 OSX12.3 16GB

                    1 Reply Last reply Reply Quote 3
                    • NotdocN
                      Notdoc @bonemap
                      last edited by

                      @bonemap

                      my experience has been actually the other way around, using Izzy's amazing blob tracking to modulate audio stuff in Ableton using OSC. So not colour data, although that is also great in Izzy. 

                      But it's easily fast enough. I've mainly been using light sources to move things around in the sound picture so it relates spatially to what's going on in the image. 

                      It's not complex, but it's perceptible, which is important for me. I'm not really interested in creating a supersubtle relationship between gradations of colour and sound if it's not directly perceptible and meaningful to an audience. The human emotional spectrum relating to colour and sound is very diverse, whereas spatially we are all pretty much on the same page.

                      Ventura 13.0 on Macbook Pro 14-in M1 Max 2022

                      1 Reply Last reply Reply Quote 2
                      • DusXD
                        DusX Tech Staff @Vidasonik
                        last edited by

                        @vidasonik said:

                        Ableton to rgb colours in Izzy

                         This tutorial could be helpful if you don't have Ableton Studio. Control Isadora From Ableton Live with MIDI : TroikaTronix

                        Troikatronix Technical Support

                        • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                        • Isadora Add-ons: https://troikatronix.com/add-ons/
                        • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

                        Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

                        1 Reply Last reply Reply Quote 2
                        • VidasonikV
                          Vidasonik @Notdoc
                          last edited by

                          @notdoc thanks for all this wonderful help and advice! I've not got into OSC yet what would be a simple way forward? Thanks, David

                          Composer and performer of Mimesis Arts / MacBook Pro 16" 2021 Monterey 12.2.1 Apple M1 Max 32GB

                          NotdocN 1 Reply Last reply Reply Quote 0
                          • NotdocN
                            Notdoc @Vidasonik
                            last edited by Notdoc

                            @vidasonik no problem. my knowledge has tight limits, however..:-)

                            you should be able to use the Ableton Connection kit for OSC devices to talk to the onboard ones in Izzy. 

                            But even better for what you are trying (if i understand it...) is the free 'LiveGrabber' OSC Ableton tools from Showsync. The 'Analysis Grabber' can 'grab' audio frequency data which you can send via OSC to Izzy.

                            I haven't tried it, but it should work. https://www.showsync.com/tools...

                            Ventura 13.0 on Macbook Pro 14-in M1 Max 2022

                            1 Reply Last reply Reply Quote 3
                            • First post
                              Last post