Hello,
Im trying to implement a kind of MAXXBASS plugin on an headless machine
(running in mono).
If it works, I would be happy to share it if someone is interrested.
However, to do so I need some help to better understand the LADSPA syntax.
Here are two example that I would like to implement :
*#1*
root@SheBe:~# analyseplugin tap_tubewarmth.so
Plugin Name: "TAP TubeWarmth"
Plugin Label: "tap_tubewarmth"
Plugin Unique ID: 2158
Maker: "Tom Szilagyi"
Copyright: "GPL"
Must Run Real-Time: No
Has activate() Function: No
Has deactivate() Function: No
Has run_adding() Function: Yes
Environment: Normal or Hard Real-Time
Ports: "Drive" input, control, 0.1 to 10, default 2.575
"Tape--Tube Blend" input, control, -10 to 10, default 10
"Input" input, audio
"Output" output, audio
*And my asound.conf is :*
pcm.WarmTube {
type ladspa
slave.pcm "plughw:0,0";
path "/usr/lib/ladspa"
channels 2
plugins {
0 {
id 2158
policy none
input.bindings.0 "Input";
output.bindings.0 "Output";
input {
controls [ 2.575 10 ]
}
1 {
id 2158
policy none
input.bindings.1 "Input";
output.bindings.1 "Output";
input {
controls [ 2.575 10 ]
}
}
}
}
That produce the following Error :
/root@SheBe:~# squeezelite -a 80:4:16:1
[21:58:35.206794] test_open:130 hwparam init error: Invalid argument
[21:58:35.208477] output_init_common:373 unable to open output device/
*#2*
root@SheBe:~# analyseplugin harmonic_gen_1220.so
Plugin Name: "Harmonic generator"
Plugin Label: "harmonicGen"
Plugin Unique ID: 1220
Maker: "Steve Harris <steve(a)plugin.org.uk>"
Copyright: "GPL"
Must Run Real-Time: No
Has activate() Function: Yes
Has deactivate() Function: No
Has run_adding() Function: Yes
Environment: Normal or Hard Real-Time
Ports: "Fundamental magnitude" input, control, -1 to 1, default 1
"2nd harmonic magnitude" input, control, -1 to 1, default 0
"3rd harmonic magnitude" input, control, -1 to 1, default 0
"4th harmonic magnitude" input, control, -1 to 1, default 0
"5th harmonic magnitude" input, control, -1 to 1, default 0
"6th harmonic magnitude" input, control, -1 to 1, default 0
"7th harmonic magnitude" input, control, -1 to 1, default 0
"8th harmonic magnitude" input, control, -1 to 1, default 0
"9th harmonic magnitude" input, control, -1 to 1, default 0
"10th harmonic magnitude" input, control, -1 to 1, default 0
"Input" input, audio, -1 to 1
"Output" output, audio, -1 to 1
*And my asound.conf is :*
pcm.overtone {
type ladspa
slave.pcm "plughw:0,0";
path "/usr/lib/ladspa"
channels 2
plugins {
0 {
id 1220 # Overtone (Harmonic Generator)
policy none # Apply Overtone to channel 0
input.bindings.1 "Input";
output.bindings.1 "Output";
input {
controls [ 0 1 1 1 1 1 1 1 1 1 ]
}
}
1 {
id 1220 # Overtone (Harmonic Generator)
policy none # Apply Overtone to channel 1
input.bindings.1 "Input";
output.bindings.1 "Output";
input {
controls [ 0 1 1 1 1 1 1 1 1 1 ]
}
}
}
}
That produce the same Error :
/root@SheBe:~# squeezelite -a 80:4:16:1
[21:58:35.206794] test_open:130 hwparam init error: Invalid argument
[21:58:35.208477] output_init_common:373 unable to open output device/
Note that I don't need control, although I can make it work from the regular
way with the pluequal and control Equal, but here, I want/need to implement
it directly from within my asound.conf
Thank you for your help !
Jean
--
View this message in context:
http://linux-audio.4202.n7.nabble.com/LADSPA-Plugins-from-ALSA-would-like-s…
Sent from the linux-audio-user mailing list archive at
Nabble.com.