Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography


Featured Threads
  inspiration alert!!!
(36 replies)
  Indespensible MaxScripts, Plugins and 3rd Party Tools
(37 replies)
  The allmighty FREE Resources Thread !
(17 replies)
  spam alert!!!
(4886 replies)
  Maxforums member photo gallery index
(114 replies)
  Maxforums Member Tutorials
(89 replies)
  three cheers to maxforums...
(240 replies)
  101 Things you didnt know in Max...
(198 replies)
  A Face tutorial from MDB101 :D
(95 replies)
  Maxforums.org Members Gallery
(516 replies)
  SON OF POST YOURSELF
(637 replies)
  Dub's Maxscript Tutorial Index
(119 replies)

Maxunderground news unavailable

Maxscript Sound Access
show user profile  ccampbell
Anybody know how to access the wave form information from a sound file in max? Unrelated to my previous post about lenses.

Ive looked over Pro Sound and the default sound stuff in the max script help files but they seem to just be ways of access/importing adjusting sound files such as length and volume, not actually accessing the wave form information though I should note I don't really know what I'm looking for here.

Ideally I would like to animate vertex height of a plane object based on wave form information provided from an audio file.

edit: p.s. I tried using an audio float controller but not sure how to access the controller properties via max script which i think might be the way of getting wave form data but don't really know.




$Entrepreneur = if((Designer + Engineer)*Programmer){Problem Solver};



read 999 times
7/30/2012 10:13:41 PM (last edit: 7/30/2012 10:15:22 PM)
show user profile  Nik Clark
I don't know if this will help, but it might give you some ideas. By our own Danny Max:

http://www.scriptspot.com/3ds-max/scripts/fftmax




read 991 times
7/30/2012 10:16:47 PM (last edit: 7/30/2012 10:16:47 PM)
show user profile  gogodr
This can be of help ;3


Hello there

beautiful ;3


read 990 times
7/30/2012 10:17:28 PM (last edit: 7/30/2012 10:17:28 PM)
show user profile  ccampbell
Thanks guys,

@ gogodr: thats the same method I used for animating a noise modifier on my planer object but I'm looking for more control. I would like to get the information so i can write my own script based on the high and low wave information.

@Nik: Cool find, I'll have a look at that now.




$Entrepreneur = if((Designer + Engineer)*Programmer){Problem Solver};



read 986 times
7/30/2012 10:24:49 PM (last edit: 7/30/2012 10:24:49 PM)
show user profile  ccampbell
@Nik: Thanks for the link but it seems that process is pretty convoluted to use and requires very specific parameters and then still I have very little control over the geometry used and the amplitude of the wave files. To add fuel to the fire - I don't know C so I cant change or use many parts of this script to suite my needs. Thanks again though!

Any other ideas? honestly I thought there would be some way to just access the wave file and get a normalized amplitude information at a given frame/time...




$Entrepreneur = if((Designer + Engineer)*Programmer){Problem Solver};



read 980 times
7/30/2012 10:35:04 PM (last edit: 7/30/2012 10:35:17 PM)
show user profile  Garp
DannyMax had a script that dealt with sound (through an audio controller).
If I remember well, it was'nt encrypted. So you could figure it out by reading his code.
Problem is, I can't find it anymore. :(




read 952 times
7/31/2012 12:42:34 PM (last edit: 7/31/2012 12:42:34 PM)
show user profile  Nik Clark
Isn't that the one I linked to at the top?



read 950 times
7/31/2012 12:46:01 PM (last edit: 7/31/2012 12:46:01 PM)
show user profile  Garp
That one is encoded, Nik. But you're probably right. It was a long time ago and must be mixing things.




read 943 times
7/31/2012 1:56:17 PM (last edit: 7/31/2012 1:56:17 PM)
show user profile  Nik Clark
Yeah, my memory is kind of fuzzy too.




read 937 times
7/31/2012 2:18:45 PM (last edit: 7/31/2012 2:18:45 PM)
show user profile  Garp
What was Alzheimer’s first name again?




read 920 times
7/31/2012 4:25:55 PM (last edit: 7/31/2012 4:25:55 PM)
show user profile  Nik Clark
Yeah, my memory is kind of fuzzy too.





read 917 times
7/31/2012 4:27:43 PM (last edit: 7/31/2012 4:27:43 PM)
show user profile  DannyMax
Garp that script is not encrypted but is uses a small dos program to do the FFT (forget trying FFT in maxscript as it would take far to long to process) and then outputs the each bin data to a text file along with the frame number so you can sync it up in max




read 906 times
7/31/2012 8:01:52 PM (last edit: 7/31/2012 8:04:17 PM)
show user profile  ccampbell
Thanks alot guys I think I just need to have a better look at dannymaxes script. Im at the hospital now for a broken toe :/ but I'll give it another try when I get back to the house. Stupid toes!




$Entrepreneur = if((Designer + Engineer)*Programmer){Problem Solver};



read 903 times
7/31/2012 8:10:15 PM (last edit: 7/31/2012 8:10:15 PM)
show user profile  Garp
My bad, Danny. It's the MIDIMAX one that's .mse.
There are days like that I shouldn't post. Or speak. Or get out of bed..




read 894 times
7/31/2012 9:04:51 PM (last edit: 7/31/2012 9:04:51 PM)
#Maxforums IRC
Open chat window


Support Maxforums.org