SlideShare a Scribd company logo
on init
set_script_title("CC To PC Marcelo Duarte")
message("")
declare ui_menu $Channel1
declare $count
declare !port[4]
!port[0] := "[A]"
!port[1] := "[B]"
!port[2] := "[C]"
!port[3] := "[D]"
while ($count <= 63)
add_menu_item($Channel1,"Port: " & !port[$count / 16] & " Ch: " & $count mod
16 + 1,$count)
inc($count)
end while
make_persistent($Channel1)
end on
on midi_in
message($MIDI_BYTE_2)
if ($MIDI_COMMAND = 176 and $MIDI_CHANNEL = $Channel1 and (($MIDI_BYTE_1
>= 20 and $MIDI_BYTE_1 <= 23) or ($MIDI_BYTE_1 >= 32 and $MIDI_BYTE_1 <= 35)))
ignore_midi
if ($MIDI_BYTE_2 < 42)
set_midi(0,192,$MIDI_BYTE_1 - 20,0)
end if
if (($MIDI_BYTE_2 > 42) and ($MIDI_BYTE_2 < 84))
set_midi(0,192,$MIDI_BYTE_1 - 12,0)
end if
if ($MIDI_BYTE_2 > 84)
set_midi(0,192,$MIDI_BYTE_1,0)
end if
end if
if ($MIDI_COMMAND = 176 and $MIDI_CHANNEL = $Channel1 and ($MIDI_BYTE_1 >= 24
and $MIDI_BYTE_1 <= 31))
ignore_midi
set_midi($Channel1,192,$MIDI_BYTE_1,0)
end if
end on

More Related Content

What's hot

Vb
VbVb
Ignite 8 Cincinnati
Ignite 8 Cincinnati Ignite 8 Cincinnati
Ignite 8 Cincinnati
Marty B
 
Oprerator overloading
Oprerator overloadingOprerator overloading
Oprerator overloading
Parthipan Parthi
 
14. CodeIgniter adaugarea inregistrarilor
14. CodeIgniter adaugarea inregistrarilor14. CodeIgniter adaugarea inregistrarilor
14. CodeIgniter adaugarea inregistrarilor
Razvan Raducanu, PhD
 
Fred
FredFred
Fred
09461193
 
Simple example program for inheritance in c++
Simple example program for inheritance in c++Simple example program for inheritance in c++
Simple example program for inheritance in c++
Benazir Fathima
 
Area de un triangulo
Area de un trianguloArea de un triangulo
Area de un triangulo
Ivan Ramirez Iglesias
 
Simpson and lagranje dalambair math methods
Simpson and lagranje dalambair math methods Simpson and lagranje dalambair math methods
Simpson and lagranje dalambair math methods
kinan keshkeh
 
cara membuat menu file batch di free dos
cara membuat menu file batch di free doscara membuat menu file batch di free dos
cara membuat menu file batch di free dos
Henry Santoso
 
การใช้ฟังก์ชัน
การใช้ฟังก์ชันการใช้ฟังก์ชัน
การใช้ฟังก์ชัน
Supang Suksai
 
Factorial
FactorialFactorial
Factorial
Ankit Dubey
 

What's hot (11)

Vb
VbVb
Vb
 
Ignite 8 Cincinnati
Ignite 8 Cincinnati Ignite 8 Cincinnati
Ignite 8 Cincinnati
 
Oprerator overloading
Oprerator overloadingOprerator overloading
Oprerator overloading
 
14. CodeIgniter adaugarea inregistrarilor
14. CodeIgniter adaugarea inregistrarilor14. CodeIgniter adaugarea inregistrarilor
14. CodeIgniter adaugarea inregistrarilor
 
Fred
FredFred
Fred
 
Simple example program for inheritance in c++
Simple example program for inheritance in c++Simple example program for inheritance in c++
Simple example program for inheritance in c++
 
Area de un triangulo
Area de un trianguloArea de un triangulo
Area de un triangulo
 
Simpson and lagranje dalambair math methods
Simpson and lagranje dalambair math methods Simpson and lagranje dalambair math methods
Simpson and lagranje dalambair math methods
 
cara membuat menu file batch di free dos
cara membuat menu file batch di free doscara membuat menu file batch di free dos
cara membuat menu file batch di free dos
 
การใช้ฟังก์ชัน
การใช้ฟังก์ชันการใช้ฟังก์ชัน
การใช้ฟังก์ชัน
 
Factorial
FactorialFactorial
Factorial
 

Similar to Midi pc to_cc_port_for_kontakt_marcelo port

'C' language notes (a.p)
'C' language notes (a.p)'C' language notes (a.p)
'C' language notes (a.p)
Ashishchinu
 
Pop3ck sh
Pop3ck shPop3ck sh
Pop3ck sh
Ben Pope
 
Yolygambas
YolygambasYolygambas
Yolygambas
rosyp
 
Yolygambas
YolygambasYolygambas
Yolygambas
guest286373
 
Yolygambas
YolygambasYolygambas
Yolygambas
guest286373
 
Ejemplo En Gamabas
Ejemplo En GamabasEjemplo En Gamabas
Ejemplo En Gamabas
eduann
 
深入淺出C語言
深入淺出C語言深入淺出C語言
深入淺出C語言
Simen Li
 
Basic python programs
Basic python programsBasic python programs
Basic python programs
RaginiJain21
 
Crash Course to SQL in PHP
Crash Course to SQL in PHPCrash Course to SQL in PHP
Crash Course to SQL in PHP
webhostingguy
 
Proyecto 2er Parcial
Proyecto 2er ParcialProyecto 2er Parcial
Proyecto 2er Parcial
Yuliana9_7
 
Yuliana
YulianaYuliana
Yuliana
Yulissa98564
 
ejemplos gambas
ejemplos gambasejemplos gambas
ejemplos gambas
eduann
 
distill
distilldistill

Similar to Midi pc to_cc_port_for_kontakt_marcelo port (13)

'C' language notes (a.p)
'C' language notes (a.p)'C' language notes (a.p)
'C' language notes (a.p)
 
Pop3ck sh
Pop3ck shPop3ck sh
Pop3ck sh
 
Yolygambas
YolygambasYolygambas
Yolygambas
 
Yolygambas
YolygambasYolygambas
Yolygambas
 
Yolygambas
YolygambasYolygambas
Yolygambas
 
Ejemplo En Gamabas
Ejemplo En GamabasEjemplo En Gamabas
Ejemplo En Gamabas
 
深入淺出C語言
深入淺出C語言深入淺出C語言
深入淺出C語言
 
Basic python programs
Basic python programsBasic python programs
Basic python programs
 
Crash Course to SQL in PHP
Crash Course to SQL in PHPCrash Course to SQL in PHP
Crash Course to SQL in PHP
 
Proyecto 2er Parcial
Proyecto 2er ParcialProyecto 2er Parcial
Proyecto 2er Parcial
 
Yuliana
YulianaYuliana
Yuliana
 
ejemplos gambas
ejemplos gambasejemplos gambas
ejemplos gambas
 
distill
distilldistill
distill
 

Recently uploaded

Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
Boost Your Savings with These Money Management Apps
Boost Your Savings with These Money Management AppsBoost Your Savings with These Money Management Apps
Boost Your Savings with These Money Management Apps
Jhone kinadey
 
Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
sjcobrien
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Photoshop Tutorial for Beginners (2024 Edition)
Photoshop Tutorial for Beginners (2024 Edition)Photoshop Tutorial for Beginners (2024 Edition)
Photoshop Tutorial for Beginners (2024 Edition)
alowpalsadig
 
Modelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - AmsterdamModelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - Amsterdam
Alberto Brandolini
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
ShulagnaSarkar2
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
Grant Fritchey
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
brainerhub1
 
ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.
Maitrey Patel
 
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Paul Brebner
 
The Comprehensive Guide to Validating Audio-Visual Performances.pdf
The Comprehensive Guide to Validating Audio-Visual Performances.pdfThe Comprehensive Guide to Validating Audio-Visual Performances.pdf
The Comprehensive Guide to Validating Audio-Visual Performances.pdf
kalichargn70th171
 
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
dakas1
 
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data PlatformAlluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio, Inc.
 
The Rising Future of CPaaS in the Middle East 2024
The Rising Future of CPaaS in the Middle East 2024The Rising Future of CPaaS in the Middle East 2024
The Rising Future of CPaaS in the Middle East 2024
Yara Milbes
 
Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
Marcin Chrost
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
Alina Yurenko
 
42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert
vaishalijagtap12
 
Kubernetes at Scale: Going Multi-Cluster with Istio
Kubernetes at Scale:  Going Multi-Cluster  with IstioKubernetes at Scale:  Going Multi-Cluster  with Istio
Kubernetes at Scale: Going Multi-Cluster with Istio
Severalnines
 
TMU毕业证书精仿办理
TMU毕业证书精仿办理TMU毕业证书精仿办理
TMU毕业证书精仿办理
aeeva
 

Recently uploaded (20)

Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
Boost Your Savings with These Money Management Apps
Boost Your Savings with These Money Management AppsBoost Your Savings with These Money Management Apps
Boost Your Savings with These Money Management Apps
 
Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 
Photoshop Tutorial for Beginners (2024 Edition)
Photoshop Tutorial for Beginners (2024 Edition)Photoshop Tutorial for Beginners (2024 Edition)
Photoshop Tutorial for Beginners (2024 Edition)
 
Modelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - AmsterdamModelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - Amsterdam
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
 
ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.
 
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
 
The Comprehensive Guide to Validating Audio-Visual Performances.pdf
The Comprehensive Guide to Validating Audio-Visual Performances.pdfThe Comprehensive Guide to Validating Audio-Visual Performances.pdf
The Comprehensive Guide to Validating Audio-Visual Performances.pdf
 
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
 
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data PlatformAlluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
 
The Rising Future of CPaaS in the Middle East 2024
The Rising Future of CPaaS in the Middle East 2024The Rising Future of CPaaS in the Middle East 2024
The Rising Future of CPaaS in the Middle East 2024
 
Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
 
42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert
 
Kubernetes at Scale: Going Multi-Cluster with Istio
Kubernetes at Scale:  Going Multi-Cluster  with IstioKubernetes at Scale:  Going Multi-Cluster  with Istio
Kubernetes at Scale: Going Multi-Cluster with Istio
 
TMU毕业证书精仿办理
TMU毕业证书精仿办理TMU毕业证书精仿办理
TMU毕业证书精仿办理
 

Midi pc to_cc_port_for_kontakt_marcelo port

  • 1. on init set_script_title("CC To PC Marcelo Duarte") message("") declare ui_menu $Channel1 declare $count declare !port[4] !port[0] := "[A]" !port[1] := "[B]" !port[2] := "[C]" !port[3] := "[D]" while ($count <= 63) add_menu_item($Channel1,"Port: " & !port[$count / 16] & " Ch: " & $count mod 16 + 1,$count) inc($count) end while make_persistent($Channel1) end on on midi_in message($MIDI_BYTE_2) if ($MIDI_COMMAND = 176 and $MIDI_CHANNEL = $Channel1 and (($MIDI_BYTE_1 >= 20 and $MIDI_BYTE_1 <= 23) or ($MIDI_BYTE_1 >= 32 and $MIDI_BYTE_1 <= 35))) ignore_midi if ($MIDI_BYTE_2 < 42) set_midi(0,192,$MIDI_BYTE_1 - 20,0) end if if (($MIDI_BYTE_2 > 42) and ($MIDI_BYTE_2 < 84)) set_midi(0,192,$MIDI_BYTE_1 - 12,0) end if if ($MIDI_BYTE_2 > 84) set_midi(0,192,$MIDI_BYTE_1,0) end if end if if ($MIDI_COMMAND = 176 and $MIDI_CHANNEL = $Channel1 and ($MIDI_BYTE_1 >= 24 and $MIDI_BYTE_1 <= 31)) ignore_midi set_midi($Channel1,192,$MIDI_BYTE_1,0) end if end on