[specimen] adding several port to Specimen

Dubphil dubphil at free.fr
Thu Apr 1 08:26:38 CDT 2010


Hello,

I'm currently learning C++ by adding to specimen the ability to create 
several jack port and give the possibility to connect each patch to the 
desired left and right ports.
This is what I have already do :

1 - running specimen with the new parameter -p 4 launch specimen with 4 
stereo channels  (4 lefts and 4 rights = 8 jack ports).
2 - in the audio settings I have added a SpinButton that sets the number 
of  stereo channel from 1 to 16, the registering of the ports to jack is 
made when we hit "Reconnect". Unfortunately this parameter is not saved 
somewhere and is not populated yet by the -p param
3 - in the SMP tab of the patch, I have added a new section called  
"Outputs" where I have added two dropdown menus for respectively the 
jack left and right outputs. Setting this parametter is well saved in 
the bank and well recalled when a bank is open.

This is what I need to do to finish the implementation :

1 - populate the outputs drop down menu of the SMP tab of the patch with 
the left and the right registered jack ports, I have already try 
something, it compiles but when I run specimen i get a "segmentation 
fault" immediatly
      I have included the jack lib in the src/gui/sampletab.c and use 
jeack_get_ports() method, can I do this here ?

2 - routing the audio of the patch to the good left and right jack port 
as configured in the SMP patch tab (here I'm very very lost and need 
some help)

Hope there will be someone still interested by this small jewel app and 
able to help me.

Best regards

Philippe


More information about the Specimen mailing list