Posts with the tag multimedia

Generating Sound with Python

With Python Standard Library Methods

http://www.swharden.com/blog/2011-07-08-create-mono-and-stereo-wave-files-with-python/

from struct import pack
from math import sin, pi
import wave
import random

RATE=44100

## GENERATE MONO FILE ##
wv = wave.open('test_mono.wav', <span...

Read on

digiKam

digiKam is a great software to manage your digital photographs. I like it especially because it does not depend that much on a database / proprietary ways to store information about the photos as it saves most information directly to the files.

sudo aptitude install digikam digikam-doc

To install...

Read on

POV-Ray

http://wiki.ubuntuusers.de/POV-ray

installation of povray itself:

sudo aptitude install povray povray-includes povray-examples povray-doc

as well as the graphical modeler:

sudo aptitude install kpovmodeler

usage

A file created by POV-Ray: http://de.wikipedia.org/wiki/Datei:Mug_and_Torus_morph.gif
http://gist.github.com/376217

General command line to render a scene (still has to be adopted for the file in question):

povray...

Read on

Apply a Lowpass Filter to an mp3 Audio File

A lowpass filter can be applied using the command line tool sox. It tool can be installed like this on Ubuntu:

sudo aptitude install pacpl sox

Convert the audiofile to wave first (using Perl Audio Converter as sox has no mp3 support compiled in on Ubuntu systems):

pacpl --to...

Read on

Create an Image of a Copy Protected Audio CD Using readom

http://linux.die.net/man/1/readom
http://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-dd-copy-protected-disc-784767/

use the option -clone!

readom dev=/dev/sr0 -clone f=audio-loops.iso
...

Read on

Get sound working again after Suspending on a HP nx8220 notebook

http://www.emmolution.org/?p=144

sudo alsa force-reload
...

Read on

Composing Music

NoteEdit

http://noteedit.berlios.de/
http://www.linux-user.de/ausgabe/2002/04/030-noteedit/noteedit.html

sudo apt-get install noteedit

LMMS

http://lmms.sourceforge.net/home.php
http://lmms.sourceforge.net/wiki/index.php?title=Main_Page

commercial Windows software

Sibelius

http://appdb.winehq.org/objectManager.php?sClass=application&iId=1124

FL Studio

http://appdb.winehq.org/objectManager.php?sClass=application&iId=178

good supplement: halion player with complete halion 3 sound database

...

Read on

Hauppauge Nova-T USB2 DVB-T Stick – again

may need libxine1-ffmpeg and/or libavcodec-unstripped-52 to work:

sudo aptitude install libxine1-ffmpeg libavcodec-unstripped-52

Also check out my older blog post on the Nova-T USB2.

...

Read on

Install Google Earth - using the Medibuntu Repositories

The Medibuntu repository offers you a coolection of software that is not free and can therefore not be shipped with the standard distribution of Ubuntu linux. This example shows you how you can use Medibuntu to install google earth.

Add Medibuntu to your repositories (this is just one line!):

sudo...

Read on

Convert ape audio files to mp3 on the terminal

http://ubuntuforums.org/showthread.php?p=6879960#post6879960

Requirements: Having the executables mac, lame and id3v2 installed.
I haven't done it myself yet, but this seems to be a nice and quick way to do a conversion and set the ID3 tags in the newly created MP3:

#!/bin/bash
echo "Artist name?"
a= <span...

Read on

Get VolUp/VolDown keys on Cherry G85 keyboard to work

To get my cherry G85 to work properly including the additional audio keys I have to do the following:

To change the channels which your MM keys control, go to your main Gnome menu and find: Applications → System Tools → Configuration Editor (gconf-editor)

  • Set the value of /desktop/gnome/sound/default_mixer_device to alsamixer:hw:0
  • Edit /desktop/gnome/sound/default_mixer_tracks and...

Read on

Resetup Skype

As I thought there were general problems I reinstalled skype from medibuntu repo:

sudo dpkg -r skype
sudo -i
echo "deb http://packages.medibuntu.org/ jaunty free non-free"  >> /etc/apt/sources.list
apt-get update
apt-get install medibuntu-keyring
apt-get update
apt-get install skype

effectively just the settings were wrong: and set Skype OptionsSound Devices to:

  • SoundIn: QuickCam (plughw)
  • SoundOut: pulse
  • Ringing: pulse
...

Read on

Hauppauge Nova-T USB2 DVB-T Stick

http://wiki.ubuntuusers.de/Hauppauge_WinTV_Nova-T_Stick

First we want to find out something about the hardware.
Using dmesg we find:

dib0700: loaded with support for 8 different device-types
dvb-usb: found a 'Hauppauge Nova-T Stick' in <span...

Read on

Rhythmbox Plugins and Tools

http://live.gnome.org/Rhythmbox/RelatedTools
http://live.gnome.org/RhythmboxPlugins/ThirdParty

Rhythmbox DLNA/UPnP sharing and Control plugin

http://coherence-project.org/wiki/RhythmBox

to get this plugin to work I had to do:

sudo apt-get install python-coherence

Rhythmbox XSLT - convert Rhythmbox xml library file to xhtml

http://www.webdez.net/hacks/rbxml2html

requirements:

  • Perl
  • XML::LibXSLT Perl module

install like this:

sudo aptitude install libxml-libxslt-perl
cd ~/Downloads
wget http://downloads.dub.webdez.net/rbxml2html-0.03.tar.gz
tar -xf rbxml2html-0.03.tar.gz

usage: the pearl...

Read on

Rip a DVD

http://wiki.ubuntuusers.de/DVDs_rippen
https://help.ubuntu.com/community/RestrictedFormats/RippingDVDs

get lib CSS to work properly (encryption of encoded DVDs)

http://ubuntuguide.org/wiki/Ubuntu:Intrepid#DVD_Playback_Capability → install "Restricted Extras"

rip VOB files and VIDEO_TS folder and make ISO image

http://ubuntuforums.org/showthread.php?t=484084

install vobcopy and mkisofs:

sudo apt-get install vobcopy mkisofs

rip using vobcopy and create iso using mkisofs:

cd Desktop
vobcopy -v -m...

Read on

Playing HD movies: mplayer

jutter free playback wanted as well as the capability to load subtitles and additional sound tracks (languages)

some fragments:

mplayer movie.avi -audiofile italian.ac3 -audio-demuxer 20 -rawaudio format=0x2000

Read on