There is Audio:DSP for sound. And if you have a c application that takes commands on STDIN and simulates gamepad output, (like a keystroke interface simulator for the gamepad) you could run it thru Perl's IPC.

Is the Audio:DSP module an official or an honored-by-most module like Perl/TK? I am trying to avoid using CPAN modules as much as possible other than those taken as semi-official modules by the community like Perl/TK, Perl-to-SDL binding, etc...

For inputs, are you saying to get a C app or to creat one which takes gamepad inputs as STDINs to it and translate/pass to the perl script via a pipe or socket?

Hmm...
Whether having that kind of 'C' skill being one side of the problem, it sounds like to me that it would be very difficult to achieve cross-platform-ablility among systems... Would not I need all different C apps for each system: Win32, Win64, Linux, Mac...?

Sorry about being a bit rejective, though. No dis-respect intended:)


In reply to Re^4: sound and gamepad support in Perl? by AGhoulDoingPerl
in thread sound and gamepad support in Perl? by AGhoulDoingPerl

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.