Please support our sponsors!
This service provided by BeBits: The Best Source of BeOS Software!
OpenBeOS.MediaKit.Activities.RecordOrPlayFromSoundCard
In this activity, the user uses some input on the sound card to record or play audio. The sound will be played through the speaker. It will also be saved in a file in a raw audio format, using the AIFF container.

Participating nodes

  • I : emu10k In (Sound card)
  • T : T node (Splitter node new)
  • M : System Audio Mixer
  • W : Writer node
  • O : emu10k Out (Sound card)

Connections

  • I.E11 => T.Ou1
    The sound card's first input is connected to the T's first output acceptor.
    • Media Type: Raw Audio
    • Format: 16 bit Integer
    • Sample Rate: 44.10 kHz
    • Channels: Stereo
    • Channel Mask: (none)
    • Matrix Mask: (none)
    • Byte Order: Little Endian
    • Buffer Size: 1024 bytes per buffer
  • T.Sp1 => M.In1
    The T's first splitter output is connected to the system audio mixer's first input.
    • Media Type: Raw Audio
    • Format: 16 bit Integer
    • Sample Rate: 44.10 kHz
    • Channels: Stereo
    • Channel Mask: (none)
    • Matrix Mask: (none)
    • Byte Order: Little Endian
    • Buffer Size: 1024 bytes per buffer
  • M.AMr => O.E11
    The system audio mixer's "mixer" output is connected to the first output on the sound card.
    • Media Type: Raw Audio
    • Format: 32 bit float
    • Sample Rate: 44.10 kHz
    • Channels: Stereo
    • Channel Mask: (none)
    • Matrix Mask: (none)
    • Byte Order: Little Endian
    • Buffer Size: 512 bytes per buffer
  • T.Sp2 => W.In The T's second splitter output is connect to the writer's In terminal.
    • Media Type: Raw Audio
    • Format: 16 bit Integer
    • Sample Rate: 44.10 kHz
    • Channels: Stereo
    • Channel Mask: (none)
    • Matrix Mask: (none)
    • Byte Order: Little Endian
    • Buffer Size: 1024 bytes per buffer

Details

(see also OpenBeOS.MediaKit.NodeTypes, OpenBeOS.MediaKit.NodeKinds, OpenBeOS.MediaKit.Nodes)

    I
  • Type: Live Media Node
  • Port: 6628 (emu10k In CPort)
  • Kinds: Buffer Producer, Time Source, Controllable, Physical Input
  • Run Mode: Recording
  • Latency: 0.25 ms

    M
  • Type: Live Media Node
  • Port: 6626 (BMixer service port)
  • Kinds: Buffer Producer, Buffer Consumer, Controllable, System Mixer
  • Run Mode: unknown
  • Latency: 5.80 ms

    O
  • Type: Live Media Node
  • Port: 6629 (emu10k Out CPort)
  • Kinds: Buffer Consumer, Time Source, Controllable, Physical Output
  • Run Mode: unknown

    W
  • Type: Live File-Interface Node
  • Port: 6907 (WriterNode port)
  • Kinds: Buffer Consumer, File Interface
  • Run Mode: Increase Latency
  • Latency: ?
  • File Format: AIFF Sound File (audio/x-aiff)
  • Tracks:
    1. Raw Audio (44.10 kHz, 16 bit Integer, Stereo)

    T
  • Type: Live Media Node
  • Port: 6910 (Splitter CPort)
  • Kinds: Buffer Consumer, Buffer Producer
  • Run Mode: Increase Latency
  • Latency: 0.25 ms

Hooking it all up.

The M and O nodes are already instantiated by the system. The M and O nodes are also already connected.

Although the I node is defined by the system, it is not yet live. In the future the T node will also (hopefully) be defined by the system, and will also not be instantiated at this point. The W node is defined by the system and is not yet instantiated either.

....

shatty!


PAGE VISITS
934

LINKS HERE
OpenBeOS
OpenBeOS.MediaKit.Activities

NEW PAGES
BuildingCairo
StoringDataInBetweenOSes
ScriptingBeosRuby
ScriptingBeosPython
HaikuOS
QemUwinbe
MinimalBeos
XpMBRoverwrite
SteveSakoman
MailingLists

RECENT CHANGES
BuildingCairo
BeCommunity
BuildingFirebird
PlayGround
CorumIII
BeAcademic
SupportForMachinesAndArchitectures
BeOsReleases
HowTo
HaikuOS
Edit Page | Front Page | BeBits
Site content is in the public domain. Unless otherwise noted, everything else is copyright © 1999-2002 Fifth Ace Productions, LLC. All Rights Reserved.
For more legal trivia, take a gander at our
Legal Stuff page and our Privacy Statement.
Fifth Ace Productions