Loadbang to trigger "read" message (novice question)

Sep 29, 2012 at 1:19pm

Loadbang to trigger "read" message (novice question)

Hello,

I have a patch where I want to load multiple “buffer” objects with different audio files.
Every time I open the patch, I have to manually hit the “read” message loading the “buffer” object
and find the files manually inside of Finder on my mac. Is there a way I can trigger a “read” message with the location
of the audio files pre-programmed within the contents of the message by sending a loadbang to the message?

Here is the signal path of what I’m trying to do:

LOADBANG >>> “Read” message (with location of audio file stored inside of this message) >>> Buffer~

Thanks!

#64547
Sep 29, 2012 at 2:16pm

Hi
maybe try the [loadmess] object, if Max can ‘see’ the files (set in File Preferences) use [loadmess replace thisIsMyFile.aif]

Brendan

#232887
Sep 29, 2012 at 3:04pm

And another possible solution could be the trigger object.

#232888
Sep 29, 2012 at 3:16pm

You can also specify the path without changing the file preferences, for example..
[loadmess read "your_hard_drive_name":/"the_folder_your_sound_is_in"/"sound_to_read_into_buffer.aif"]

#232889
Sep 29, 2012 at 11:06pm

Great!

Thanks!!!

#232890

You must be logged in to reply to this topic.