RE: Jack and Firewire

2011-10-03 Thread Bob Hamil
Tim, 
I'm not sure how low latency kernel XFCE is using,
but I'm using it for the base of my audio system
because it has FFADO, JAck2 available in repo so I
don't need to compile to get my Personus Firestudio
26x26 working in linux.  

Here is an un-polished newest version of instructions
that I'll post to my website when I clean them up a bit.

Make sure you have each of these things in your setup
as a beginning point.  

Also when I get that error, I repeat the command and
it may work the next time.  

At the end is output from my working Presonus
Firestudio.  

Work in progress...

Comments and corrections welcome!!


Bob

Draft instructions below:


Make sure whatever interface you are using works in
whatever operating system there are drivers available
for.

Download the 32-bit version of XFCE from
http://blog.linuxmint.com/?p=1818
(I haven't tested 64bit yet.)

Allow the system to update through Update Manager.

In Synaptic, add:
ffado-dBus-server, ffado-mixer-qt4, ffado-tools,
libffado-dev, libfaddo2,
jack2d-firewire (other dependcies will also add).

Not necessary, but I also add: jack-mixer, jacktrip,
pulseaudio-module-jack, silentjack.
Close synaptic.

Open File Manager, navigate to /usr/share/,
right-click on libffado2 and choose "open folder as
root". Enter password if needed.
Open the configuration file in gedit,
add these lines to the file to fit the obvious format
(use cut and paste):
{
vendorid = 0x000a92;
modelid = 0x0008;
vendorname = "Presonus";
modelname = "Firestudio 26x26";
driver = 20;
},

ctrl-f and enter your interface name to look for your
interface manufacturer,

Start Menu | System | Users and Groups
Add your user name to these groups by couble-clicking
on each and checkboxing your user name:
audio, disk, video

*** may not be neededOpen File Manager,
navigate to /etc/security/, right-click on limits.d
and choose "open folder as root". Enter password if
needed. Check if audio.conf is present.  It needs
these lines: 
@audio - rtprio 99

@audio - memlock unlimited
*

Navigate to /etc/udev/, right-click on rules.d and
choose "open folder as root". Enter password if
needed.

Right-click on empty space in the rules.d folder and
choose "create document | empty file" and name it
50-udev-firewire.rules. Paste GROUP=="audio" into
the file and save it.



Connect your firewire interface and power it on.

Start Qjackctl by Start Menu | Multimedia | Qjackctl.

Open setup, choose firewire from the driver drop-down
menu.
Make sure Realtime is checked.
Add 85 to the priority window, choose 256 from the
Frames/Period window,
Only check verbose if you have trouble starting jack
in the next steps.
Click "OK".

Click on "start" and see what happens. If you also
click on "messages", this is the output that my
Presonus 26x26 produces after I press "stop":

10:10:09.012 Patchbay deactivated.
10:10:09.103 Statistics reset.
10:10:09.115 ALSA connection change.
Cannot connect to server socket err = No such file or
directory
Cannot connect to server socket
jack server is not running or cannot be started
10:10:09.158 ALSA connection graph change.
10:10:13.143 JACK is starting...
10:10:13.144 /usr/bin/jackd -P85 -dfirewire -r48000
-p256 -n3
Cannot connect to server socket err = No such file or
directory
Cannot connect to server socket
jack server is not running or cannot be started
no message buffer overruns
10:10:13.247 JACK was started with PID=3370.
no message buffer overruns
jackdmp 1.9.7
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2011 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to
redistribute it
under certain conditions; see the file COPYING for
details
JACK server starting in realtime mode with priority 85
libffado 2.999.0- built Apr 2 2011 11:55:07
06567801151: Warning (dice_eap.cpp)[ 113] init:
no EAP mixer (device does not support EAP)
 DICE Parameter Space info:
Global : offset=0x0028 size=0360
TX : offset=0x0190 size=0568
nb= 2 size=0280
RX : offset=0x03C8 size=1128
nb= 2 size=0280
UNUSED1 : offset=0x0830 size=0016
UNUSED2 : offset=0x size=
Global param space:
Owner : 0x
Notification : 0x0040
Nick name : FIRESTUDIO
Clock Select : 0x02 0x0C
Enable : false
Clock Status : locked 0x02
Extended Status : 0x
Samplerate : 0xBB80 (48000)
Version : 0x01000400
Version : 0x01000400 (1.0.4.0)
Clock caps : 0x13FF001E
Clock sources :
SPDIF
ADAT
Word Clock
Unused
Unused
Unused
Unused
Internal
TX param space:
Nb of xmit : 2
Transmitter 0:
ISO channel : -1
ISO speed : 2
Nb audio channels : 16
Nb midi channels : 1
AC3 caps : 0x
AC3 enable : 0x
Channel names :
Mic/Inst 1
Mic/Inst 2
Mic/Line 3
Mic/Line 4
Mic/Line 5
Mic/Line 6
Mic/Line 7
Mic/Line 8
ADAT 1
ADAT 2
ADAT 3
ADAT 4
ADAT 5
ADAT 6
ADAT 7
ADAT 8
Transmitter 1:
ISO channel : -1
ISO speed : 2
Nb audio channels : 10
Nb midi channels : 0
AC3 caps : 0x
AC3 enable : 0x
Channel names :
ADAT 9
ADA

RE: Re: Spectrum3d : software that displays the harmonics of the soundin 3D

2011-05-09 Thread Bob Hamil
Victor, 
Yes it works, though a little slow on this test
machine p4 1.6ghz, 756 MBRam, but I by know means
have it optimized for this.  There is a 5 sec delay
between speaking into sound card mic and seeing the
display.  I have ten test machines with different
os's, up to a quad core 2.8ghz and 8gb ram, so I can
try many different ways.  
I already had libgtk2.0-dev, but still got errors
during make (not during ./configure) about missing
libgtk+-2...
So I compiled it from source, after meeting several
of it's dependencies.  

I have notes on all this on the test machine if you
are interested.  
Bob
231-499-3352


--- Original Message ---
>From: Victor henri[mailto:nada...@hotmail.com]
Sent: 5/8/2011 1:19:41 PM
To  : ubuntu-studio-users@lists.ubuntu.com
Cc  : 
Subject : RE: Re: Spectrum3d : software that displays
the harmonics of the soundin 3D

 




.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}





Hello Bob

> Victor, 
> I'm very interested in checking this out, but I'm not
> finding ppa's for 
> 
> libgtk+...

You are probably looking for libgtk2.0-dev package,
which is in the official packages of Debian (
http://packages.debian.org/squeeze/libgtk2.0-dev );
if you install this, you should have all it's
dependencies installed with it.

You do not need anyaditional  PPA for Spectrum3d :
everything should be in the repositories (with an
exception for Geis : it is in the repo for Natty; for
Debian, I think it is not available yet unless you
build it yourself from sources in the *testing*
version only)

Please let me know if you have any trouble and thank
you for your interrest 

Victor



  


-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


RE: Spectrum3d : software that displays the harmonics of the sound in 3D

2011-05-08 Thread Bob Hamil
Victor, 
I'm very interested in checking this out, but I'm not
finding ppa's for 

libgtk+...

I'm using the latest xfce based on debian.  

I found this:

deb http://hadret.rootnode.net/debian/ experimental main

but it doesn't produce libgtk+-dev in synaptic.  

I have downloaded a tar-gz, 
https://launchpad.net/ubuntu/+source/gtk+2.0/2.20.0-0ubuntu4
but I can't find -dev in it (not very familiar with
source installs), and would rather install in a
package manager.  

Any help would be welcome.  

Thank you, 
Bob Hamil
231-499-3352


--- Original Message ---
>From: Victor henri[mailto:nada...@hotmail.com]
Sent: 5/5/2011 3:19:46 PM
To  : ubuntu-studio-users@lists.ubuntu.com
Cc  : 
Subject : RE: Spectrum3d : software that displays the
harmonics of the sound in 3D

 



Hello

I'd like to introduce Spectrum3d, a new software that
displays harmonics of the sound in 3D, with openGL.

Audio source can be the microphone or an audio file,
and it is Jack compatible. Optionally, it can be run
in real-time when not runing with Jack; also
optionally, it can receive multitouch input (either
from touchscreen, or from touchpad). 

X represents frequencies, Y represents amplitude of
each frequencies and Z represents time. The
perspective can be changed either by rotating or by
translating the display around or along the 3 axis
without limitations.

Here is a quick link to a demo video : 
http://www.youtube.com/watch?v=CCVxDNbcqRE

It can be found here :
http://www.presences.org/download/spectrum3d-0.2.2.tar.bz2

And here is a link to a tutorial explaining how it
works :
http://www.presences.org/spectrum3d_tutorial_en.html

It is free and under GPL licence. It uses the Gtk+,
SDL, OpenGL, Gstreamer and uTouch-Geis free
librairies. It works on Ubuntu 10.04, 10.10 and
11.04, but should work on other distributions also. 
It is still beta; testers are welcome. Thank you for
your attention.

Victor


  


-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


RE: Trying to install lucid beta on a SCSI box, plus need to get GSM/3Gmodem dialup...

2010-04-02 Thread Bob Hamil
Thomas, 
I have gotten my moto rokrz6m? connecting to the
internet in Ubuntu and mint with the script from 
http://sakis.tel4u.gr/blog/sakis3g/  
and you may need 9menu installed
But right now things only connect at analog speeds,
but I think this is specific to my phone or provider
as it also is on winXP.  
Not to hijack the thread,
This is becoming a showstopper for me, as soon I will
need the faster speeds for an annual project in July,
but calls to Alltel-now-Verizon seem thoroughly
explored by them, but they say there is nothing
wrong!!!  
Google searches haven't found any info about how to
track this further.  
Any help would be much appreciated.

I hope others can help you with the other issues.

Bob Hamil

>--- Original Message ---
>From: Thomas Orgis[mailto:thomas-fo...@orgis.org]
>Sent: 4/2/2010 6:19:08 PM
>To  : ubuntu-studio-users@lists.ubuntu.com
>Cc  : 
>Subject : RE: Trying to install lucid beta on a SCSI
box, plus need to get GSM/3Gmodem dialup...
>
 >Hi folks,

In an attempt to lessen the scare factor of Linux I
tried to install ubuntu studio on a machine that so
far uses a rather custom Source Mage system. The
setup consists of a Athlon64 X2 (really using 64 bit
OS, too) on some Asrock mainboard (I don't like that
one, really) with integrated graphics, PCIe Firewire
card, Adaptec U160 SCSI controller with 3 10K rpm drives.
Oh, and there's a IDE DVD-RW and SATA DVD-ROM, too.

There is also a USB card reader built in which seems
to have higher priority for the ubuntu kernel, so the
first disk is /dev/sdf . In my custom system I have
the SCSI driver built in and it's sda as it should be.

The Audio interface is an Edirol FA-101, but I'm not
yet at evaluating usage of that. My first experience
with the ubuntu studio 10.4 beta (9.10 simply is too
old -- I'd have to immediately recompile a fresher
ardour2) can be summarized as follows:

1. Install goes fine, just except that it fails to
install the boot manager.
Both grub and lilo fail, without explanation. I
really miss some error messages there... I have
stored install logs (there in the box, not here with
me now) but a glimpse in there also didn't show anything.
For now I assume that there is some confusion because
of the unusual setup of /dev/sdX actually being SCSI:-/
I managed to restore my old boot manager (after some
fighting because of the mismatch of disk order
between the kernels... lilo doesn't like the disk
order differing between system to boot and the rescue
system where lilo is installed from)... and was able
to add an entry for ubuntu studio to it.

2. The boot attempts fail for default parameters.
Because I have SCSI.
I remember that from earlier times while building the
studio system: I ruled out ubuntu because of this
bug: The boot drops to busybox, complaining that the
root device is not there -- but when you look in the
shell, it is there immediately.
This is fixed by an annoyingly huge rootdelay
parameter (like, 90 seconds). I am disappointed that
this still prevails... and it's the same old
workaround. This worked with older systems -- also
with initrds!
Well... after fixing up boot parameters... I was able
to get into the system.

3. Next problem: I need internet. Ubuntu doesn't
really fly without internet, right?
I was surprised not to find the network manager (or
wicd, whatever) happily waiting for me to
automagically get my network fun -- this is ubuntu,
after all. I have been told that this is by intention
since network manager had bad interaction with the
realtime kernel. But I also have been told that this
might not be an actual problem today.
I tried to install the network manager via
synaptic... selecting the DVD as package source (as
the .debs indeed are present there), but synaptic
keeps complaining... and wants to remove the language
support package all the time -- I suppose it could be
fixed with missing components once I have internet
connection ...
Anyhow, I managed to install some packages... the
manager, the gnome applet.. providerdata. I was even
able to configure the 3G dialup connection with
proper provider etc, but: The manager applet doesn't
not recognize my modem (huawei e160)
The kernel has the correct driver loaded,
/dev/ttyUSB* exist, but network manager doesn't see it?
I guess I could get it running using the custom
script and wvdial ... what I do on the custom Source
Mage install... but since this is ubuntu -- how am I
supposed to get the 3G dialup working?

4. Whatever the plymouth daemon does... I've seen
notification of it crashing. I hope it's nothing vital.


Well, that's it for now... The boot manager install
would be a showstopper for the average creative
people... I might try to reproduce that on another
test system with a similar SCSI controller, but my
time for experiments on the studio box is limited.
There I would prefer to get the system into a
workable

RE: No success with EchoAudio FireWire 12

2009-11-22 Thread Bob Hamil
Simon, 
I am far from one of the experts here, so they may
have better info, but this is what I see: 

jackd... is starting Jack1, I think you need to run
Jack2 for firewire, which may need to be compiled.  

I run a PreSonus FireStudio 26x26 on firewire which
needs FFADO and Jack2 compiled from SVN.  Echo is
supported in FFADO, but I don't know how much less
work that means you need to do.  

I hope that helps, 
Bob Hamil



--- Original Message ---
>From: S. Josey[mailto:s...@mr-goster.com]
Sent: 11/22/2009 8:40:57 AM
To  : ubuntu-studio-users@lists.ubuntu.com
Cc  : 
Subject : RE: No success with EchoAudio FireWire 12

 
Hello,



I have recently made a fresh install of Ubuntu Studio
9.10 and tried to get it to work with my EchoAudio 12.



I have followed the instructions at Ubuntu Studio
Preparation (
https://help.ubuntu.com/community/UbuntuStudioPreparation)
and FireWire Audio in Ubuntu Studio (
https://help.ubuntu.com/community/FireWire) and
everything checks out correctly.



However, when I try to start JACK, this is the error
message I get:



21:28:44.769 Patchbay deactivated.

21:28:44.773 Statistics reset.

21:28:44.823 ALSA connection graph change.

21:28:45.020 ALSA connection change.

21:28:48.791 Startup script...

21:28:48.792 artsshell -q terminate

sh: artsshell: not found

21:28:49.195 Startup script terminated with exit
status=32512.

21:28:49.195 JACK is starting...

21:28:49.196 /usr/bin/jackd -R -P70 -t1000 -dfirewire
-dhw:0 -r44100 -p128 -n2 -i12 -o12

no message buffer overruns

jackd 0.116.1

Copyright 2001-2005 Paul Davis and others.

jackd comes with ABSOLUTELY NO WARRANTY

This is free software, and you are welcome to
redistribute it

under certain conditions; see the file COPYING for
details

JACK compiled with System V SHM support.

21:28:49.215 JACK was started with PID=2848.

loading driver ..

01024651260:  (ffado.cpp)[  92] ffado_streaming_init:
libffado 1.999.43 built Sep 17 2009 20:03:51

firewire ERR: Error creating FFADO streaming device

cannot load driver module firewire

no message buffer overruns

21:28:49.533 JACK was stopped successfully.

21:28:49.534 Post-shutdown script...

21:28:49.534 killall jackd

jackd: no process found

21:28:49.946 Post-shutdown script terminated with
exit status=256.

21:28:51.232 Could not connect to JACK server as
client. - Overall operation failed. - Unable to
connect to server. Please check the messages window
for more info.



Can anyone advise me how to overcome this error and
get JACK working.



Thank you in advance.



Simon





-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users