Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: m-labs/flickernoise
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3c77035
Choose a base ref
...
head repository: m-labs/flickernoise
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3b739f3
Choose a head ref
  • 5 commits
  • 10 files changed
  • 1 contributor

Commits on Feb 13, 2012

  1. stimuli: remember last MIDI value and reset control to it before star…

    …ting
    
    It's a little hackish to do this from stim_redirect, but since this is
    what we call before launching a new patch and it has all the information
    we need, it really is the best place.
    wpwrak committed Feb 13, 2012
    Copy the full SHA
    63ea9e9 View commit details
  2. patch editor: generalized double quote protection

    This will allow the use of double quote protection also for compiler
    errors.
    wpwrak committed Feb 13, 2012
    Copy the full SHA
    5e6707f View commit details
  3. Copy the full SHA
    49a1282 View commit details
  4. stimuli: stim_db_free didn't reset the "last" pointer

    This allowed only the first compilation of a patch with MIDI devices to work.
    wpwrak committed Feb 13, 2012
    Copy the full SHA
    d516fe9 View commit details
  5. Copy the full SHA
    3b739f3 View commit details
16 changes: 14 additions & 2 deletions src/compiler/doc/Makefile
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ fig2pdf = ./figfilt $(1) <$< | \

PICEXT = pdf

PICS = bind stim \
PICS = arch msg bind stim \
button-up button-down \
switch-off switch-on \
fader-0 fader-40 fader-60 fader-100 \
@@ -12,16 +12,24 @@ PICS = bind stim \
dial-0 dial-90 dial-180 dial-360 \
dial-405 dial-315

GEN = nocvars.inc

.PHONY: all xpdf clean

all: midi.pdf

midi.pdf: midi.tex $(PICS:%=%.$(PICEXT))
midi.pdf: midi.tex $(PICS:%=%.$(PICEXT)) $(GEN)
pdflatex midi

xpdf: midi.pdf
xpdf $<

arch.pdf: arch.fig
fig2dev -L pdf -m 0.9 $< $@ || { rm -rf $@; exit 1; }

msg.pdf: msg.fig
fig2dev -L pdf -m 0.9 $< $@ || { rm -rf $@; exit 1; }

bind.pdf: bind.fig
fig2dev -L pdf -m 0.9 $< $@ || { rm -rf $@; exit 1; }

@@ -97,6 +105,10 @@ dial-405.$(PICEXT): dial.fig
dial-315.$(PICEXT): dial.fig
$(call fig2pdf, 315deg ccw)

nocvars.inc: ../fnp.ids
./mknocvars <$< >$@ || { rm -f $@; exit 1; }

clean:
rm -f $(PICS:%=%.$(PICEXT))
rm -f $(GEN)
rm -f midi.aux midi.log
94 changes: 94 additions & 0 deletions src/compiler/doc/arch.fig
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
#FIG 3.2 Produced by xfig version 3.2.5b
Landscape
Center
Metric
A4
100.00
Single
-2
1200 2
0 32 #c1c1c1
6 3555 6255 4770 7065
2 1 0 2 32 7 53 -1 -1 0.000 0 0 -1 0 0 2
3600 6480 4725 6480
2 1 0 2 32 7 53 -1 -1 0.000 0 0 -1 0 0 2
3600 6660 4725 6660
2 1 0 2 32 7 53 -1 -1 0.000 0 0 -1 0 0 2
3600 6840 4725 6840
2 2 0 2 32 7 55 -1 -1 0.000 0 0 -1 0 0 5
3600 6300 4725 6300 4725 7020 3600 7020 3600 6300
-6
6 3330 3330 4770 4320
1 1 0 3 0 7 50 -1 -1 0.000 1 0.0000 4050 3825 675 450 4050 3825 4725 4275
4 1 0 45 -1 18 12 0.0000 4 150 1050 4050 3915 Translation\001
-6
6 6480 2205 8370 4995
2 2 0 2 0 7 55 -1 -1 0.000 0 0 -1 0 0 5
6525 2250 8325 2250 8325 4950 6525 4950 6525 2250
4 0 0 45 -1 18 12 0.0000 4 195 1560 6750 2925 var = range(aux);\001
4 0 32 55 -1 18 12 0.0000 4 195 990 6750 3240 per_frame:\001
4 0 32 55 -1 18 12 0.0000 4 180 960 6975 3555 rot = time;\001
4 0 32 55 -1 18 12 0.0000 4 135 1110 6975 3870 zoom = var;\001
4 0 32 55 -1 18 12 0.0000 4 105 840 6750 2610 ...more...\001
4 0 32 55 -1 18 12 0.0000 4 105 840 6975 4185 ...more...\001
-6
6 1305 3825 1665 4185
1 3 0 2 0 7 50 -1 -1 0.000 1 0.0000 1485 4005 127 127 1485 4005 1395 3915
2 1 0 2 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
1485 4005 1395 3915
-6
6 1485 3285 1665 3600
5 1 0 2 0 7 50 -1 -1 0.000 0 0 0 0 1575.000 3375.000 1530 3375 1575 3330 1620 3375
5 1 0 2 0 7 50 -1 -1 0.000 0 1 0 0 1575.000 3510.000 1530 3510 1575 3555 1620 3510
1 3 0 2 0 7 47 -1 15 0.000 1 0.0000 1575 3375 45 45 1575 3375 1620 3375
2 1 0 2 0 7 49 -1 -1 0.000 0 0 -1 0 0 2
1530 3375 1530 3510
2 1 0 2 0 7 49 -1 -1 0.000 0 0 -1 0 0 2
1620 3375 1620 3510
-6
1 3 0 2 0 7 50 -1 -1 0.000 1 0.0000 1080 3420 90 90 1080 3420 1170 3420
1 3 0 2 0 7 50 -1 -1 0.000 1 0.0000 1350 3420 90 90 1350 3420 1440 3420
2 1 0 2 0 7 53 -1 -1 0.000 0 0 -1 0 0 2
3600 5355 4725 5355
2 1 0 2 0 7 53 -1 -1 0.000 0 0 -1 0 0 2
3600 5535 4725 5535
2 1 0 2 0 7 53 -1 -1 0.000 0 0 -1 0 0 2
3600 5715 4725 5715
2 1 0 2 0 7 53 -1 -1 0.000 0 0 -1 0 0 2
3600 5895 4725 5895
2 2 0 2 0 7 55 -1 -1 0.000 0 0 -1 0 0 5
3600 5175 4725 5175 4725 6075 3600 6075 3600 5175
2 2 0 3 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
2925 4950 4950 4950 4950 7200 2925 7200 2925 4950
2 1 0 2 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
1 1 2.00 60.00 60.00
4050 4905 4050 4320
2 1 0 2 0 7 50 -1 -1 0.000 0 0 -1 1 0 3
1 1 2.00 60.00 60.00
1305 4545 1305 5625 2880 5625
2 1 0 2 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
1 1 2.00 60.00 60.00
1890 3825 3330 3825
2 1 0 2 0 7 50 -1 -1 0.000 0 0 7 1 0 3
1 1 2.00 60.00 60.00
4770 3825 6885 3825 6885 2970
2 1 0 2 0 7 50 -1 -1 0.000 0 0 -1 1 0 3
1 1 2.00 60.00 60.00
6705 2880 4050 2880 4050 3330
2 1 0 2 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
1080 4320 1080 3645
2 1 0 4 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
990 4095 1170 4095
2 2 0 3 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
810 3150 1800 3150 1800 4500 810 4500 810 3150
4 1 0 45 -1 18 12 0.0000 4 150 525 12330 6570 Patch\001
4 1 0 45 -1 18 12 0.0000 4 150 435 3285 5355 dev1\001
4 1 0 45 -1 18 12 0.0000 4 150 435 3285 6480 dev2\001
4 0 0 45 -1 18 12 0.0000 4 150 1380 4185 4725 Characteristics\001
4 1 0 45 -1 18 12 0.0000 4 150 630 2610 3735 Events\001
4 1 0 45 -1 18 12 0.0000 4 150 1500 3960 7470 Device database\001
4 1 0 45 -1 18 12 0.0000 4 150 825 4680 2790 Function\001
4 1 0 45 -1 18 12 0.0000 4 195 690 2115 5535 Identify\001
4 1 0 45 -1 18 12 0.0000 4 195 1605 5625 3735 Variable changes\001
4 1 0 45 -1 18 12 0.0000 4 150 525 7470 5220 Patch\001
4 1 0 45 -1 18 12 0.0000 4 150 1080 1305 3015 MIDI device\001
8 changes: 4 additions & 4 deletions src/compiler/doc/bind.fig
Original file line number Diff line number Diff line change
@@ -134,9 +134,7 @@ Single
2 2 0 3 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
7425 7650 10125 7650 10125 8100 7425 8100 7425 7650
4 1 0 50 -1 18 12 0.0000 4 150 690 5400 6255 MIDICC\001
4 1 0 50 -1 18 12 0.0000 4 105 330 4815 6255 aux\001
4 1 0 50 -1 18 12 0.0000 4 135 105 5850 6255 1\001
4 1 0 50 -1 18 12 0.0000 4 135 210 6300 6255 16\001
4 1 0 50 -1 18 12 0.0000 4 135 315 6300 6255 103\001
4 1 0 50 -1 18 12 0.0000 4 195 300 6750 6255 pot\001
4 1 0 45 -1 18 12 0.0000 4 150 435 4185 6030 dev1\001
4 1 0 50 -1 18 12 0.0000 4 150 1050 10350 3555 Translators\001
@@ -151,9 +149,11 @@ Single
4 1 0 50 -1 18 12 0.0000 4 150 330 8955 8370 Ctrl\001
4 1 0 50 -1 18 12 0.0000 4 150 435 9450 8370 Proc\001
4 1 0 50 -1 18 12 0.0000 4 150 315 9900 8370 Var\001
4 1 0 50 -1 18 12 0.0000 4 135 210 8955 7965 16\001
4 1 0 50 -1 18 12 0.0000 4 135 315 8955 7965 103\001
4 1 0 50 -1 18 12 0.0000 4 150 480 8415 8370 Chan\001
4 1 0 50 -1 18 12 0.0000 4 135 105 8415 7965 1\001
4 1 0 50 -1 18 12 0.0000 4 195 450 7785 8370 Type\001
4 1 0 50 -1 18 12 0.0000 4 150 690 7785 7965 MIDICC\001
4 1 0 50 -1 18 12 0.0000 4 195 1365 8730 8775 Stimulus entry\001
4 1 0 50 -1 18 12 0.0000 4 135 105 5940 6255 1\001
4 1 0 50 -1 18 12 0.0000 4 105 330 4770 6255 aux\001
Loading