Re:Chief executives cannot shut up about AI
by ldhough on Thursday June 01, 2023 @10:44PM
(#36160234)
Googling "audio visualizer SwiftUI" gives me these as the first, fourth, and seventh results:
https://medium.com/swlh/swiftui-create-a-sound-visualizer-ca... https://audiokitpro.com/audiovisualizertutorial/ https://developer.apple.com/documentation/accelerate/visuali...
I do tend to reach for GPT4 before Google for things like this now, but I feel like it should definitely be possible to get this up in only slightly longer with just Google, even if you want some mods.
Re:Chief executives cannot shut up about AI
by williamcotton on Friday June 02, 2023 @07:08AM
(#36163612)
But I wasn’t interested in someone else’s audio visualizer, I was interested in a specific approach using pitch detection and primitive line drawings, not displaying an FFT as a bar graph. Sure, I could have synthesized a few different search engine responses but it would have taken a lot more work and I would have run into issues that slowed me down to the point where I had to get back to my other duties as the father of 2 and 4 year olds who were home for the week!
This morning I decided I wanted to write a simple audio visualizer for my iPhone using SwiftUI, a language and framework I have never used. Within an hour I had through the direction of ChatGPT-4 an app running on my phone using a 3rd party library called AudioKit and drawing some fractal looking thingies, as well as a pretty decent understanding of how it all worked because I asked for detailed explanations of every line of code.
I’m not sure that I could have had this little app up and working in a single day let alone an hour if I only had a search engine at my disposal.