Let's VISUALIZE AUDIO in Roblox!

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

Комментарии • 83

  • @avocadopeanut
    @avocadopeanut  17 дней назад

    After 4 months, here are what people struggle with the most:
    - *Confusing the Bar and bar variables.* Variables are case sensitive, so capitalization matters. "Bar" is set to the bar template, and "bar" is each cloned template. These are the ones that will be visible to the user.
    - *Choosing the right frequency range.* As of writing this, only frequencies 1 to 512 (whole numbers only) are available to get the RMS volume of. This may change in the future, but it's worth keeping in mind. Anything other frequency will come back as nil.
    - *Audio wiring.* You can find more information about it here: devforum.roblox.com/t/new-audio-api-beta-elevate-sound-and-voice-in-your-experiences/2848873

  • @Steelxfaze
    @Steelxfaze 5 месяцев назад +9

    two things -
    1) Your editing is CRAAAAZY GOOD for someone with 650 subs
    2) I love seeing people make unique content like this in Roblox Studio, so amazing work dude!!

    • @avocadopeanut
      @avocadopeanut  4 месяца назад +1

      thanks :3
      i'll be doing more research on good videos, though

  • @xQudo
    @xQudo 5 месяцев назад +14

    3:52 the audio player and output visualizer edit was so good

    • @avocadopeanut
      @avocadopeanut  5 месяцев назад +1

      Thanks, I spent a good whole day on that because I'm slow at editing lol

    • @isaac45896
      @isaac45896 5 месяцев назад

      @@avocadopeanut it was worth it ! absolutely amazing visualizer

  • @funi_channel
    @funi_channel 2 месяца назад +1

    you are super underrated, hope you get more subs soon!

    • @avocadopeanut
      @avocadopeanut  Месяц назад

      Maybe when I start uploading consistently...

  • @The_Hero
    @The_Hero 3 месяца назад +1

    Dude, awesome video! Your style of editing is silky smooth and I learned a lot from the tutorial!

    • @avocadopeanut
      @avocadopeanut  3 месяца назад

      No problem! I'm still trying to figure out what the next few videos will be...

  • @That_Random_Guy101
    @That_Random_Guy101 5 месяцев назад +2

    bro your editing is INSANE! I love that style of editing and i cant help but be inspired to also use a similar style. You are amazing. Keep going i believe you'll keep growing faster and faster.

    • @avocadopeanut
      @avocadopeanut  5 месяцев назад

      The style I'm going for is essentially as if I'm coding it inside of Studio somehow. It would look like one of my games, if I ever made a learning game! Also, I'm inspired by Mehdi from ElectroBoom. He purposely makes mistakes sometimes to show you what not to do in an entertaining way. Here, I haven't purposefully done it, but I don't want to cut it out. It's important to realize that failing is almost always part of the development of something!

    • @avocadopeanut
      @avocadopeanut  5 месяцев назад

      I also want to explain the code and why it works, instead of just asking the viewer to copy code from the description of the video. I lacked a little bit of explaining in this video, so I'll try to explain better next time.

  • @LerpCat
    @LerpCat 15 дней назад +1

    i know im 4 months late, but this has helped on my project, thanks! :3 great tutorial! i love your editing style :3 its so good for someone with around 700 subscribers lol

  • @MrBLTwcheese
    @MrBLTwcheese 2 месяца назад

    Thanks man, definitely subscribing i learned so much from this, I just realised roblox might release a new audio api because I never check beta features

  • @Amss0
    @Amss0 5 месяцев назад +3

    Please make more videos, I love them and it shaped me a lot!

  • @Kn00xxy
    @Kn00xxy 5 месяцев назад +2

    Yay, you're back!!!!

  • @fortniteog_yt8039
    @fortniteog_yt8039 4 месяца назад +1

    first of all, this is a really nice video, you really outdone yourself with this one, but now to my question, is there a way to set the volume of the speaker or audioplayer? i need to be able to change the volume since i wanna do a settings menu where you can change the volume.

    • @avocadopeanut
      @avocadopeanut  4 месяца назад +1

      You can wire the audio stream through an AudioFader. This ideally should multiply all the frequencies by the Volume property in this audio module. To wire correctly, you need these instances:
      - PlayerFader (Wire)
      - FaderOutput (Wire)
      - AudioPlayer (AudioPlayer)
      - AudioDeviceOutput (AudioDeviceOutput)
      From there, wire like this:
      PlayerFader: AudioPlayer -> AudioFader
      FaderOutput: AudioPlayer -> AudioDeviceOutput
      This way, the audio stream passes through the wires into the AudioFader, which changes the volume, and then goes to your speakers!

    • @fortniteog_yt8039
      @fortniteog_yt8039 4 месяца назад +1

      @@avocadopeanut Thank you for your explanation!

    • @fortniteog_yt8039
      @fortniteog_yt8039 4 месяца назад +1

      @@avocadopeanut for some reason the Audio fader changes nothing

    • @avocadopeanut
      @avocadopeanut  4 месяца назад +1

      @@fortniteog_yt8039 thats odd. I believe this may be a relatively new audio module that was added due to a feature request. The audio API is not fully out, so expect this to be fixed if your sure everything was wired correctly

    • @fortniteog_yt8039
      @fortniteog_yt8039 4 месяца назад +1

      @@avocadopeanut already fixed it

  • @trifew
    @trifew 4 месяца назад

    great stuff! you are great at what you do, I wish only the best for you! 🔥🔥

  • @Pixelated000
    @Pixelated000 5 месяцев назад +2

    everybody learnt atleast something from this video, thanks a lot

    • @avocadopeanut
      @avocadopeanut  4 месяца назад

      yes! I want to make videos that don't just show how to do one specific thing

  • @zninetythree
    @zninetythree 5 месяцев назад +1

    this tutorial changed my life

  • @OfficialCrossfire
    @OfficialCrossfire 5 месяцев назад +2

    i love you avo, omg im like... ur BIGGEST, BIGGEST fan..................
    !1

  • @null5709
    @null5709 2 месяца назад

    i dont usually comment on videos but I was wondering if there was a way to connect the audio player to like "area music" or character music, and not have it be just one song. I'm currently working on a game and I'm trying to get the visualizer to change its music when in a certain area or using a certain thing so that is visualizes differently

  • @civilcrows
    @civilcrows 5 месяцев назад +1

    wow bro, I haven’t developed on roblox in a while, I feel like i’ve missed so much

    • @avocadopeanut
      @avocadopeanut  4 месяца назад

      you should! you learn more than just how to code on roblox. learning anything like this generally improves one's intelligence one way or another

  • @sonicgunboy9540
    @sonicgunboy9540 5 месяцев назад +1

    your back!

  • @Rfisna
    @Rfisna 5 месяцев назад +4

    So cool

  • @frost_thegamer10
    @frost_thegamer10 Месяц назад

    was *surfing* on the internet i found this w vid

  • @asxtrea7442
    @asxtrea7442 5 месяцев назад +2

    10/10 tutorial

  • @CatHead132
    @CatHead132 3 месяца назад

    You should make the quality better for zooming

    • @avocadopeanut
      @avocadopeanut  3 месяца назад

      What do you mean?

    • @CatHead132
      @CatHead132 3 месяца назад

      @@avocadopeanut when you zoom the video looses quality

    • @avocadopeanut
      @avocadopeanut  3 месяца назад

      @@CatHead132 I see. I'll consider increasing my recording resolution!

  • @shinobi5237
    @shinobi5237 2 месяца назад

    Hey! Thanks for the tutorial, but I got a problem! When I launch my game, the bars moves at the bottom of the screen, then starts blinking and finally, they disappears for some reason :( Any ideas on how can I debug that?

    • @shinobi5237
      @shinobi5237 2 месяца назад

      Nevermind! I got confused because of the "bar" and "Bar" variables XD but now it works! Huge thanks!

  • @skillzingames6051
    @skillzingames6051 5 месяцев назад +5

    Audio spectrum? I prefer the Autism Spectrum B)

  • @CreySound
    @CreySound 4 месяца назад

    your final code does not work so i used the previous code that you were doing that works and made a few changes and it really works well! thank you!!!

    • @avocadopeanut
      @avocadopeanut  3 месяца назад

      Did you use the wrong bar variable? `Bar` is the template which doesn't change, while `bar` is used for each clone of the template. This is just part of my coding style!
      If it's not that, it may have been that you had the wrong start/end frequency variables set. While testing, I realized that the range for frequencies was 1-512 Hz on Roblox. Having the variables over 512 Hz would just return nothing for some of the bars.

  • @Glar_car
    @Glar_car 5 месяцев назад +5

    Hey avo why do you

    • @avocadopeanut
      @avocadopeanut  5 месяцев назад +3

      Idk sometimes I just

    • @Kangdil
      @Kangdil 5 месяцев назад +1

      @@avocadopeanut I can kinda relate to that, when I

  • @ethanwozhere
    @ethanwozhere 5 месяцев назад +1

    HI AVOCADO!!!!!!!!!!!!!!!!!!!!

  • @asxtrea7442
    @asxtrea7442 5 месяцев назад +4

    This is so cool! (Aurora stinks)

  • @JustMe00212
    @JustMe00212 5 месяцев назад +2

    Avocado my beloved

  • @eterixed_
    @eterixed_ 5 месяцев назад +1

    since when the hell did avocado talk

  • @smellslikechicken6622
    @smellslikechicken6622 5 месяцев назад +2

    doo dap dunununu dap dunununu sheswa 🔥🌊🏖

  • @kale1209
    @kale1209 5 месяцев назад

    fucking hell dude this is sick

  • @kirb2423
    @kirb2423 2 месяца назад

    is there a way to get this to work on a surface gui

    • @avocadopeanut
      @avocadopeanut  2 месяца назад

      Yes! You'll have to convert the ScreenGui to a SurfaceGui, while keeping it parented under StarterGui. You can then set the Adornee property to the part you want to attach the SurfaceGui.

    • @kirb2423
      @kirb2423 Месяц назад

      @@avocadopeanut thanks, also sorry for not responding for a month

  • @4bx9
    @4bx9 5 месяцев назад

    now how do u make it do bars around a player with a boombox instead

    • @avocadopeanut
      @avocadopeanut  5 месяцев назад

      That's a bit more complicated to organize. The idea is the same, but it requires creating a part and SurfaceGui for each audio bar. I don't think I'll make another tutorial for the audio visualizer, but I'll try to get back to you on this.

    • @4bx9
      @4bx9 5 месяцев назад

      @@avocadopeanut why do u need a surface gui for it? if its just bars moving to playbackloudness

    • @4bx9
      @4bx9 5 месяцев назад

      @@avocadopeanut what if theres no audio bars and just sumthing like
      local boom = script.Parent.Handle
      local sound = script.Parent.Handle.Sound.playbackloudness
      --insert cool function that makes boombox wider to sound playbackloudness
      or sum like that

    • @avocadopeanut
      @avocadopeanut  5 месяцев назад

      @@4bx9 Well, that's not an audio visualizer like the video shows.

  • @Koniak3
    @Koniak3 Месяц назад

    doesnt work fo rme

  • @AuroraProgen
    @AuroraProgen 5 месяцев назад +2

    RAAAAAAAAH

  • @Amss0
    @Amss0 5 месяцев назад +2

    GRAHHHHHH

  • @PurplemanReal1
    @PurplemanReal1 5 месяцев назад +1

    purple

  • @dev.null_
    @dev.null_ Месяц назад

    this is broken af

  • @metro.monkey
    @metro.monkey 5 месяцев назад

    w