Ik ben aan het prutsen met Audio Hijack. Ik heb al veel voor elkaar, maar dit lukt zo niet:
uit de help:
silence monitor options n [inh. item] : Configuration for the silence monitor
properties
action (do nothing/remove/start new file/stop, r/o) : What to do when silence is detected
duration (real, r/o) : Number of seconds the sound should be below the level before the action takes effect
level (real, r/o) : The dB threshold defining what is silence
Nu probeer ik het zo uit te voeren, analoog met:
set recording format of theSession to {encoding:MP3, bit rate:192, sample rate:44.1, channels:Stereo, style:CBR}
set silence monitor options of theSession to {action:stop, duration:35, options:-30}
dan krijg ik een error dat silence monitor options of session id X niet in type reference worden omgezet.
Dus het volgende geprobeerd
set action of silence monitor options to stop
set duration of silence monitor options to 35
set options of silence monitor options to -30
Vervolgens deze error:
<<class pAtn>> of <<class SIMC>> kan niet worden ingesteld op <<constant SMThSMsp>>
Ik heb het idee dat ik in de buurt ben, maar het houdt daar snel op.
uit de help:
silence monitor options n [inh. item] : Configuration for the silence monitor
properties
action (do nothing/remove/start new file/stop, r/o) : What to do when silence is detected
duration (real, r/o) : Number of seconds the sound should be below the level before the action takes effect
level (real, r/o) : The dB threshold defining what is silence
Nu probeer ik het zo uit te voeren, analoog met:
set recording format of theSession to {encoding:MP3, bit rate:192, sample rate:44.1, channels:Stereo, style:CBR}
set silence monitor options of theSession to {action:stop, duration:35, options:-30}
dan krijg ik een error dat silence monitor options of session id X niet in type reference worden omgezet.
Dus het volgende geprobeerd
set action of silence monitor options to stop
set duration of silence monitor options to 35
set options of silence monitor options to -30
Vervolgens deze error:
<<class pAtn>> of <<class SIMC>> kan niet worden ingesteld op <<constant SMThSMsp>>
Ik heb het idee dat ik in de buurt ben, maar het houdt daar snel op.
Cogito Ergo Credo