Post

Replies

Boosts

Views

Activity

Reply to temporary exception audio unit host entitlement and the App Store
Yes I get following with transporter. Validation failed (409) Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on macOS. Specifically, key 'temporary-exception.audio-unit-host' in 'com.gsequencer.GSequencer.pkg/Payload/com.gsequencer.GSequencer.app/Contents/MacOS/com.gsequencer.GSequencer' is not supported. (ID: ****)
6h
Reply to Embedding a command-line tool to Application
In TestFlight permissions look like following: com.gsequencer.GSequencer.app/Contents/MacOS/com.gsequencer.GSequencer com.apple.security.device.microphone: true com.apple.application-identifier: ****.com.gsequencer.GSequencer com.apple.security.device.audio-input: true com.apple.security.network.server: true com.apple.security.assets.music.read-write: true com.apple.security.files.bookmarks.document-scope: true com.apple.developer.team-identifier: **** com.apple.security.temporary-exception.mach-lookup.global-name: ( "com.apple.midiserver", "com.apple.midiserver.io" ) com.apple.security.inherit: true com.apple.security.app-sandbox: true com.apple.security.files.bookmarks.app-scope: true com.apple.security.files.user-selected.read-write: true com.gsequencer.GSequencer.app/Contents/MacOS/AudioUnitTest com.apple.security.device.microphone: true com.apple.application-identifier: ****.com.gsequencer.GSequencer com.apple.security.device.audio-input: true com.apple.security.network.server: true com.apple.security.assets.music.read-write: true com.apple.security.files.bookmarks.document-scope: true com.apple.developer.team-identifier: **** com.apple.security.temporary-exception.mach-lookup.global-name: ( "com.apple.midiserver", "com.apple.midiserver.io" ) com.apple.security.inherit: true com.apple.security.app-sandbox: true com.apple.security.files.bookmarks.app-scope: true com.apple.security.files.user-selected.read-write: true But why can't I use it in TestFlight?
3d
Reply to Embedding a command-line tool to Application
Update, I removed the entitlement com.apple.security.temporary-exception.audio-unit-host. Then uploading worked, again. But now I get following error: "Cannot be used with TestFlight because the executable “${executable}” in bundle “${bundle}” is missing a provisioning profile but has an application identifier in its signature. Nested executables are expected to have provisioning profiles with application identifiers matching the identifier in the signature in order to be eligible for TestFlight." (90885)
3d
Reply to Embedding a command-line tool to Application
Might be because I have added additional entitlements? Especially "com.apple.security.temporary-exception.audio-unit-host" and "com.apple.security.inherit". I think it will bypass sandbox. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>com.apple.security.app-sandbox</key> <true/> <key>com.apple.security.inherit</key> <true/> <key>com.apple.security.assets.music.read-write</key> <true/> <key>com.apple.security.device.audio-input</key> <true/> <key>com.apple.security.device.microphone</key> <true/> <key>com.apple.security.temporary-exception.audio-unit-host</key> <true/> <key>com.apple.security.files.user-selected.read-write</key> <true/> <key>com.apple.security.files.bookmarks.document-scope</key> <true/> <key>com.apple.security.files.bookmarks.app-scope</key> <true/> <key>com.apple.security.temporary-exception.mach-lookup.global-name</key> <array> <string>com.apple.midiserver</string> <string>com.apple.midiserver.io</string> </array> <key>com.apple.security.network.server</key> <true/> ... </dict> </plist>
3d
Reply to Audio Unit v3 host v2 third party plugins
auval -a shows me following: auval -a AU Validation Tool Version: 1.10.0 Copyright 2003-2019, Apple Inc. All Rights Reserved. Specify -h (-help) for command options aufx bpas appl - Apple: AUBandpass aufx dcmp appl - Apple: AUDynamicsProcessor aufx dely appl - Apple: AUDelay aufx dist appl - Apple: AUDistortion aufx filt appl - Apple: AUFilter aufx greq appl - Apple: AUGraphicEQ aufx hpas appl - Apple: AUHipass aufx hshf appl - Apple: AUHighShelfFilter aufx lmtr appl - Apple: AUPeakLimiter aufx lpas appl - Apple: AULowpass aufx lshf appl - Apple: AULowShelfFilter aufx mcmp appl - Apple: AUMultibandCompressor aufx mrev appl - Apple: AUMatrixReverb aufx nbeq appl - Apple: AUNBandEQ aufx nsnd appl - Apple: AUNetSend aufx nutp appl - Apple: AUNewPitch aufx pmeq appl - Apple: AUParametricEQ aufx raac appl - Apple: AURoundTripAAC aufx rogr appl - Apple: AURogerBeep aufx rvb2 appl - Apple: AUReverb2 aufx sdly appl - Apple: AUSampleDelay aufx tmpt appl - Apple: AUPitch aufx vois appl - Apple: AUSoundIsolation aumf AlgV Artu - Arturia: Rev INTENSITY aumf D65A Artu - Arturia: Comp VCA-65 aumf Eter Artu - Arturia: Delay ETERNITY aumf FT76 Artu - Arturia: Comp FET-76 aumf MaFi Artu - Arturia: Filter M12 aumf MeBr Artu - Arturia: Delay BRIGADE aumf MiFi Artu - Arturia: Filter MINI aumf OSFi Artu - Arturia: Filter SEM aumf PR73 Artu - Arturia: Pre 1973 aumf ReGr Artu - Arturia: Rev SPRING-636 aumf RePl Artu - Arturia: Rev PLATE-140 aumf TELE Artu - Arturia: Pre V76 aumf TRAR Artu - Arturia: Pre TridA aumf TSTA Artu - Arturia: Comp TUBE-STA aumf Ta20 Artu - Arturia: Delay TAPE-201 aupn ambi appl - Apple: AUSoundFieldPanner aupn hrtf appl - Apple: HRTFPanner aupn sphr appl - Apple: AUSphericalHeadPanner aupn vbas appl - Apple: AUVectorPanner aumu ARP3 Artu - Arturia: ARP 2600 V3 aumu Ala2 Artu - Arturia: Analog Lab 4 aumu Alav Artu - Arturia: Analog Lab V## ExtendedFilename : 0 aumu BuEa Artu - Arturia: Buchla Easel V aumu CMIv Artu - Arturia: CMI V aumu CSV3 Artu - Arturia: CS-80 V3 aumu Clav Artu - Arturia: Clavinet V aumu CsCz Artu - Arturia: CZ V aumu Dx71 Artu - Arturia: DX7 V aumu Farf Artu - Arturia: Farfisa V aumu JUP3 Artu - Arturia: Jup-8 V3 aumu Kat1 Artu - Arturia: Pigments## ExtendedFilename : 0 aumu MIN3 Artu - Arturia: Mini V3 aumu MLTN Artu - Arturia: Mellotron V aumu MOD3 Artu - Arturia: Modular V3 aumu Mat2 Artu - Arturia: Matrix-12 V2 aumu OBS2 Artu - Arturia: SEM V2 aumu PRO3 Artu - Arturia: Prophet V3 aumu Pia2 Artu - Arturia: Piano V2 aumu SNTH Artu - Arturia: Synthi V aumu Sol2 Artu - Arturia: Solina V2 aumu Stag Artu - Arturia: Stage-73 V aumu Sycl Artu - Arturia: Synclavier V## DebugAllFlag : 0 aumu TnW2 Artu - Arturia: B-3 V2 aumu Vox2 Artu - Arturia: VOX Continental V2 aumu WUR2 Artu - Arturia: Wurli V2 aumu dls appl - Apple: DLSMusicDevice aumu msyn appl - Apple: AUMIDISynth aumu samp appl - Apple: AUSampler aumx 3dem appl - Apple: AUSpatialMixer aumx 3dmx appl - Apple: AUMixer3D aumx mcmx appl - Apple: AUMultiChannelMixer aumx mspl appl - Apple: AUMultiSplitter aumx mxmx appl - Apple: AUMatrixMixer aumx smxr appl - Apple: AUMixer aufc conv appl - Apple: AUConverter aufc defr appl - Apple: AUDeferredRenderer aufc ipto appl - Apple: AUNotQuiteSoSimpleTime aufc merg appl - Apple: AUMerger aufc nutp appl - Apple: AUNewTimePitch aufc splt appl - Apple: AUSplitter aufc tmpt appl - Apple: AUTimePitch aufc vari appl - Apple: AUVarispeed auou ahal appl - Apple: AudioDeviceOutput auou atap appl - Apple: AUAudioTapIO auou def appl - Apple: DefaultOutputUnit auou genr appl - Apple: GenericOutput auou rioc appl - Apple: AUAudioIO auou sys appl - Apple: SystemOutputUnit auou vpio appl - Apple: AUVoiceProcessor augn afpl appl - Apple: AUAudioFilePlayer augn nrcv appl - Apple: AUNetReceive augn sspl appl - Apple: AUScheduledSoundPlayer augn ttsp appl - Apple: AUSpeechSynthesis auol tmpt appl - Apple: AUTimePitch auol vari appl - Apple: AUVarispeed But my own audio unit host doesn't show them, only apple audio units are available.
Topic: Media Technologies SubTopic: Audio Tags:
1w
Reply to AVAudioUnit host - PCM buffer output silent
Hi, Now, I have a working Audio Unit v3 host, using these objects: AVAudioEngine *audio_engine; AVAudioOutputNode *av_output_node; AVAudioInputNode *av_input_node; AVAudioUnit *av_audio_unit; AVAudioSequencer *av_audio_sequencer; AVAudioFormat *av_format; You can make use of output and input node of AVAudioEngine while in offline rendering mode. /* output node */ av_output_node = [audio_engine outputNode]; /* input node */ av_input_node = [audio_engine inputNode]; /* mixer node */ av_audio_mixer_node = [audio_engine mainMixerNode]; /* audio player and audio unit */ [audio_engine attachNode:av_audio_unit]; [audio_engine connect:av_input_node to:av_audio_unit format:av_format]; [audio_engine connect:av_audio_unit to:av_audio_mixer_node format:av_format]; [audio_engine connect:av_audio_mixer_node to:av_output_node format:av_format]; The thing with the input node is you have to provide a block before start AVAudioEngine. input_success = [av_input_node setManualRenderingInputPCMFormat:av_format inputBlock:^(AVAudioFrameCount inNumberOfFrames){ AudioBufferList *audio_buffer_list; guint audio_channels; guint i; audio_channels = [av_format channelCount]; audio_buffer_list = (AudioBufferList *) ags_fx_audio_unit_iterate_channel_data->audio_buffer_list; /* fill av input buffer */ if(ags_fx_audio_unit_iterate_channel_data != NULL){ if(AGS_FX_AUDIO_UNIT_AUDIO_FIXED_BUFFER_SIZE <= inNumberOfFrames){ ags_audio_buffer_util_copy_buffer_to_buffer(NULL, audio_buffer_list->mBuffers[0].mData, 1, 0, ags_fx_audio_unit_iterate_channel_data->input + (ags_fx_audio_unit_iterate_sub_block * AGS_FX_AUDIO_UNIT_AUDIO_FIXED_BUFFER_SIZE), 1, 0, AGS_FX_AUDIO_UNIT_AUDIO_FIXED_BUFFER_SIZE, AGS_AUDIO_BUFFER_UTIL_COPY_FLOAT_TO_FLOAT); }else{ ags_audio_buffer_util_copy_buffer_to_buffer(NULL, audio_buffer_list->mBuffers[0].mData, 1, 0, ags_fx_audio_unit_iterate_channel_data->input + (ags_fx_audio_unit_iterate_sub_block * AGS_FX_AUDIO_UNIT_AUDIO_FIXED_BUFFER_SIZE), 1, 0, inNumberOfFrames, AGS_AUDIO_BUFFER_UTIL_COPY_FLOAT_TO_FLOAT); } } return((const AudioBufferList *) audio_buffer_list); }]; if(input_success != YES){ g_warning("set manual rendering input failed"); }
Topic: Media Technologies SubTopic: Audio Tags:
1w
Reply to AVAudioUnit host - PCM buffer output silent
Update, I was able to remove the error messages by these 3 steps: #1 don't call: [[av_audio_unit AUAudioUnit] allocateRenderResourcesAndReturnError:&ns_error]; #2 add a AVMusicTrack to AVAudioSequencer av_music_track = [av_audio_sequencer createAndAppendTrack]; av_music_track.destinationAudioUnit = av_audio_unit; #3 call the outputNode singleton of AVAudioEngine av_music_track = [av_audio_sequencer createAndAppendTrack]; av_music_track.destinationAudioUnit = av_audio_unit; ... but still no audible output.
Topic: Media Technologies SubTopic: Audio Tags:
2w