@@ -65,6 +65,29 @@ end Operator
65
65
#Define HH_DISPLAY_INDEX 0002
66
66
#Define HH_DISPLAY_SEARCH 0003
67
67
#Define HH_CLOSE_ALL 0018
68
+ Const CHECK_PISTA_ROLL= 5
69
+ Const NoGrabar= 0
70
+ Const BTN_LIBERADO= 0
71
+ Const GrabarPatronaDisco= 4
72
+ Const GrabarPistaEjecucion= 1
73
+ Const PatronDeEjecucionCompleto= 3
74
+ Const LISTA_DE_PISTAS = 3
75
+ Const LISTA_DE_EJECUCIONES = 4
76
+ Const CHECK_SELECCION_EJECUCION= 6
77
+ Const CHECK_GRABAR_EJECUCION = 7
78
+ Const GRUPO_BTNS_MIDI = 8
79
+ Const BTN_MIDI_PARAR = 9
80
+ Const BTN_MIDI_GRABAR = 10
81
+ Const BTN_MIDI_EJECUTAR = 14
82
+ Const GRUPO_BTNS_MANUAL = 13
83
+ Const BTN_ROLL_PARAR = 11
84
+ Const BTN_ROLL_EJECUTAR = 12
85
+ Const BTN_ROLL_GRABAR_MIDI = 15
86
+ Const BTN_PARAM_PORTSAL = 16
87
+ Const BTN_PARAM_VOL = 17
88
+ Const BTN_PARAM_PAN = 18
89
+ Const BTN_PARAM_PATCH = 19
90
+ Const BTN_PARAM_CANAL = 20
68
91
69
92
Dim HtmlHelpA As Function (hwndCaller As HWND,pszFile As LPCSTR,uCommand As UINT,dwData As DWORD_PTR) As HWND
70
93
Dim HTMLHelp As Function ( hWndCaller As hwnd, pszFile As String , ByVal uCommand As Integer , dwData As DWORD_PTR) As Integer
@@ -572,8 +595,9 @@ Dim Shared As Integer pesoDur (0 To 182) => {0, _ 'era 108
572
595
17500000 , 8750000 , 4375000 , 2187500 , 1093750 , 546875 , 273438 , 136719 , 68360 , _ '163 171
573
596
6666666 , 3333333 , 1666666 , 833333 , 416666 , 208333 , 104166 , 52083 , 26042 , 0 , 0 } '172 182
574
597
575
- Dim Shared As String nombreArchivo, TCompas,menuOldStr
576
-
598
+ Dim Shared As String nombreArchivo, TCompas,menuOldStr, ticksdefault,nombrePatron
599
+ Dim Shared As Integer nroCompasesPatron, nroTicksPatron
600
+ nombreArchivo= "" : ticksdefault= "240"
577
601
Dim Shared As UByte Vfuerte= 120 ,Vsemifuerte= 100 ,Vdebil= 80
578
602
TCompas = "4/4"
579
603
'Dim Shared As Integer MaxPosTrack(0 To 32) ' cada track tendra su max pos
@@ -847,7 +871,7 @@ Declare Function lugarNota (lugar As integer) As Integer
847
871
Declare Sub metronomo ()
848
872
849
873
COMMON Shared As Long eventc
850
- Common Shared As hwnd hwndC, hwndListBox, hwndListEjec
874
+ Common Shared As hwnd hwndC, hwndListBox, hwndListEjec, hwndPatronEjec
851
875
Common Shared As BOOLEAN ROLLCARGADO, TRACKCARGADO, CANCIONCARGADA , NADACARGADO, CANCIONCREADA,EJECCARGADA
852
876
Common Shared As string pathdir,nombre,nombreMidiIn
853
877
common Shared As String NombreCancion,NombrePista
@@ -857,7 +881,7 @@ Common Shared As Any Ptr surface,surf2
857
881
Common Shared as any ptr thread1, thread2,threadPenta,thread3,pubi,threadloop,p1,threadMenu, threadmetronomo
858
882
Common Shared As Any Ptr thread4, threadGrabamidi
859
883
Common Shared As Integer nfont,nmxold,nmyold,nancho,nalto,ndeltaip,nVerEscalasAuxiliares,nanchofig,nVerCifradoAcordes
860
- Common Shared As Integer mxold,myold, w,h,grado,trasponer,canalx
884
+ Common Shared As Integer mxold,myold, w,h,grado,trasponer,canalx, HabilitarPatrones
861
885
Common Shared As ubyte patchsal
862
886
Common Shared As Integer posicion,posicionOld,posn,terminar
863
887
COMMON Shared As Integer MaxPos,ntk,CPlay, guardopos,ntktab,ntoca,ntkp,npi,calltoca,npo
@@ -902,7 +926,7 @@ Type midicod Field=1
902
926
As UByte vel
903
927
As Integer partes
904
928
End Type
905
- Redim shared CargaIn ( 1 To 4000 ) As midicod
929
+ Redim shared CargaIn ( 1 To 384000 ) As midicod
906
930
' a disco puedo grabarsolo CargaIn para cada ejecucion y al cargarla reconstruir en memoria
907
931
' los Toca,,,,eso es!!! y sumando todas las partes y dividiento por TickChico obtengo
908
932
' elmaxposy por ende el valor a dimensioar el Toca....
@@ -961,7 +985,7 @@ Dim Shared As Double t2call=0, t1play=0
961
985
962
986
Type paramGrabamidi
963
987
As vivo toc
964
- As Integer tocatope
988
+ '' As Integer tocatope ''' no hace falta esta estructura solo contiene una pista
965
989
As ejecparam tocap
966
990
End Type
967
991
0 commit comments