Menu

#19 message-based access to the audio api

wishlist
closed-wont-fix
puredata (385)
6
2008-01-01
2005-01-03
No

attached is a patch that simplifies message-based
access to the audio api:

pd understands the following messages:
audio-samplerate
audio-delay
audio-dacblocksize
audio-scheduler
audio-device
audio-device-in
audio-device-out

audio-dacblocksize and audio-scheduler require devel_0_38

Discussion

  • Tim Blechmann

    Tim Blechmann - 2005-01-03

    patch for devel_0_38 versions (needs trivial changes for pd-0.38.0)

     
  • Miller Puckette

    Miller Puckette - 2005-05-18

    Logged In: YES
    user_id=313747

    I'm scared of this one... how important is it to have all the
    different audio parameters handled by separate messages? I
    think the "audio_dialog" message should suffice for setting
    audio parameters...

     
  • Hans-Christoph Steiner

    • milestone: --> wishlist
    • assigned_to: nobody --> millerpuckette
    • priority: 5 --> 6
     
  • Hans-Christoph Steiner

    Logged In: YES
    user_id=27104

    I am liking the idea of sending messages to pd to get all of
    this kind of information more and more. I am thinking that
    a generic "get" message would be useful here. Like this:

    [;pd get audio-samplerate(
    [;pd get audio-delay(
    [;pd get audio-dacblocksize(
    [;pd get audio-scheduler(
    [;pd get audio-device(
    [;pd get audio-device-in(
    [;pd get audio-device-out(

    Then also:

    [;pd get path(
    [;pd get libs(
    [;pd get version(
    [;pd get dsp(

    Then you could get similar messages from each canvas/patch:

    [;pd-my_patch.pd get editmode(
    [;pd-my_patch.pd get vis(
    [;pd-my_patch.pd get namespace(
    [;pd-my_patch.pd get canvasname(

    You would retrieve these messages with a [receive] of the
    same name, i.e.:

    [r pd]
    |
    [route version]
    |

     
  • Hans-Christoph Steiner

    Logged In: YES
    user_id=27104

    this has been here for a long while with no activity, so I
    am setting it to Pending. It'll be automatically set to
    closed after a while if no one tends to it.

     
  • Hans-Christoph Steiner

    • status: open --> pending
     
  • IOhannes m zmölnig

    • status: pending --> open
     
  • IOhannes m zmölnig

    Logged In: YES
    user_id=564396

    as carmen has pointed out on the list, miller had just very
    recently articulated a very similar idea.
    even though it is unlikely that he will use the patch here,
    i reopen this issue (and hopefully will close it again soon
    when an equivalent mechanism will be part of pd)

     
  • IOhannes m zmölnig

    • status: open --> pending-wont-fix
     
  • IOhannes m zmölnig

    Logged In: YES
    user_id=564396
    Originator: NO

    i guess this will never get fixed.

    and it is most likely a better idea to create an (external) object that interfaces with the the audioapi.

    e.g.

    this would set the samplerate to 48000

    [samplerate 44000(
    |
    [audioapi]

    this would query the current samplerate:

    [samplerate(
    |
    [audioapi]
    |
    [44100\

     
  • SourceForge Robot

    • status: pending-wont-fix --> closed-wont-fix
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Anonymous
Anonymous

Add attachments
Cancel