• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum
FORUM

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    Audio beat detection algorithm

    Troubleshooting and Bug Reports
    7
    27
    13106
    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.
    • vanakaru
      vanakaru last edited by

      I played with this as well. It will give you rather rough tempo/beat detection. Since it gets the re-occurence from frequency it tends to flux alot. I attached the beat to movie player position and it kind of does the beat match. Also the flux adds nice variation to the setup(so the movie does not play the same lenght always). So I like this alot. And it is very good start point. Maybe if you will get the triggers from different frequencies and calculate the average you should get closer to actual beat.

      Maybe to use external hardware that outputs MIDI timing is better.

      MBP 4.1 & MBP (Retina, Mid 2012) MBP Retina 2017

      1 Reply Last reply Reply Quote 0
      • I
        ian Beta Platinum last edited by

        If you're needing a little better control of the sound levels from the ipod... Have you ever tried working with soundflower? http://cycling74.com/soundflower-landing-page/

        It's 'syphon' for sound. You can send  sound from the sound player output of izzy (or anything else on your machine) to soundflower, then recapture in izzy as new input. So for example you can have an audio file player playing your files, adjust the gain and/or hi/lo pass filters to select a narrow frequency, then loop back into izzy to measure with the sound level watcher or sound frequency watcher.

        For anything with a beat being kept at middle c or below I've had had much better much filtering the frequency range down to a few single note ranges before running it into either the frequency watcher or just using a sound level watcher.
        1703b1-screen-shot-2013-05-14-at-12.48.59-am.png

        Ian Winters
        2022 M1Max 64gb osx 13.x, 2020 ImacPro 12 core 32gb 13.x, 2018, Retina MBP 2.9ghz i7 / 16gb / Radeon Pro 560x 4gb / 13.x /
        video and media design / ianwinters.com

        1 Reply Last reply Reply Quote 0
        • Skulpture
          Skulpture Izzy Guru last edited by

          Yeah its never perfect and depends on the music style/type to be honest.

          When I VJ it's normally for trance/electro/house music so its very 4/4 and 126-135 BPM so I have been lucky.
          I know these are used a lot by VJ's too..
          [http://www.redsound.com/products/](http://www.redsound.com/products/)

          Graham Thorne | www.grahamthorne.co.uk
          RIG 1: Custom-built PC: Windows 11. Ryzen 7 7700X, RTX3080, 32G DDR5 RAM. 2 x m.2.
          RIG 2: Laptop Dell G15: Windows 11, Intel i9 12th Gen. RTX3070ti, 16G RAM (DDR5), 2 x NVME M.2 SSD.
          RIG 3: Apple Laptop: rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

          1 Reply Last reply Reply Quote 0
          • Bill Cottman
            Bill Cottman last edited by

            vanakaru: yeah i tinkered in this direction also and liked the results! i think this will satisfy my needs for now.

            ian: thx. i've forgotten about soundflower. thx for the reminder. will consider this if i need more control.
            skulpture: thx for the links. i have the RTA Lite app on my iPhone so i can see the freq spectrum i'm listening to

            http://www.BillCottman.com : Isadora3.0.8f09 with MBP OS X 10.11.6 in Minneapolis, MN

            1 Reply Last reply Reply Quote 0
            • Skulpture
              Skulpture Izzy Guru last edited by

              I have just found this too:

              [http://showsync.info/index.php/tools/beattracker/](http://showsync.info/index.php/tools/beattracker/)
              _"Beattracker is a standalone beat tracker module that analyzes an incoming audio signal and accurately detects the tempo and the current beat position after feeding it an initial tempo by tapping. It outputs the tempo and beat information in various formats, such as MIDI clock, OSC and MA net."_
              _ _
              _@_[vanderzee](http://troikatronix.com/troikatronixforum/profile/252/vanderzee)

              Graham Thorne | www.grahamthorne.co.uk
              RIG 1: Custom-built PC: Windows 11. Ryzen 7 7700X, RTX3080, 32G DDR5 RAM. 2 x m.2.
              RIG 2: Laptop Dell G15: Windows 11, Intel i9 12th Gen. RTX3070ti, 16G RAM (DDR5), 2 x NVME M.2 SSD.
              RIG 3: Apple Laptop: rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

              1 Reply Last reply Reply Quote 0
              • Bill Cottman
                Bill Cottman last edited by

                thx Skulpture. I'm playing with Arduino today

                http://www.BillCottman.com : Isadora3.0.8f09 with MBP OS X 10.11.6 in Minneapolis, MN

                1 Reply Last reply Reply Quote 0
                • Skulpture
                  Skulpture Izzy Guru last edited by

                  And this....

                  [http://wavesum.net/products.html](http://wavesum.net/products.html)

                  Graham Thorne | www.grahamthorne.co.uk
                  RIG 1: Custom-built PC: Windows 11. Ryzen 7 7700X, RTX3080, 32G DDR5 RAM. 2 x m.2.
                  RIG 2: Laptop Dell G15: Windows 11, Intel i9 12th Gen. RTX3070ti, 16G RAM (DDR5), 2 x NVME M.2 SSD.
                  RIG 3: Apple Laptop: rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

                  1 Reply Last reply Reply Quote 0
                  • Bill Cottman
                    Bill Cottman last edited by

                    thanks

                    http://www.BillCottman.com : Isadora3.0.8f09 with MBP OS X 10.11.6 in Minneapolis, MN

                    1 Reply Last reply Reply Quote 0
                    • Skulpture
                      Skulpture Izzy Guru last edited by

                      I keep finding stuff! lol

                      Graham Thorne | www.grahamthorne.co.uk
                      RIG 1: Custom-built PC: Windows 11. Ryzen 7 7700X, RTX3080, 32G DDR5 RAM. 2 x m.2.
                      RIG 2: Laptop Dell G15: Windows 11, Intel i9 12th Gen. RTX3070ti, 16G RAM (DDR5), 2 x NVME M.2 SSD.
                      RIG 3: Apple Laptop: rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

                      1 Reply Last reply Reply Quote 0
                      • crystalhorizon
                        crystalhorizon Beta Platinum last edited by

                        I´m trying a different approach: In Cubase I made a midi track with a short bass drum, tapped to my main Wave Track. I exported a midi and an audio file of this bass drum sync track: The idea was to start both tracks (audible track and inaudible sync track) with a keyboard watcher or enter scene trigger-the sync track should change after e.g. 8 beats -counter actor, some effect of the video. So now I have no idea what actor midi, audio, audio core, etc actor to use for the sync track, that triggers the counter and shoul be not audible. Its not about live capturing the audio. Any ideas?

                        Alexander Nantschev | http://www.crystalhorizon.at | located in Vienna Austria

                        1 Reply Last reply Reply Quote 0
                        • crystalhorizon
                          crystalhorizon Beta Platinum last edited by

                          no one?

                          Alexander Nantschev | http://www.crystalhorizon.at | located in Vienna Austria

                          1 Reply Last reply Reply Quote 0
                          • Skulpture
                            Skulpture Izzy Guru last edited by

                            The MIDI player in Isadora; actually plays a MIDI file; it doesn't send the note out. 

                            This is where Ableton is perfect for Live stuff as that will and the MIDI out and play music at the same time.
                            I will have a think about the best solution today for you.

                            Graham Thorne | www.grahamthorne.co.uk
                            RIG 1: Custom-built PC: Windows 11. Ryzen 7 7700X, RTX3080, 32G DDR5 RAM. 2 x m.2.
                            RIG 2: Laptop Dell G15: Windows 11, Intel i9 12th Gen. RTX3070ti, 16G RAM (DDR5), 2 x NVME M.2 SSD.
                            RIG 3: Apple Laptop: rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

                            1 Reply Last reply Reply Quote 0
                            • crystalhorizon
                              crystalhorizon Beta Platinum last edited by

                              Yeah, saw your ableton tutorial. Thanx for helping.

                              Alexander Nantschev | http://www.crystalhorizon.at | located in Vienna Austria

                              1 Reply Last reply Reply Quote 0
                              • Skulpture
                                Skulpture Izzy Guru last edited by

                                Really what you need is something like Duration or Vezer

                                But these mostly deal with OSC (similar to MIDI in many ways really - in its simplest form they both send messages just via deferent methods/protocols)
                                Worth having a look anyway.

                                Graham Thorne | www.grahamthorne.co.uk
                                RIG 1: Custom-built PC: Windows 11. Ryzen 7 7700X, RTX3080, 32G DDR5 RAM. 2 x m.2.
                                RIG 2: Laptop Dell G15: Windows 11, Intel i9 12th Gen. RTX3070ti, 16G RAM (DDR5), 2 x NVME M.2 SSD.
                                RIG 3: Apple Laptop: rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

                                1 Reply Last reply Reply Quote 0
                                • Michel
                                  Michel Izzy Guru last edited by

                                  Duration is really worth a look.

                                  Best
                                  Michel

                                  Michel Weber | www.filmprojekt.ch | rMBP (2019) i9, 16gig, AMD 5500M 8 GB, OS X 10.15 | located in Winterthur Switzerland.

                                  1 Reply Last reply Reply Quote 0
                                  • Skulpture
                                    Skulpture Izzy Guru last edited by

                                    It is indeed. I don't think you can drag a MIDI file into Duration though.

                                    But, saying that, I would swap the MIDI for OSC if I am totally honest. 
                                    It may be a bit more work but the workflow is much better and reliable.

                                    Graham Thorne | www.grahamthorne.co.uk
                                    RIG 1: Custom-built PC: Windows 11. Ryzen 7 7700X, RTX3080, 32G DDR5 RAM. 2 x m.2.
                                    RIG 2: Laptop Dell G15: Windows 11, Intel i9 12th Gen. RTX3070ti, 16G RAM (DDR5), 2 x NVME M.2 SSD.
                                    RIG 3: Apple Laptop: rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

                                    1 Reply Last reply Reply Quote 0
                                    • Skulpture
                                      Skulpture Izzy Guru last edited by

                                      http://vezerapp.hu/blog/vezer-talks-osc/

                                      MIDI and OSC.
                                      **Note:** This isn't out yet - due out very soon!

                                      Graham Thorne | www.grahamthorne.co.uk
                                      RIG 1: Custom-built PC: Windows 11. Ryzen 7 7700X, RTX3080, 32G DDR5 RAM. 2 x m.2.
                                      RIG 2: Laptop Dell G15: Windows 11, Intel i9 12th Gen. RTX3070ti, 16G RAM (DDR5), 2 x NVME M.2 SSD.
                                      RIG 3: Apple Laptop: rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

                                      1 Reply Last reply Reply Quote 0
                                      • crystalhorizon
                                        crystalhorizon Beta Platinum last edited by

                                        On my windows machine, I managed to send OSC data from duration to Isadora. cool. but how to import my sync (midi or audio) file into duration? Skulpure I think you´re right, that you cant  import a midi file in duration.

                                        Alexander Nantschev | http://www.crystalhorizon.at | located in Vienna Austria

                                        1 Reply Last reply Reply Quote 0
                                        • Skulpture
                                          Skulpture Izzy Guru last edited by

                                          The MIDI player in Isadora actually plays a MIDI file; it doesn't send the note out. It's not going to work.

                                          I'd be tempted to create an OSC track in Duration with triggers on every beat. Scrap the MIDI file.

                                          Graham Thorne | www.grahamthorne.co.uk
                                          RIG 1: Custom-built PC: Windows 11. Ryzen 7 7700X, RTX3080, 32G DDR5 RAM. 2 x m.2.
                                          RIG 2: Laptop Dell G15: Windows 11, Intel i9 12th Gen. RTX3070ti, 16G RAM (DDR5), 2 x NVME M.2 SSD.
                                          RIG 3: Apple Laptop: rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

                                          1 Reply Last reply Reply Quote 0
                                          • crystalhorizon
                                            crystalhorizon Beta Platinum last edited by

                                            Ok, on the mac it works, on two windows machines: one is crashing (duration) and the other can only open an older version of duration, where you cant import audio files.
                                            So Mac wins ;-)
                                            Thanx for the advice!

                                            Alexander Nantschev | http://www.crystalhorizon.at | located in Vienna Austria

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