<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: send_sound in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/send-sound/m-p/5199880#M653897</link>
    <description>&lt;!--!*#--&gt;Around here, I don't seem to have an obvious&lt;BR /&gt;"Audio Control Panel", but in the CDE File&lt;BR /&gt;Manager, I can double-click on a ".wav" file,&lt;BR /&gt;and get a signal at the Line Out hole on the&lt;BR /&gt;back of my C3700.  If I RSH from a different&lt;BR /&gt;system, and try something simple, I can get a&lt;BR /&gt;(similar but different) failure:&lt;BR /&gt;&lt;BR /&gt;dy # time /opt/audio/bin/send_sound -wav knowall.wav&lt;BR /&gt;Unable to open audio server, AOpenAudio returns NULL, status: 18, Exiting...&lt;BR /&gt;&lt;BR /&gt;real    0m36.028s  [Long time -&amp;gt; no sound.]&lt;BR /&gt;user    0m0.020s&lt;BR /&gt;sys     0m0.010s&lt;BR /&gt;&lt;BR /&gt;However, adding a "-server" option seems to&lt;BR /&gt;help:&lt;BR /&gt;&lt;BR /&gt;dy # time /opt/audio/bin/send_sound -wav -server dy knowall.wav&lt;BR /&gt;&lt;BR /&gt;real    0m0.967s  [Short time -&amp;gt; sound ok.]&lt;BR /&gt;user    0m0.030s&lt;BR /&gt;sys     0m0.020s&lt;BR /&gt;&lt;BR /&gt;Knowing where you are seems to be&lt;BR /&gt;unimportant, too:&lt;BR /&gt;&lt;BR /&gt;dy # time /opt/audio/bin/send_sound -wav -server localhost knowall.wav&lt;BR /&gt;&lt;BR /&gt;real    0m0.960s&lt;BR /&gt;user    0m0.030s&lt;BR /&gt;sys     0m0.020s&lt;BR /&gt;&lt;BR /&gt;Unsetting DISPLAY also seems to work.  As&lt;BR /&gt;above:&lt;BR /&gt;&lt;BR /&gt;dy # echo $DISPLAY&lt;BR /&gt;alp-l.antinode.info:0.0&lt;BR /&gt;dy # time /opt/audio/bin/send_sound -wav knowall.wav&lt;BR /&gt;Unable to open audio server, AOpenAudio returns NULL, status: 18, Exiting...&lt;BR /&gt;&lt;BR /&gt;real    0m36.028s&lt;BR /&gt;user    0m0.030s&lt;BR /&gt;sys     0m0.020s&lt;BR /&gt;&lt;BR /&gt;But:&lt;BR /&gt;&lt;BR /&gt;dy # unset DISPLAY&lt;BR /&gt;dy # echo $DISPLAY&lt;BR /&gt;&lt;BR /&gt;dy # time /opt/audio/bin/send_sound -wav knowall.wav&lt;BR /&gt;&lt;BR /&gt;real    0m1.091s&lt;BR /&gt;user    0m0.030s&lt;BR /&gt;sys     0m0.020s&lt;BR /&gt;&lt;BR /&gt;I haven't tried "cron" (or a non-root user),&lt;BR /&gt;but what could go wrong?</description>
    <pubDate>Mon, 21 Sep 2009 21:41:35 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2009-09-21T21:41:35Z</dc:date>
    <item>
      <title>send_sound</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/send-sound/m-p/5199876#M653893</link>
      <description>HP-UX 11.11, running on a C3600.&lt;BR /&gt;&lt;BR /&gt;I've got a curious problem, I'm trying to have this server in our data room play a sound, it does work from the console, but not from cron or remotely. I've been through the man pages without any success.. &lt;BR /&gt;&lt;BR /&gt;The command: &lt;BR /&gt;/opt/audio/bin/send_sound /opt/clok/hour.au -au&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The error message generated:&lt;BR /&gt;Unable to open audio server. AOpenAudio returns NULL. status: 5. Exiting...</description>
      <pubDate>Mon, 21 Sep 2009 14:24:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/send-sound/m-p/5199876#M653893</guid>
      <dc:creator>Jeff Stevko</dc:creator>
      <dc:date>2009-09-21T14:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: send_sound</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/send-sound/m-p/5199877#M653894</link>
      <description>&lt;!--!*#--&gt;Never having tried to use the audio on my&lt;BR /&gt;C3700, I know nothing, but ...&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] I've been through the man pages [...]&lt;BR /&gt;&lt;BR /&gt;All of them?&lt;BR /&gt;&lt;BR /&gt;Around here, "man send_sound" does lead to&lt;BR /&gt;"man asecure":&lt;BR /&gt;&lt;BR /&gt;[...]&lt;BR /&gt;DESCRIPTION&lt;BR /&gt;&lt;BR /&gt;On Series 700 workstations, audio is secured so that only the user on the local workstation can&lt;BR /&gt;access audio. You use the asecure command to modify audio security. This command does not&lt;BR /&gt;apply to X stations; on an X station, access to audio is unrestricted.&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;which is, at least, suggestive.&lt;BR /&gt;&lt;BR /&gt;What does this say on your system?:&lt;BR /&gt;&lt;BR /&gt;/opt/audio/bin/asecure -l</description>
      <pubDate>Mon, 21 Sep 2009 15:11:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/send-sound/m-p/5199877#M653894</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-09-21T15:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: send_sound</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/send-sound/m-p/5199878#M653895</link>
      <description>BTDT, ran the asecure comands, no help... also been thru the aserver man pages. (It IS running) and the audio. (I had to configure the output to the jacks in the back, which did work...) Nothing is showing up in the syslog either...</description>
      <pubDate>Mon, 21 Sep 2009 20:13:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/send-sound/m-p/5199878#M653895</guid>
      <dc:creator>Jeff Stevko</dc:creator>
      <dc:date>2009-09-21T20:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: send_sound</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/send-sound/m-p/5199879#M653896</link>
      <description># /opt/audio/bin/asecure -l&lt;BR /&gt;Access control disabled, any client can connect to Aserver from any host.&lt;BR /&gt;Priviledged user: root&lt;BR /&gt;host = localhost; user = ALL USERS</description>
      <pubDate>Mon, 21 Sep 2009 20:17:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/send-sound/m-p/5199879#M653896</guid>
      <dc:creator>Jeff Stevko</dc:creator>
      <dc:date>2009-09-21T20:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: send_sound</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/send-sound/m-p/5199880#M653897</link>
      <description>&lt;!--!*#--&gt;Around here, I don't seem to have an obvious&lt;BR /&gt;"Audio Control Panel", but in the CDE File&lt;BR /&gt;Manager, I can double-click on a ".wav" file,&lt;BR /&gt;and get a signal at the Line Out hole on the&lt;BR /&gt;back of my C3700.  If I RSH from a different&lt;BR /&gt;system, and try something simple, I can get a&lt;BR /&gt;(similar but different) failure:&lt;BR /&gt;&lt;BR /&gt;dy # time /opt/audio/bin/send_sound -wav knowall.wav&lt;BR /&gt;Unable to open audio server, AOpenAudio returns NULL, status: 18, Exiting...&lt;BR /&gt;&lt;BR /&gt;real    0m36.028s  [Long time -&amp;gt; no sound.]&lt;BR /&gt;user    0m0.020s&lt;BR /&gt;sys     0m0.010s&lt;BR /&gt;&lt;BR /&gt;However, adding a "-server" option seems to&lt;BR /&gt;help:&lt;BR /&gt;&lt;BR /&gt;dy # time /opt/audio/bin/send_sound -wav -server dy knowall.wav&lt;BR /&gt;&lt;BR /&gt;real    0m0.967s  [Short time -&amp;gt; sound ok.]&lt;BR /&gt;user    0m0.030s&lt;BR /&gt;sys     0m0.020s&lt;BR /&gt;&lt;BR /&gt;Knowing where you are seems to be&lt;BR /&gt;unimportant, too:&lt;BR /&gt;&lt;BR /&gt;dy # time /opt/audio/bin/send_sound -wav -server localhost knowall.wav&lt;BR /&gt;&lt;BR /&gt;real    0m0.960s&lt;BR /&gt;user    0m0.030s&lt;BR /&gt;sys     0m0.020s&lt;BR /&gt;&lt;BR /&gt;Unsetting DISPLAY also seems to work.  As&lt;BR /&gt;above:&lt;BR /&gt;&lt;BR /&gt;dy # echo $DISPLAY&lt;BR /&gt;alp-l.antinode.info:0.0&lt;BR /&gt;dy # time /opt/audio/bin/send_sound -wav knowall.wav&lt;BR /&gt;Unable to open audio server, AOpenAudio returns NULL, status: 18, Exiting...&lt;BR /&gt;&lt;BR /&gt;real    0m36.028s&lt;BR /&gt;user    0m0.030s&lt;BR /&gt;sys     0m0.020s&lt;BR /&gt;&lt;BR /&gt;But:&lt;BR /&gt;&lt;BR /&gt;dy # unset DISPLAY&lt;BR /&gt;dy # echo $DISPLAY&lt;BR /&gt;&lt;BR /&gt;dy # time /opt/audio/bin/send_sound -wav knowall.wav&lt;BR /&gt;&lt;BR /&gt;real    0m1.091s&lt;BR /&gt;user    0m0.030s&lt;BR /&gt;sys     0m0.020s&lt;BR /&gt;&lt;BR /&gt;I haven't tried "cron" (or a non-root user),&lt;BR /&gt;but what could go wrong?</description>
      <pubDate>Mon, 21 Sep 2009 21:41:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/send-sound/m-p/5199880#M653897</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-09-21T21:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: send_sound</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/send-sound/m-p/5199881#M653898</link>
      <description>&lt;!--!*#--&gt;&amp;gt; BTDT, [...]&lt;BR /&gt;&lt;BR /&gt;Yeah, and if I were psychic, I might've known&lt;BR /&gt;that without any evidence.</description>
      <pubDate>Mon, 21 Sep 2009 21:43:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/send-sound/m-p/5199881#M653898</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-09-21T21:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: send_sound</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/send-sound/m-p/5199882#M653899</link>
      <description>You may have something there, I ran thru a few iterations of the command (now I know a few more ways it WON'T work) and then ran:&lt;BR /&gt;/opt/audio/bin/send_sound -server snochp1w -au /opt/clok/hour.au and it didn't return an error! I'll have to go back to the core to verify it did indeed play, or wait for someone to return looking confused...&lt;BR /&gt;&lt;BR /&gt;Interesting I had to move the -au switch from after the sound file to before it...&lt;BR /&gt;&lt;BR /&gt;Film at 11!</description>
      <pubDate>Mon, 21 Sep 2009 21:54:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/send-sound/m-p/5199882#M653899</guid>
      <dc:creator>Jeff Stevko</dc:creator>
      <dc:date>2009-09-21T21:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: send_sound</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/send-sound/m-p/5199883#M653900</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Interesting I had to move the -au switch&lt;BR /&gt;&amp;gt; from after the sound file to before it...&lt;BR /&gt;&lt;BR /&gt;According to:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-60127/send_sound.1.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60127/send_sound.1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;it plays a file, but you don't actually&lt;BR /&gt;specify the file name on the command line,&lt;BR /&gt;so, as a syntax guide, it seems less than&lt;BR /&gt;perfect.  Putting all the options (and their&lt;BR /&gt;arguments) ahead of the command arguments is&lt;BR /&gt;pretty common, however.&lt;BR /&gt;&lt;BR /&gt;None of this stuff explicitly refers to the&lt;BR /&gt;X display, although the asecure page does&lt;BR /&gt;casually mention X.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I'll have to go back to the core [...]&lt;BR /&gt;&lt;BR /&gt;You need a co-located workstation with audio&lt;BR /&gt;_in_.</description>
      <pubDate>Mon, 21 Sep 2009 22:58:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/send-sound/m-p/5199883#M653900</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-09-21T22:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: send_sound</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/send-sound/m-p/5199884#M653901</link>
      <description>That finally did it, the "server" addition to the comand... Thanks for the info!</description>
      <pubDate>Mon, 28 Sep 2009 18:39:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/send-sound/m-p/5199884#M653901</guid>
      <dc:creator>Jeff Stevko</dc:creator>
      <dc:date>2009-09-28T18:39:51Z</dc:date>
    </item>
  </channel>
</rss>

