Forums > MaxMSP

A multichannel soundfile and midi player, for use live – midi question!

December 7, 2008 | 3:06 pm

Hi all, a quick question here:

I’m thinking of using max to play some pre-recorded stuff (orchestral and samples) for my band when we play live, I also intend it to play a click track for us to keep in time.

I think I have the audio sampling part done… I’m just using 2 [sfplay~ 2] objects, one for the actual musical backing, and one for the click track (both are .wav files, that start at the same time, so all the sync with click and backing should be ok, right?)

Im sending the output from the sfplay~’s to 2 dac~’s, one for just the backing [dac~ 1 2] and one for the backing and click for our monitoring [dac~ 3 4]. My interface is a motu 828mkii by the way.

The play section is just controlled by a load of bangs, which change the wav files read into the sfplay~’s when theyre pressed, so that all seems cool. I also put in a transport object to read a corresponding tempo value for the currently selected track, and when you start playback, the transport begins playing (in time).

My problem is in the next part of the development of this patch: I play guitar, I used to use cubase to send MIDI data to fx processing units etc to change my guitar tone for different sections of the songs.. e.g. turning on a delay effect when there is a guitar solo. This was handled by MIDI that I recorded into cubase previous to the gigs, and then cleaned up the timing for it with cubase’s midi editor to get stuff like volume swells in perfect timing, etc.

I looked into ways to do this MIDI playback in max, i’m kinda stumped. I think maybe that [seq] will be a good object to use, but im not so sure how to get the MIDI recorded in how I want (some of the volume changes happen extremely fast, like a step sequenced tremolo effect almost). Could anybody suggest the best way to do this? I’m thinking it seems kinda obvious to export the MIDI file I was using from cubase and read it in with the [seq]. I think I had some problems with cubase truncating the length of the MIDI file though, where there is no information (say my first change on the MIDI file is 1 min into the song.. it was cutting it up to start at that event – *groan*).

Is it possible to use max somehow to easily edit or view the MIDI CC stuff im changing? Some form of automation for it, or best off reading from the MIDI file? Sorry the question is kinda vague.


December 8, 2008 | 4:30 am

i think you’re totally on the right track… check out seq~, check out
meter, check out the coll object, check out the line object… there is no
quick and easy way You have to build you’re own automater. Alot of max is
deciding what you want to do. There might be a different way to do what you
want to do in max rather than trying to do what you already do in Cubase?
You should be able to create the ‘missing minute’ at the beginning of your
midi track fairly easy if you want to stick with that.

cheers,

carey

On Sun, Dec 7, 2008 at 4:06 PM, chris

wrote:

>
> Hi all, a quick question here:
>
> I’m thinking of using max to play some pre-recorded stuff (orchestral and
> samples) for my band when we play live, I also intend it to play a click
> track for us to keep in time.
>
> I think I have the audio sampling part done… I’m just using 2 [sfplay~ 2]
> objects, one for the actual musical backing, and one for the click track
> (both are .wav files, that start at the same time, so all the sync with
> click and backing should be ok, right?)
>
> Im sending the output from the sfplay~’s to 2 dac~’s, one for just the
> backing [dac~ 1 2] and one for the backing and click for our monitoring
> [dac~ 3 4]. My interface is a motu 828mkii by the way.
>
> The play section is just controlled by a load of bangs, which change the
> wav files read into the sfplay~’s when theyre pressed, so that all seems
> cool. I also put in a transport object to read a corresponding tempo value
> for the currently selected track, and when you start playback, the transport
> begins playing (in time).
>
> My problem is in the next part of the development of this patch: I play
> guitar, I used to use cubase to send MIDI data to fx processing units etc to
> change my guitar tone for different sections of the songs.. e.g. turning on
> a delay effect when there is a guitar solo. This was handled by MIDI that I
> recorded into cubase previous to the gigs, and then cleaned up the timing
> for it with cubase’s midi editor to get stuff like volume swells in perfect
> timing, etc.
>
> I looked into ways to do this MIDI playback in max, i’m kinda stumped. I
> think maybe that [seq] will be a good object to use, but im not so sure how
> to get the MIDI recorded in how I want (some of the volume changes happen
> extremely fast, like a step sequenced tremolo effect almost). Could anybody
> suggest the best way to do this? I’m thinking it seems kinda obvious to
> export the MIDI file I was using from cubase and read it in with the [seq].
> I think I had some problems with cubase truncating the length of the MIDI
> file though, where there is no information (say my first change on the MIDI
> file is 1 min into the song.. it was cutting it up to start at that event -
> *groan*).
>
> Is it possible to use max somehow to easily edit or view the MIDI CC stuff
> im changing? Some form of automation for it, or best off reading from the
> MIDI file? Sorry the question is kinda vague.
>



Zh
December 8, 2008 | 5:39 am

hey
for the first question – why are you using max for something like that? you can do multi-channel output from most things, probably including cubase… ableton live would be the easiest port of call as you can so easily drop new sounds in and trigger them to be automatically in sync…
[but hey, not to pick holes, just trying to save you some programming work - but it seems like you've solved it anyway.]

2nd problem – you can send midi between programs using rewire [or searching the internet for something else...] so that way you could just press play in cubase and have the midi sent over to max, to do whatever you want with – then your click track and your samples could just come from cubase too …

what are you actually doing with the midi data in max? if you’re just playing it back to send to external devices, it might be easier not to use max…


Viewing 3 posts - 1 through 3 (of 3 total)