Front Page All Articles Recent Changes Random Article

Contents

Concatenative language

  • ACL
  • Ait
  • Aocla
  • Breeze
  • Callisto
  • Cat
  • Cognate
  • colorForth
  • Concata
  • CoSy
  • Deque
  • DSSP
  • dt
  • Elymas
  • Enchilada
  • ETAC
  • F
  • Factor
  • Fiveth
  • Forth
  • Fourth
  • Freelang
  • Gershwin
  • hex
  • iNet
  • Joy
  • Joy of Postfix App
  • kcats
  • Kitten
  • lang5
  • Listack
  • LSE64
  • Lviv
  • Meow5
  • min
  • Mirth
  • mjoy
  • Mlatu
  • Ode
  • OForth
  • Om
  • Onyx
  • Plorth
  • Popr
  • Porth
  • PostScript
  • Prowl
  • Quest32
  • Quackery
  • r3
  • Raven
  • Retro
  • RPL
  • SPL
  • Staapl
  • Stabel
  • Tal
  • Titan
  • Trith
  • Uiua
  • Worst
  • xs
  • XY
  • 5th
  • 8th

Concatenative topics

  • Compilers
  • Interpreters
  • Type systems
  • Object systems
  • Quotations
  • Variables
  • Garbage collection
  • Example programs

Concatenative meta

  • People
  • Communities

Other languages

  • APL
  • C++
  • Erlang
  • FP trivia
  • Haskell
  • Io
  • Java
  • JavaScript
  • Lisp
  • ML
  • Oberon
  • RPL
  • Self
  • Slate
  • Smalltalk

Meta

  • Search
  • Farkup wiki format
  • Etiquette
  • Sandbox

Factor/GSoC/2010/Audio and video libraries

Mentor

Joe Groff

Skills required

  • Knowledge of C
  • Knowledge of Factor's FFI
  • Factor API design skills
  • Knowledge of media formats and libraries

Level

Beginner

Existing work

Factor already has various multimedia libraries:

  • ogg. - bindings to Ogg, Vorbis, and Theora libraries
  • id3 - ID3 parser in pure Factor
  • openal - 3D audio binding
  • audio.engine - an OpenAL-based mixer engine using the above libraries to support WAV/AIFF and Ogg stream playback

Missing is a framework for video playback. Bindings to native media libraries such as GStreamer, Quicktime, and Windows Media should be written too. The end goal would be a high-level idiomatic Factor API for embedding audio and video in GUI applications.

Technical details

Factor's C FFI (foreign function interface) is capable of calling out to the entirety of C libraries, including callbacks and various calling conventions, like cdecl and stdcall. Therefore, all of the libraries can be bound to and called from inside Factor.

Benefit to the student

The student learns how to bind C libraries to Factor using Factor's FFI, and also learns how C multimedia libraries work.

Benefit to the community

Factor will be suitable for multimedia applications if this project is completed.

Challenges

  • Learning the APIs of various libraries

This revision created on Thu, 25 Feb 2010 19:18:15 by jckarter (copy over 2010)

Latest Revisions Edit

All content is © 2008-2024 by its respective authors. By adding content to this wiki, you agree to release it under the BSD license.