Re: [MBS] [ANN] MonkeyBread Software Releases the MBS Xojo / Real Studio plug-ins in version 15.3

2015-10-02 Thread Garth Hjelte
At 04:30 PM 10/1/2015, you wrote:

>For Mac OS X 10.10 or newer, we have a couple of new audio classes for
>AVFoundation framework. This includes the AVAudioEngine class, some classes
>for various audio nodes with subclasses for audio effects. Our audio unit
>classes there allow to use any audio unit and process audio for recording
>and playback. The AVFoundation framework provide useful classes for
>reading/writing audio files. As a special plugin feature we can track
>levels for playing audio channels.

Do you know - does AVAudioUnitSamplerMBS include the loading of EXS24 files? I 
assume so, your doc says so AVAudioUnitSamplerMBS.loadInstrumentAtFile()

The wonderful thing about this - with some assumptions - EXS loads very quickly 
as it streams from disk. So you can have a huge 1GB instrument and it'll load 
in seconds and not have to put everything in memory.

A more substantial but incidental question... Most audio files don't have 
keyrange information, but your docs say they will pay attention to it if it 
exists ('INST' 'inst' chunks); otherwise does it just put it on ALL KEYS or 
just the single key as the root key determines? (Or middle C if root key 
doesn't exist?

Just if you know.

I looked at your 
/AVFoundation/AVAudioEngine/Player
 example, I don't think that includes putting in external MIDI to play the 
player (assuming that I'd hook up the Sampler instead of this simple 
single-file audio player). Does your AV stuff support that, and if so, how?

And this is Yosemite and up, correct? Doesn't work on Mavericks and below? 
(Just confirming) Doesn't the CoreAudio Sampler audio unit go back to 10.7 
though?

That being asked - excellent! Having a built-in sampler natively is great!  

Garth Hjelte
Sampler User
___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] [ANN] MonkeyBread Software Releases the MBS Xojo / Real Studio plug-ins in version 15.3

2015-10-02 Thread Christian Schmitz

>> The example does not do any MIDI.
> 
> I thought the question is worth repeating (I _know_ the example doesn't 
> include MIDI): Does and of your AV stuff support MIDI, and if so, how, and 
> can it hook up to the AVAudioEngine classes? 
> 

I implemented the audio nodes for MIDI in use with AVAudioEngine. You can try 
it.


Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] [ANN] MonkeyBread Software Releases the MBS Xojo / Real Studio plug-ins in version 15.3

2015-10-02 Thread Christian Schmitz

> 
> What AudioUnitNode would I use?

AVAudioUnitSamplerMBS, I think.

> The docs are confusing in this regard, I assume you haven't updated them yet? 
> Theres AVAudioUnitMIDIInstrumentMBS but that's not associated with 
> AVAudioUnitSamplerMBS. I saw the AudioNodes:

Sorry. You just found a bug. AVAudioUnitSamplerMBS must be subclass of 
AVAudioUnitMIDIInstrumentMBS. I'll correct that.

> 
> On the positive side, all this looks really laid out and matches a lot of 
> what I've learned about CoreAudio (which is now AV). Cool! 

:-)

I also can add lower level methods if needed.

Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] [ANN] MonkeyBread Software Releases the MBS Xojo / Real Studio plug-ins in version 15.3

2015-10-02 Thread Garth Hjelte
At 09:56 AM 10/2/2015, you wrote:

>>I looked at your 
>>/AVFoundation/AVAudioEngine/Player
>> example, I don't think that includes putting in external MIDI to play the 
>>player (assuming that I'd hook up the Sampler instead of this simple 
>>single-file audio player). Does your AV stuff support that, and if so, how?

>The example does not do any MIDI.

I thought the question is worth repeating (I _know_ the example doesn't include 
MIDI): Does and of your AV stuff support MIDI, and if so, how, and can it hook 
up to the AVAudioEngine classes? 

Garth Hjelte
Sampler User

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] [ANN] MonkeyBread Software Releases the MBS Xojo / Real Studio plug-ins in version 15.3

2015-10-02 Thread Garth Hjelte
At 10:07 AM 10/2/2015, you wrote:

>>> The example does not do any MIDI.
>> I thought the question is worth repeating (I _know_ the example doesn't 
>> include MIDI): Does and of your AV stuff support MIDI, and if so, how, and 
>> can it hook up to the AVAudioEngine classes? 
>
>I implemented the audio nodes for MIDI in use with AVAudioEngine. You can try 
>it.

OK, thanks. I have just a little time this morning and it's all gone =( but I 
was researching for the future, as this is something I'd really like to use. 
(And I need to update my license.) 

What AudioUnitNode would I use? The docs are confusing in this regard, I assume 
you haven't updated them yet? Theres AVAudioUnitMIDIInstrumentMBS but that's 
not associated with AVAudioUnitSamplerMBS. I saw the AudioNodes:

http://www.monkeybread.net/class-avaudionodembs.shtml

But everything speaks of Audio, not MIDI.

I do already have my own MIDI-system but I was hoping that the AVMBS stuff 
would have it within itself so I don't have to have Xojo do it.

On the positive side, all this looks really laid out and matches a lot of what 
I've learned about CoreAudio (which is now AV). Cool! 

Garth Hjelte
Sampler User

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] [ANN] MonkeyBread Software Releases the MBS Xojo / Real Studio plug-ins in version 15.3

2015-10-02 Thread Christian Schmitz

> Do you know - does AVAudioUnitSamplerMBS include the loading of EXS24 files?

Sorry, no idea. Plugin wraps AVFoundation function and provides the 
functionality.

> 
> I looked at your 
> /AVFoundation/AVAudioEngine/Player
>  example, I don't think that includes putting in external MIDI to play the 
> player (assuming that I'd hook up the Sampler instead of this simple 
> single-file audio player). Does your AV stuff support that, and if so, how?

The example does not do any MIDI.

> And this is Yosemite and up, correct?

OS X 10.10 and newer

> Doesn't the CoreAudio Sampler audio unit go back to 10.7 though?

Other classes work on older systems.
Depends on underlaying API.

Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] [ANN] MonkeyBread Software Releases the MBS Xojo / Real Studio plug-ins in version 15.3

2015-10-02 Thread Christian Schmitz

> OK, so I get playing the thing (all the send- start- things) but what about 
> it handling external MIDI inside the plug instead of me interpreting incoming 
> MIDI separately and passing to this? I'm envisioning a AuioUnitMIDIMBS node 
> and putting it first in the graph, sending MIDI to the sampler Node. But 
> perhaps this is outside AVFoundation? 

as far as I see the way would be to send midi notes to AVAudioUnitSamplerMBS 
and have it generate the tone which goes through audio engine to speakers.

Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] CPU use on OS X and Windows

2015-10-02 Thread Michael Diehr
On Sep 22, 2015, at 9:17 AM, Christian Schmitz  
wrote:
> 
> 
>> Am 22.09.2015 um 17:36 schrieb Michael Diehr :
>> 
>>> I think DarwinResourceUsageMBS is for your app.
>> 
>> Hmm - testing the "Darwin Resource Usage" sample project however, I get "0" 
>> for System Time used and UserTimeUsed, which doesn't seem very useful for 
>> calculating real-time CPU usage.   Correction, after a while UserTimeUsed 
>> rises to 1 and then 2, but it takes about a minute.  Should these perhaps be 
>> doubles rather than integers?
> 
> Yes. Let me fix.

Confirmed fixed in 15.3 release, thank you.
___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info