-
kazeko
i think i got it
turn out that hidden ~/.pdsettings file allready consists audio settings for PD,and because i run my
patch from rc.local ,pure data takes configuration from that file
so eventualy when i do not use any commands when starting PD it is all fine and audio card is automatically assigned regardles of which usb port it is inthank you anyways
-
kazeko
thank you that seems very good solution
however
when i do pd -listdev my audio device and mididevices are on the same list
so if for example my usb audio is #2 and i unplug device #1 then usb audio becomes #1this is why i thought audioaddoutdev will be best ,because this way PD knows exactly what to look for
-
kazeko
hello everyone
i have this problem when using nogui PD with headless RPI
when i connect/disconnect usb devices to RPI ,my sound card "USB Audio CODEC " changes card number and my pd do not connect to it
i tried AUDIOADDOUTDEV with "USB Audio CODEC" and 'USB Audio CODEC' but that does not seems to work
any ideas?bests
k -
-
kazeko
hello all
does anyone know if i can pass parameters when i create object pd
for example "pd test 12 13 14" ?thank you
-
kazeko
@whale-av
hello there
did you ever tried "audioaddoutdev -- add an audio output device by name" on linux ?
i had exact same problem on my RPI and PD to be able to alway use 'USB Audio CODEC (hardware)' whatever hardware card number it had.
i tried audioaddoutdev 'USB Audio CODEC (hardware)' ,audioaddoutdev "USB Audio CODEC (hardware)" ,but none seems to workbests
-
kazeko
@alistair_blunt thanks,swap was what i was missing for my amount
-
kazeko
@altibzz said:
That makes sense, thanks! Though I'm having a hell of a time getting pd to load the hid external on the rpi. I've put the folder in /usr/lib/pd/extra and tried using the declare object but it just won't load...
i have spent entire day on this shit
here is what you need to add to PD command line,in my example was ELSE lib
-path /home/pi/Documents/Pd/externals/ -lib elsebests
K -
-
kazeko
hello everyone
since you cannot change outgoing midi messages in those devices,here is my patch to turn Novation Launchad mini mk1&mk2 into Octatrack midi controller,plus i added few small but nice features...Repo
https://github.com/k2z3k0/launchpad-for-octatrak-in-pure-dataExample video
Getting Started with Raspberry Pi, Pure Data
How to deal with Raspberry Pi as usb midi host
Raspberry Pi audio/midi board
https://blokas.io/pisound/
Raspberry Pi audio/midi board
https://www.osaelectronics.com/.../midi-board-for.../
Raspberry Pi how to get midi out out of onboard GPIO
https://github.com/nugluke/midi2gpiobest regards
Kazik