PD next step

the connection between app_jack and PD both input and output appears to work and the quality is fine – the python script to send midi data to PD has stopped working from the command line at the moment – banging the readsf below will play the file through the handset and the handset audio come into PD – ignore the midi trigger

More on Jack

My new solution to exercising more control over the playback of audio to the different kiosk channels is to pass playback of the cereproc rendered file over to PD and then route it through app_jack to the handset rather than rendering it directly through Asterisk playback – the first few lines of code are: once the jack channel is available then pd can play the wav file created by cereproc

Jack breakthrough

Alistair’s mere presence caused a break-though – here is the dialplan exten => 300,1,Answer() ;exten => 300,2,MusicOnHold() exten => 300,n,JACK() exten => 300,n,Set(JACK_HOOK(manipulate)=on) ;END OF EXTENSIONS.CONF —————————————————

Disorganised file system

Today I discovered the perils of a disorganised file system. The tts_callback routine in the cereproc python examples folder has undergone a certain amount of hacking by me. It is creating a file ‘cue1.txt’ that contains timing data gleaned from the xml file relating to marker files. I believed it was modifying a file in my home directory – it wasn’t it was modifying a file in the root directory.

VNC

allows me to control the desktop of my Ubuntu machines from a MAC. the software of choice is X11VNC – reasonably easy to enable just a few stumbles to get it to load at boot – code below is copied from here https://tecadmin.net/setup-x11vnc-server-on-ubuntu-linuxmint/

Midi into PD

this should have been straight forward but my code comments were not adequate and it took me a while to figure out what I had done. Anyway finally got it to work and tally with what was going on in Asterisk.