Loadbang to trigger "read" message (novice question)

Sep 29, 2012 at 1:19pm

Loadbang to trigger "read" message (novice question)


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~


Sep 29, 2012 at 2:16pm

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


Sep 29, 2012 at 3:04pm

And another possible solution could be the trigger object.

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"]

Sep 29, 2012 at 11:06pm




You must be logged in to reply to this topic.