• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to retrieve the internal name of a DLS/SF2 file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to retrieve the internal name of a DLS/SF2 file?


  • Subject: Re: How to retrieve the internal name of a DLS/SF2 file?
  • From: Rolf Nilsson <email@hidden>
  • Date: Wed, 8 Jan 2003 15:55:00 +0100

Thanks

Works fine.

Another thing:

After I have loaded a new soundfile with:

AudioUnitSetProperty(
synthUnit,
kMusicDeviceProperty_SoundBankFSSpec, kAudioUnitScope_Global,
0,
pFSSpec, sizeof (FSSpec)
);

how do I get back the default QuickTime synth?

I tried to load the "gs_instruments.dls" file in

/System/Library/Components/CoreAudio.component/Contents/Resources/

which works but I guess there must be an easier way to do it?


Thanks
Rolf Nilsson/Roni Music



>
> Message: 4
> Date: Tue, 7 Jan 2003 11:12:52 -0800
> To: Rolf Nilsson <email@hidden>, email@hidden
> From: Chris Rogers <email@hidden>
> Subject: Re: How to retrieve the internal name of a DLS/SF2 file?
>
> Hi Rolf,
>
> Try:
>
> // this will return the name of a sound bank from a sound bank file
> extern OSStatus GetNameFromSoundBank(const FSRef *inSoundBankRef,
> CFStringRef *outName);
>
>
> defined in AudioToolbox.h
>
> Chris Rogers
> Core Audio
> Apple Computer
>
>
>
> >Hi,
> >
> >I'd like to show the user the real name of a DLS/SF2 file instead of
> >the file name
> >
> >
> >
> >How to retrieve internal name of a DLS/SF2 file?
> >
> >
> >Thanks
> >Rolf Nilsson / Roni Music
> >_______________________________________________
> >coreaudio-api mailing list | email@hidden
> >Help/Unsubscribe/Archives:
> >http://www.lists.apple.com/mailman/listinfo/coreaudio-api
> >Do not post admin requests to the list. They will be ignored.
>
> --__--__--
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: How to retrieve the internal name of a DLS/SF2 file?
      • From: Chris Rogers <email@hidden>
  • Prev by Date: What happened to factory presets?
  • Next by Date: Re: What happened to factory presets?
  • Previous by thread: Re: How to retrieve the internal name of a DLS/SF2 file?
  • Next by thread: Re: How to retrieve the internal name of a DLS/SF2 file?
  • Index(es):
    • Date
    • Thread