I am trying to figure out howto implement a sampleplayback thing that should work inside my sequenser.
Of course one would not want it to interfere with other midi playup on the 16 channels.
So what is the usual way these are implemented, do they get their own ports for playup and recording?
Because i still want them triggered by midi both drums and maybe also "audio track sections" in a far far future.
Having them on separate ports seem a bit hard for me to handle with the playup right now.
Is there any unused statusbytes one could hog for the purpose. of triggering softsynths
As I understand, this is nothing to do with MIDI-1. This might be something that may be covered in MIDI-2.
What would happen in MIDI-1 is that you would have a separate Sampler device in your system, and this would have the samples on it, and this would be set to receive midi data on a separate channel, and your sequencer would send MIDI instruction to trigger the playing of the sample, which would use its own hardware to generate the sound from the sample data. The audio output from the sampler could well mix back with the audio output from the playing of the standard MIDI.
The sample data would NOT be travelling anywhere along the MIDI data cable (DIN or USB).
This really relates to hardware samplers - how this structure would relate to a softsynth I don't know. Is there a softsynth that can play immed samples as well?
Is this possible within your plans?
Geoff
Hello Geoft, thanks for answering.
Since my sequenser just use midi data standard and really not save anything into it, but of course use it to send events.
It is more of a communication protocol, that i basicly can extend however i want "internal in computer" i do not need to send the extended parts i implement.
In my internal "computer" protocol i could have 256 or any number of "midi?" channels that would just be another statusbyte.
And if less then 128 its not for any external midi cable or device.
So why not set MSB to a value less then 128 and redirect and assign any such "statusbyte message" 0XXXXXXX to a soft synth?
===============
Well i guess many VSTI are sampleplayer and play them directly., standalone sampleplayers do not seem so common anymore.
But for internet in browser, do not think there is any good one using webaudio that can be triggered using midi from synth/controller and that i want to make.
I found attempt at soundfonts players for web, but they really do not sound good.
I have started programming a sampleplayer that could be triggered from character keyboard, mouse or music keyboard, at first it will just trigger drumsamples,
To make drumtracks.
Later i want to trigger "clips of audio into tracks" to make multitrack audio,
In the end maybe start doing some Nyqvist resampling and filters to create something that act like a wavetable synth in browser..
Just forgot to mention of course the sample player will be possible to trigger from the sequenser, using either by assigning it some out of range midiport like 17 or by assigning its own port.
I must say i am a bit surprised there is so many gifted people making synth and sampler API, but there is really no worthwhile projects coming out of them.
Well WAM seem to be an exception, but they must been bought up because there is no API awailable.