Python and Main Page: Difference between pages

From EMC23 - Satellite Of Love
(Difference between pages)
Jump to navigation Jump to search
mNo edit summary
 
 
Line 1: Line 1:
Python is an interpreted high-level general-purpose programming language. Its design philosophy emphasizes code readability with its use of significant indentation. Its language constructs as well as its object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects.
<strong>Electronic Music Coders Amsterdam</strong>


The standard prrogramming language for data science and for us especially:
https://www.meetup.com/Electronic-Music-Coding


* [[Machine Learning]], [[Deep  Learning]] using [[tensorflow]] or [[pytorch]])
== The Group ==


* audio analysis and manipulation using [[librosa]]
* [https://www.meetup.com/Electronic-Music-Coding/ Electronic Music Coding Amsterdam]


Also used to interface with 3d software such as poser 3d/blender and audacity and Libre Office.
* [http://www.emc23.com The Blog]
* [http://wiki.emc23.com This Wiki]
* [https://twitter.com/emc23dotcom/ Twitter Account]
* [https://github.com/EMC23 Github Account]


===Statements and control flow===
== The Topics ==
Python's Statement include (among others):
=== [[Coding]] ===,
* The Assignment (computer science)|assignment statement, using a single equals sign <code>=</code>.
=== [[Creative Coding]]===,
* The <code>if-then-else|if</code> statement, which conditionally executes a block of code, along with <code>else</code> and <code>elif</code> (a contraction of else-if).
=== [[Live Coding]]===,
[[Studio Technology]], [[Installations]], [[Laptop Jamming]], [[Modular]], [[DIY]], [[Composition]], [[Digital Instruments]], [[Sound Design]], [[Generative Music]], [[Deep Learning]], [[DSP]], [[Graphic Interfaces]], [[DJing]] and [[Game Music]]


* The <code>Foreach#Python|for]]</code> statement, which iterates over an iterable object, capturing each element to a local variable for use by the attached block.
== The Goal==
Meet, Share Knowledge, Network.


* The <code>While loop#Python|while]]</code> statement, which executes a block of code as long as its condition is true.


* The <code>Exception handling syntax#Python|try</code> statement, which allows exceptions raised in its attached code block to be caught and handled by <code>except</code> clauses; it also ensures that clean-up code in a <code>finally</code> block will always be run regardless of how the block exits.
== The Projects==


* The <code>raise</code> statement, used to raise a specified exception or re-raise a caught exception.
=== Daily - Audio/Visual Streaming ===
[[OBS]] and [[MSDP]] and Ableton [[Max4Live]] Electronic Audio/visual stream


* The <code>class</code> statement, which executes a block of code and attaches its local namespace to a class (computer science)|class, for use in object-oriented programming.
This is where we connect Ableton Live to a [[Node.js]] server via [[Max]] , Midi sync it to MSDP and pipe it to OBS  which combines the video with [[VLC]] video footage. The video sources are as diverse as the Archive.org, UBU, open culture and social media platforms.  
* The <code>def</code> statement, which defines a function or method.


* The <code>dispose pattern#Language constructs|with</code> statement, which encloses a code block within a context manager (for example, acquiring a [[lock (computer science)|lock]] before the block of code is run and releasing the lock afterwards, or opening a [[Computer file|file]] and then closing it), allowing resource acquisition is initialization (RAII)-like behavior and replaces a common try/finally idiom.
Always looking for new show material and ideas.


* The [[break statement|<code>break</code>]] statement, exits from a loop.
=== Weekly - Friday Jamming Session ===
* The <code>continue</code> statement, skips this iteration and continues with the next item.
* The <code>del</code> statement, removes a variable, which means the reference from the name to the value is deleted and trying to use that variable will cause an error. A deleted variable can be reassigned.
* The <code>pass</code> statement, which serves as a [[NOP (code)|NOP]]. It is syntactically needed to create an empty code block.
* The <code>assertion (programming)|assert</code> statement, used during debugging to check for conditions that should apply.
* The <code>yield</code> statement, which returns a value from a generator (computer programming)#Python|generator function and <code>yield</code> is also an operator. This form is used to implement coroutines.
* The <code>return</code> statement, used to return a value from a function.
* The <code>include directive|import</code> statement, which is used to import modules whose functions or variables can be used in the current program.


Ableton Link and/or midi sync up. Every genre investigated. Participants take turns in groups of varying size


=== Evening Study Classes ===


Tues, Wed, Thurs
1 on 1 Audio Programming Workshops
* [[Javascript]] ([[Web Audio]])
* [[Pure Data]] or [[Max]]/Msp (students choce)
* [[C++]] (Juice or VULT) [[VCVRack]] or [[VST]] audio plugin
* [[Python]] Machine Learning
* Hardware [[Bela]] or [[Arduino]] (Students choice)
* [[Livestreaming]]


= Essential Software =  
=== Monthly - Open Session ===
== Tensorflow ==
Bandcamp Friday Livestream


== Librosa ==
=== Workshops ===


== Keras ==
Connect a midi controller to the browser


== Music21 ==
https://gizmodo.com/a-beginners-guide-to-the-synth-1736978695


== Matplotlib ==
* [[Build a synth in C++]]
Graphing and visual displays in Music21 are provided by Matplotlib. Matplotlib itself has additional dependencies (such as NumPy).
* [[Build a synth in Chrome Browser]] Javascript
* [[Build a synth in VCVRack]]
* [[Build a synth in Reaktor]]
* [[Build a synth in Reaktor Blocks]]
* [[Build a synth in Pure Data]]
* [[Build a synth in Max For Live]]


On Mac if you are using the version from python.org, run:
==Minimum Requirements ==


pip3 install matplotlib
* Laptop
* [[Asio]] compliant soundcard
* [[Midi Controller]] (will be supplied for first few sessions)
* Bring headphones if you have them


and you should be set. If you are using a version from anaconda (conda, miniconda, etc.), you should run these lines:
==Cost ==
*  Evening sessions : 300 Euro per Quarter


conda install matplotlib
==The Place ==
conda install python.app
the Satellite Of Love
numpy
Numeric extensions to Python. Included with Matplotlib.


On Mac if you are using the version of python 3 from python.org, run:
Panamalaan 6d


pip3 install numpy
1019 NE Amsterdam
and you should be set.
 
== scipy ==
Scientific extensions to Python. These are used to accelerate audio searching and fast-Fourier transforms in music21. If you will only be using symbolic music, it is not used, and not essential in any case.
 
On Mac if you are using the version from python.org, run:
 
pip3 install scipy
and you should be set.
 
== pyaudio ==
Allows for recording within python. We use it for the audioSearch module, and nowhere else. Not essential. Requires portaudio and, on the Mac, the XCode command-line development tools.
 
On the Mac, run:
 
xcode-select --install
brew install portaudio
pip3 install pyaudio
 
== pygame ==
Allows for realtime MIDI performance. We use it in the midi.realtime module, and nowhere else. It is therefore not essential.
 
On the Mac, run:
 
pip3 install pygame
Installing Additional Software Components
Additional functionality of music21 is available with the installation of numerous helper applications. While not essential for all applications, these tools will aid in working with music21.
 
== MuseScore ==
MuseScore offers a free, full-featured, cross-platform (Windows, Mac OS, Ubuntu, Debian, and Fedora) application for viewing and editing music notation. MuseScore can import and export MusicXML, and provides an excellent way to view, edit, and export musical data for working in music21. Downloading MuseScore (version 2 or higher) is highly recommended for working with music21.
 
https://musescore.org/en
 
== Lilypond ==
Lilypond is a free, open-source music display program that can produce beautiful scores. Music21 can generate PDF or PNG (like JPG) files automatically if Lilypond is installed on your system. Download it at:
 
http://lilypond.org/

Revision as of 01:54, 26 August 2021

Electronic Music Coders Amsterdam

https://www.meetup.com/Electronic-Music-Coding

The Group[edit]

The Topics[edit]

=== Coding ===, === Creative Coding===, === Live Coding===, Studio Technology, Installations, Laptop Jamming, Modular, DIY, Composition, Digital Instruments, Sound Design, Generative Music, Deep Learning, DSP, Graphic Interfaces, DJing and Game Music

The Goal[edit]

Meet, Share Knowledge, Network.


The Projects[edit]

Daily - Audio/Visual Streaming[edit]

OBS and MSDP and Ableton Max4Live Electronic Audio/visual stream

This is where we connect Ableton Live to a Node.js server via Max , Midi sync it to MSDP and pipe it to OBS which combines the video with VLC video footage. The video sources are as diverse as the Archive.org, UBU, open culture and social media platforms.

Always looking for new show material and ideas.

Weekly - Friday Jamming Session[edit]

Ableton Link and/or midi sync up. Every genre investigated. Participants take turns in groups of varying size

Evening Study Classes[edit]

Tues, Wed, Thurs 1 on 1 Audio Programming Workshops

Monthly - Open Session[edit]

Bandcamp Friday Livestream

Workshops[edit]

Connect a midi controller to the browser

https://gizmodo.com/a-beginners-guide-to-the-synth-1736978695

Minimum Requirements[edit]

  • Laptop
  • Asio compliant soundcard
  • Midi Controller (will be supplied for first few sessions)
  • Bring headphones if you have them

Cost[edit]

  • Evening sessions : 300 Euro per Quarter

The Place[edit]

the Satellite Of Love

Panamalaan 6d

1019 NE Amsterdam