UA Apollo twin to Pd
I recently bought a UA Apollo twin mk2
to replace a scarlett 6i6. I am running Pd extended and I can receive audio out on the UA interface from a patch(on one channel), but not audio in via the adc~
Any similar problems out there with the UA and Pd?
flood.g
Camomile VST3-generated CC messages altered on Mac M2
/mac rant time - got a 2010 13" macbook pro about 5 years ago because it was an incredible value - (the 13" didn't have the graphics card problems) - I hate it now - its such a brick - but it will never die so I could justify getting a better laptop. the battery life is about 2 hours at best but you can open it up and change it but it still feels like a broken battery
my mom tho decided to go to art school a while ago so I bought her a decked out 2015 15" macbook pro one christmas so she could edit video and look like a cool person (she switched to interior design and ended up working at an SBC but that thing was always a champ at anything) - so jealous of that screen - the 13" is like 30hz 1280x700 - that 2015 mbp is really the best value right now - except the battery is legit glued onto the frame- they replace the whole bottom shell when they fix it at the genius shop - you can buy a repair kit that comes with glue dissolver. Well she was using crappy chargers and it quit charging so either the power part or SMC or the whole thing is broken and it's not worth it to try and fix it - fortunately the newish 16" is finally a decent replacement for it - so merry christmas - she uses it to watch TV when she travels - the audio on that sounds so good, and the over a day long battery life, its just the best laptop because its such a huge amount of tradeoffs to get a laptop right - I kind of wonder if people complain enough about the latency theyll focus in on fixing it. Theyre really deep into their own lore at this point - its annoying - even rosetta 2 - if they follow it then things will smooth out around version 6 and version 12 will be the high point
in summation: dongles
I'm curious tho - pretty sure opening the pd doc for the camomile VST3 with plugdata would fix the midi problem (because theyre both libpd under the hood the midi problem might be with the helper code or the JUCE backend besides the older version of PD/libpd camomile is at) and you can just run plugdata and patch live in reaper as a VST3 - has some extra DAW objects too.
it looks like focusright and motu are in a usb3 dac latency war as well .. I dont own anything with a usb-c port - I got dongles tho
PlugData: Pure Data with a JUCE GUI, as audio plugin or standalone
Thanks for your work, i'm loving PlugData.
But I'm having a problem here, Made a patch i want to use with 4 channels, but i can only select 2 at a time. When i select channels 3&4, it deselects 1&2 and vice-versa.
Patch works fine on PD, but looks so much better no plug data.
Im using a mid2015 macbook Pro with plug data 0.6.2 and Focusrite Liquid Saffire 56.
Thanks
Passing a list as parameter to csound6~
Hi everyone,
I've been playing a bit with a Csound handpan synth from here and I've used the r_cycle external to make a handpan with my Launchpad (the patch is not very complicated so I didn't try to make it neat, sorry!).
The csound patch maps specific MIDI notes to the synth according to a scale, and the Pd patch lights up the pads so each colored group of pads sends the corresponding MIDI note to CSound:
I'm super happy with it, but the next step is to make it configurable: the csound patch contains many different scales defined with giNotes = ftgen(0, 0, -<number of notes>, -2, <list of note numbers> )
:
; B Kurd
;giNotes = ftgen(0, 0, -10, -2, 47, 54, 55, 57, 59, 61, 62, 64, 66, 69)
; B Golden Arcadia
giNotes = ftgen(0, 0, -9, -2, 47, 51, 54, 58, 59, 61, 65, 66, 68)
So instead of editing the CSD file and changing the color mapping of the launchpad when I want to change scale, I would like to send a list/array/table of note numbers from Pd to [csound6~] via a message (and adjust the MIDI notes sent by the launchpad at the same time).
I know basically nothing about Csound, so I've read up and found examples using chnget
/chnset
or invalue
which seem relatively straightforward to change the value of a single int variable. However I don't really have any idea on how to pass the list/array of scale notes using chnset or invalue, or if there is a better way to do it.
Maybe someone around here has an idea? Thanks for reading so far in any case
Audio interface with 10 outputs
I know that 10 is no problem. I have an 8-channel interface which is connected (via ADAT lightpipe) to an 8-channel preamp, and I can and do use 16 ins and outs.
It's a Scarlett 18i20 1st generation and an Art TubeOpto 8, and I'm running Linux. I don't know if any other situations would throw unanticipated roadblocks, but this kind of setup seems pretty universal.
Pd~ limitations? "No such file or directory"
I think I finally figured it out!
Well, not sure it solves all my problems, but at least here is a limitation of pd~: midi inputs and outputs (obviously)! There were a few of those in one of the libraries called by mybigpatch.pd (r_cycle).
So here is my way around it, in case it might help others:
- In the main patch, capture notein and send
[notein $1 $2 $3(
to[pd~]
:
- in the pd~ subprocess, capture the incoming in an abstraction ./myfolder/notein.pd:
and replace all instances of[notein]
with[./myfolder/notein]
- similarly for noteout, an abstraction ./myfolder/noteout.pd to use in the pd~ subprocess:
and replace all instances of [noteout] with[./myfolder/noteout]
- in the main patch, replace noteout with [r noteout]:
- and the same thing with ctlin, ctlout, bendin, bendout, midiin, midiout, etc.
And the command line magic trick (that it took me a while to figure out) in order to replace all this easily in all pd files:
$ sed -i 's+\(touchin\|polytouchin\|bendin\|notein\|ctlin\|midiin\|midiout\|noteout\|ctlout\)+'./myfolder/'&+' *.pd
, which will prepend any instance of notein & co with ./myfolder/
.
Improvement suggestions are of course welcome.
Cheers!
Thermal noise
@whale-av Hi David, thanks for the suggestions.
In order to satisfy all ENT parameters, the best option is to get the varying amplitude from [env~] and using [mod] to evenly spread the values.
Here the test of a so generated 180.000 byte bin file, the results are within the normal required parameters.
Entropy is 7.999070 bits per byte. This value is the information density of the contents of the file, expressed as a number of bits per byte. So the file is essentially random.
The chi-square distribution is 84.08%. This test is the most commonly used test for the randomness of data calculated for the stream of bytes in the file and expressed as an absolute number and a percentage which indicates how frequently a truly random sequence would exceed the value calculated. If the percentages is between 10% and 90% the sequence is random.
C:\Users\Lenovo\Desktop\ENT\random>ent -c 1.bin
Value Char Occurrences Fraction
0 683 0.003781
1 730 0.004041
2 731 0.004047
3 717 0.003969
4 705 0.003903
5 717 0.003969
6 720 0.003986
7 709 0.003925
8 707 0.003914
9 696 0.003853
10 703 0.003892
11 685 0.003792
12 713 0.003947
13 707 0.003914
14 674 0.003731
15 708 0.003919
16 653 0.003615
17 700 0.003875
18 699 0.003870
19 685 0.003792
20 720 0.003986
21 710 0.003930
22 733 0.004058
23 722 0.003997
24 647 0.003582
25 691 0.003825
26 656 0.003632
27 699 0.003870
28 677 0.003748
29 674 0.003731
30 696 0.003853
31 700 0.003875
32 672 0.003720
33 ! 693 0.003836
34 " 727 0.004025
35 # 744 0.004119
36 $ 769 0.004257
37 % 735 0.004069
38 & 663 0.003670
39 ' 715 0.003958
40 ( 680 0.003764
41 ) 712 0.003942
42 * 713 0.003947
43 + 692 0.003831
44 , 737 0.004080
45 - 649 0.003593
46 . 677 0.003748
47 / 728 0.004030
48 0 721 0.003991
49 1 729 0.004036
50 2 689 0.003814
51 3 724 0.004008
52 4 701 0.003881
53 5 685 0.003792
54 6 678 0.003753
55 7 671 0.003715
56 8 694 0.003842
57 9 687 0.003803
58 : 719 0.003980
59 ; 764 0.004229
60 < 736 0.004074
61 = 688 0.003809
62 > 699 0.003870
63 ? 749 0.004146
64 @ 724 0.004008
65 A 742 0.004108
66 B 660 0.003654
67 C 695 0.003847
68 D 721 0.003991
69 E 710 0.003930
70 F 677 0.003748
71 G 697 0.003859
72 H 715 0.003958
73 I 712 0.003942
74 J 692 0.003831
75 K 729 0.004036
76 L 702 0.003886
77 M 717 0.003969
78 N 702 0.003886
79 O 696 0.003853
80 P 692 0.003831
81 Q 753 0.004169
82 R 729 0.004036
83 S 726 0.004019
84 T 742 0.004108
85 U 687 0.003803
86 V 689 0.003814
87 W 652 0.003609
88 X 700 0.003875
89 Y 738 0.004085
90 Z 683 0.003781
91 [ 700 0.003875
92 \ 703 0.003892
93 ] 728 0.004030
94 ^ 735 0.004069
95 _ 711 0.003936
96 ` 724 0.004008
97 a 742 0.004108
98 b 690 0.003820
99 c 723 0.004002
100 d 705 0.003903
101 e 703 0.003892
102 f 706 0.003908
103 g 735 0.004069
104 h 693 0.003836
105 i 719 0.003980
106 j 711 0.003936
107 k 650 0.003598
108 l 724 0.004008
109 m 712 0.003942
110 n 669 0.003704
111 o 697 0.003859
112 p 729 0.004036
113 q 661 0.003659
114 r 666 0.003687
115 s 740 0.004097
116 t 742 0.004108
117 u 710 0.003930
118 v 685 0.003792
119 w 758 0.004196
120 x 669 0.003704
121 y 701 0.003881
122 z 720 0.003986
123 { 694 0.003842
124 | 725 0.004014
125 } 658 0.003643
126 ~ 699 0.003870
127 669 0.003704
128 725 0.004014
129 712 0.003942
130 755 0.004180
131 682 0.003775
132 727 0.004025
133 712 0.003942
134 732 0.004052
135 750 0.004152
136 726 0.004019
137 678 0.003753
138 695 0.003847
139 701 0.003881
140 709 0.003925
141 702 0.003886
142 710 0.003930
143 696 0.003853
144 729 0.004036
145 684 0.003787
146 702 0.003886
147 694 0.003842
148 691 0.003825
149 707 0.003914
150 739 0.004091
151 685 0.003792
152 738 0.004085
153 694 0.003842
154 687 0.003803
155 696 0.003853
156 692 0.003831
157 627 0.003471
158 715 0.003958
159 716 0.003964
160 695 0.003847
161 í 715 0.003958
162 ó 697 0.003859
163 ú 675 0.003737
164 ñ 721 0.003991
165 Ñ 724 0.004008
166 ª 681 0.003770
167 º 712 0.003942
168 ¿ 693 0.003836
169 ® 696 0.003853
170 ¬ 708 0.003919
171 ½ 692 0.003831
172 ¼ 666 0.003687
173 ¡ 694 0.003842
174 « 711 0.003936
175 » 711 0.003936
176 ░ 747 0.004135
177 ▒ 685 0.003792
178 ▓ 702 0.003886
179 │ 709 0.003925
180 ┤ 684 0.003787
181 Á 668 0.003698
182 Â 750 0.004152
183 À 683 0.003781
184 © 701 0.003881
185 ╣ 674 0.003731
186 ║ 661 0.003659
187 ╗ 696 0.003853
188 ╝ 700 0.003875
189 ¢ 720 0.003986
190 ¥ 681 0.003770
191 ┐ 742 0.004108
192 └ 681 0.003770
193 ┴ 697 0.003859
194 ┬ 757 0.004191
195 ├ 682 0.003775
196 ─ 715 0.003958
197 ┼ 711 0.003936
198 ã 706 0.003908
199 Ã 734 0.004063
200 ╚ 743 0.004113
201 ╔ 708 0.003919
202 ╩ 697 0.003859
203 ╦ 717 0.003969
204 ╠ 757 0.004191
205 ═ 690 0.003820
206 ╬ 684 0.003787
207 ¤ 718 0.003975
208 ð 662 0.003665
209 Ð 741 0.004102
210 Ê 739 0.004091
211 Ë 750 0.004152
212 È 691 0.003825
213 ı 695 0.003847
214 Í 735 0.004069
215 Î 698 0.003864
216 Ï 690 0.003820
217 ┘ 718 0.003975
218 ┌ 721 0.003991
219 █ 693 0.003836
220 ▄ 696 0.003853
221 ¦ 690 0.003820
222 Ì 716 0.003964
223 ▀ 723 0.004002
224 Ó 719 0.003980
225 ß 697 0.003859
226 Ô 732 0.004052
227 Ò 691 0.003825
228 õ 733 0.004058
229 Õ 752 0.004163
230 µ 680 0.003764
231 þ 701 0.003881
232 Þ 746 0.004130
233 Ú 729 0.004036
234 Û 702 0.003886
235 Ù 711 0.003936
236 ý 694 0.003842
237 Ý 661 0.003659
238 ¯ 741 0.004102
239 ´ 717 0.003969
240 757 0.004191
241 ± 686 0.003798
242 ‗ 754 0.004174
243 ¾ 722 0.003997
244 ¶ 722 0.003997
245 § 691 0.003825
246 ÷ 725 0.004014
247 ¸ 741 0.004102
248 ° 702 0.003886
249 ¨ 653 0.003615
250 · 695 0.003847
251 ¹ 711 0.003936
252 ³ 668 0.003698
253 ² 700 0.003875
254 ■ 687 0.003803
255 667 0.003692
Total: 180639 1.000000
Entropy = 7.999070 bits per byte.
Optimum compression would reduce the size
of this 180639 byte file by 0 percent.
Chi square distribution for 180639 samples is 232.49, and randomly
would exceed this value 84.08 percent of the times.
Arithmetic mean value of data bytes is 127.6331 (127.5 = random).
Monte Carlo value for Pi is 3.132000266 (error 0.31 percent).
Serial correlation coefficient is -0.000969 (totally uncorrelated = 0.0).Insert Code Here
pure data crashes when I try to change input devices...
@tarim Difficult to diagnose, but as it is an asio device you will need to match the Pd settings to the device.
Change the Pd settings..... not the Focusrite settings.
Open up your control panel for the focusrite and check you have the same sample rate and the same buffer.... 64, 128, 256 etc. Buffer is "block size" in Pd.
Then it should work .
Probably ticking the "use callbacks" box is a good idea.
When it is working try reducing the Delay (msec} to 5.... then 4..... then 3...... until it doesn't work any more and then go back to the last value that worked. That should give you the lowest latency.
If you have no luck at all and you are using windows then try Asio4All...... http://tippach.business.t-online.de/asio4all/ .... instead of the Focurite driver. It will allow you to use more than one device at a time as well.
David.
focusrite scarlett 2i4 issues
@julietaz Not sure.
Normally you can set the audio outputs in the Pd menu > Media > Audio Settings.
and maybe you just need to set for the Focusrite..... "Channels" 4
If you are using Windows you can use "Asio4All" http://tippach.business.t-online.de/asio4all/
for low latency audio and select ASIO in Pd settings and then the Asio4All driver which will allow you to use all the channels of the Focusrite and the PC speakers.
Without Asio4All you would need to select "use multiple devices" in the above screenshot.
David.