FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > 64 Studio > 64 Studio User

 
 
LinkBack Thread Tools
 
Old 10-29-2008, 11:43 PM
Ralf Mardorf
 
Default Jconv should be part of the next 64 Studio release

Hi Fons

congratulations. This is the first free reverb I like.

Because of Christian who is looking for audio apps that will work with
braille, I was intent of your reverb.

Thank you very much!
Ralf

HOWTO

Hi Christian

1. Make sure that the user has absolute excess to /usr/share/jconv. You
have to run "cd path" and "sudo chown -R username folder".

spinymouse@suse11:~> cd /usr/share
spinymouse@suse11:/usr/share> sudo chown -R spinymouse jconv

2. Change into the jconv folder and download the files from
http://www.kokkinizita.net/linuxaudio/downloads/index.html that might be
needed, take a look at remark (2).

spinymouse@suse11:/usr/share> cd jconv
spinymouse@suse11:/usr/share/jconv> wget
http://www.kokkinizita.net/linuxaudio/downloads/lucia.wav
spinymouse@suse11:/usr/share/jconv> wget
http://www.kokkinizita.net/linuxaudio/downloads/springreverb.wav
spinymouse@suse11:/usr/share/jconv> wget
http://www.kokkinizita.net/linuxaudio/downloads/chapel.wav
spinymouse@suse11:/usr/share/jconv> wget
http://www.kokkinizita.net/linuxaudio/downloads/greathall.wav

3.1 What does "real-time" mean regarding to a reverb?
If you have a mixing console you will insert it to an aux channel. The
returned signal from the reverb will be 100% effect, without the
original dry signal, you sent to the reverb. Because reverb will have
delay, latencies are no problem.
You asked for real-time, while connecting a mic or instrument to the
inputs of your sound card, that's why I guess you will have a mix of the
dry input signal without latency and the delayed early reflections and a
delayed reverb.
If you will get very less latency or hearable latency depends to your
soundcard.

3.2 What does "studio" quality mean regarding to a reverb?
In the mid 80ies there came some cult reverbs made by LEXICON and
YAMAHA, they are references for me.
The YAMAHA SPX90II has a sampling frequency of 31250 Hz at 16 Bit. The
effect has a band width from 20 Hz to 12 KHz. The bypassed signal has a
band width from 20 Hz to 20 KHz. The SPX90 and SPX90II were the first
multi effects for homerecording, that seriously were used for reverb in
professional studios too.
The YAMAHA REV7 has a sampling frequency of 31250 Hz and a quantization
of 16 bit, the same specifications like the SPX90II.
The YAMAHA REV-1 comes with a sample frequency of 44100 Hz and still is
a professional studio reverb, with a frequency response from 20 Hz to 18
KHz.
Today there are better reverbs, but I guess even today there will be no
free reverb for any OS that reach to the quality of a SPX90II or a
better YAMAHA and LEXICON, I will reverse it, at the end of this email.
By the way, the LEXICON PCM-70 only has a mono input and a stereo
output, it processed frequencies <= 15 KHz. You might have heard some
very professional recordings done with a REV-1 or PCM-70.
Sample frequency, quantization and latency aren't the specifications
that make the quality of a reverb.

4. How to set jackd?
I don't know your sound card, to be on the save side I do settings that
will give a latency of 69.7 ms, you should try to reduce the latency.

jackd -R -p128 -dalsa -r44100 -p1024 -n3 -D -Chw:0 -Phw:0

-R, Real-time, that's needed for jconf
-p 128, maximal number of ports, I guess 128 is the minimal number of ports
-d alsa, ALSA should be the backend used by jackd
-r44100, the sample rate, each sound card seems to be able to do CD
quality, try 48000 instead, that reduce latency and increase the quality
-p 1024, Frames/Period, try 512, 256, 128 to reduce latency
-n 3, Periodes/Buffer, 2 is the better value, but some sound devices
needs 3, reduce it if possible, to reduce latency
-D, duplex enables to use input and output of your sound device
simultaneously
-C hw:0 the hardware device for input
-P hw:0 the hardware device for output
Don't use different devices. Your sound card might be hw:0, but it could
be hw:1 or any other number as well and it can change with each boot.
Try hw:0 first. It's possible to give the device a consistent number,
take a look at http://64studio.com/faq_user. You can find out what sound
devices you have got, if you install and run hwinfo. First run hwinfo
--help. Hwinfo gives you information about the driver names, "snd_name",
replace the "_" by a "-".

I'm going on with a new terminal.

spinymouse@suse11:~> jackd -R -p128 -dalsa -r44100 -p1024 -n3 -D -Chw:0
-Phw:0
jackd 0.109.2
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.
loading driver ..
apparent rate = 44100
creating alsa driver ... hw:0|hw:0|1024|3|44100|0|0|nomon|swmeter|-|32bit
control device hw:0
configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 3 periods
ALSA: final selected sample format for capture: 32bit little-endian
ALSA: use 3 periods for capture
ALSA: final selected sample format for playback: 32bit little-endian
ALSA: use 3 periods for playback

This is what you should read, maybe you are running another version of
jackd. By the way, 3 buffer * 23.2 ms = the latency of 69.6 ms, resp.
69.7 ms, it's rounded.

5. How to use jconv.

spinymouse@suse11:~> jconv -h

Jconv 0.2.0
(C) 2006-2007 Fons Adriaensen <fons@kokkinizita.net>

Usage: jconv <options> <configuration file>
Options:
-h Display this text
-v Print partition list to stdout [off]
-M Use the FFTW_MEASURE option [off]
-N <name> Name to use as JACK client [jconv]

We need to edit some .conf for a test.
With an editor open /usr/share/jconv/chapel.conf
Line 42 is
/cd /home/fons/acoustics/impresp
and has to be replaced by
/cd /usr/share/jconv

Now you can run jconv in a terminal.

spinymouse@suse11:~> jconv -N TEST /usr/share/jconv/chapel.conf
Warning: partition size adjusted to 1024
Warning: sample rate (48000) of '/usr/share/jconv/chapel.wav' does not
match.
Warning: sample rate (48000) of '/usr/share/jconv/chapel.wav' does not
match.

Ignore the warnings,it's just a test.

6. Getting name aliases for jack clients/ports by running jack_lsp -A.

spinymouse@suse11:~> jack_lsp -A
system:capture_1
alsa_pcm:capture_1
system:capture_2
alsa_pcm:capture_2
system:capture_3
alsa_pcm:capture_3
system:capture_4
alsa_pcm:capture_4
system:capture_5
alsa_pcm:capture_5
system:capture_6
alsa_pcm:capture_6
system:capture_7
alsa_pcm:capture_7
system:capture_8
alsa_pcm:capture_8
system:capture_9
alsa_pcm:capture_9
system:capture_10
alsa_pcm:capture_10
system:capture_11
alsa_pcm:capture_11
system:capture_12
alsa_pcm:capture_12
systemlayback_1
alsa_pcmlayback_1
systemlayback_2
alsa_pcmlayback_2
systemlayback_3
alsa_pcmlayback_3
systemlayback_4
alsa_pcmlayback_4
systemlayback_5
alsa_pcmlayback_5
systemlayback_6
alsa_pcmlayback_6
systemlayback_7
alsa_pcmlayback_7
systemlayback_8
alsa_pcmlayback_8
systemlayback_9
alsa_pcmlayback_9
systemlayback_10
alsa_pcmlayback_10
TEST:In-1
TEST:Out-1
TEST:Out-2

It's easy to see what are the IO's we named by jconv -N. Capture 1 and 2
and Playback 1 and 2 are always the first IOs of any sound card.

7. Writing a setup file with an editor that does connect hardware IOs
and jconv IOs, when running jack_snapshot.

With an editor it's possible to write a file with the following information:

system:capture_1
TEST:In-1
TEST:Out-1
systemlayback_1
TEST:Out-2
systemlayback_2

That's all. To be honest, I does the connections with qjackctl and than
run "jack_snapshot store ~/Desktop/TEST.jsnap". I guess you know that ~
is for /home/username, write the file to any path you like and restore
from there.

You have to do this by an editor and than to run jack_snapshot restore.

spinymouse@suse11:~> jack_snapshot restore ~/Desktop/TEST.jsnap
Jack connection snapshot [(C) 2004 - inf. Florian Schmidt]
Clearing connections
Restoring connection state from file: /home/spymo/Desktop/TEST.jsnap
Done.

8. That's all.

Wow, I played a Mark III sound by my DX7, send the signal from one
channel over my mixing console sub 1-2 to the main and get the output
back in 2 other channels send to sub 3-4 and heard the mix by monitoring
main and sub 3-4. I had to do some settings by the sound card mixer and
it was great. A very, very good reverb. First I was disappointed,
because of a bad panorama, while the reverb was very good, but it was my
amp, balance is bad, I connected the headphones to my mixing console and
it was wow. The reverb also sounds good for the speakers.

Thank you for calling attention to this grandiose reverb.

Read the README files for more information.

Cheers,
Ralf
_______________________________________________
64studio-users mailing list
64studio-users@64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users
 

Thread Tools




All times are GMT. The time now is 12:01 AM.

VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org