[bootlin/training-materials updates] master: audio-agenda: factorize (0cfa690e)
Alexandre Belloni
alexandre.belloni at bootlin.com
Sun Apr 23 21:36:18 CEST 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/0cfa690e6371b24bd5a88ff4b673afe1acd70eb9
>---------------------------------------------------------------
commit 0cfa690e6371b24bd5a88ff4b673afe1acd70eb9
Author: Alexandre Belloni <alexandre.belloni at bootlin.com>
Date: Fri Mar 24 17:59:14 2023 +0100
audio-agenda: factorize
Signed-off-by: Alexandre Belloni <alexandre.belloni at bootlin.com>
>---------------------------------------------------------------
0cfa690e6371b24bd5a88ff4b673afe1acd70eb9
agenda/audio-agenda.tex | 73 ++-----------------------------
agenda/audio-online-agenda.tex | 76 +++-----------------------------
agenda/audio.inc | 98 ++++++++++++++++++++++++++++++++++++++++++
3 files changed, 107 insertions(+), 140 deletions(-)
diff --git a/agenda/audio-agenda.tex b/agenda/audio-agenda.tex
index cfa85bc2..b311072a 100644
--- a/agenda/audio-agenda.tex
+++ b/agenda/audio-agenda.tex
@@ -1,9 +1,9 @@
\documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
-\def \trainingtitle{Audio with embedded Linux}
-\def \trainingduration{On-site training, 2 days}
+\def \trainingtype{onsite}
\def \agendalanguage{english}
-\def \training{audio}
+
+\input{agenda/audio.inc}
\usepackage{agenda}
@@ -11,72 +11,7 @@
\feshowtitle
-\feagendasummaryitem{Title}{
- {\bf \trainingtitle{}}
-}
-\feagendasummaryitem{Training objectives}{
- \begin{itemize}
- \vspace{-0.5cm}
- \item Be able to understand the basics of audio theory: analog
- vs. digital, sampling theory, audio formats and audio hardware
- \item Be able to understand the architecture of ASoC, the Linux
- kernel subsystem for audio devices used in embedded systems, the
- role of the different drivers and the Device Tree representation
- \item Be able to write a Device Tree describing the topology of
- audio hardware on an embedded Linux system
- \item Be able to use complex audio routing capabilities, audio power
- management capabilities, and complex audio components such as
- auxiliary devices or amplifiers
- \item Be able to configuration the ALSA user-space components and
- ALSA audio widgets
- \item Be able to understand the available user-space APIs for
- playing and capturing audio, as well as audio servers such as
- Pulseaudio, Pipewire or Jack, and the GStreamer multimedia
- pipeline library
- \vspace{-0.5cm}
- \end{itemize}
-}
-\feagendasummaryitem{Duration}{
- {\bf Two} days - 16 hours (8 hours per day).
-}
-\feagendasummaryitem{Pedagogics}{
- \begin{itemize}
- \vspace{-0.5cm}
- \item Lectures delivered by the trainer: 50\% of the duration
- \item Practical demonstrations done by the trainer: 50\% of the
- duration
- \item Electronic copies of presentations.
- \vspace{-0.5cm}
- \end{itemize}
-}
-\feagendasummaryitem{Trainer}{
- Alexandre Belloni
- \newline \url{https://bootlin.com/company/staff/alexandre-belloni/}
-}
-\feagendasummaryitem{Language}{
- Oral lectures: English
- \newline Materials: English.
-}
-\feagendasummaryitem{Audience}{
- Companies and engineers that are developing embedded Linux systems
- that include audio features.
-}
-\feagendasummaryitem{Prerequisites}{
- \begin{itemize}
- \prerequisitecommandline
- \prerequisiteembeddedlinux
- \prerequisiteenglish
- \end{itemize}
-}
-\feagendasummaryitem{Required equipment}{
- {\bf For on-site sessions at our customer location, the customer must provide}:
- \begin{itemize}
- \item Video projector
- \item Drawing board
- \end{itemize}
-}
-\certificate{}
-\disabilities{}
+\feshowinfo
\section{Day 1}
diff --git a/agenda/audio-online-agenda.tex b/agenda/audio-online-agenda.tex
index aaf63d18..9d1c205d 100644
--- a/agenda/audio-online-agenda.tex
+++ b/agenda/audio-online-agenda.tex
@@ -2,8 +2,11 @@
\def \trainingtitle{Audio with embedded Linux}
\def \trainingduration{On-line seminar, 3 sessions of 4 hours}
-\def \agendalanguage{english}
\def \training{audio}
+\def \trainingtype{online}
+\def \agendalanguage{english}
+
+\input{agenda/audio.inc}
\usepackage{agenda}
@@ -11,76 +14,7 @@
\feshowtitle
-\feagendasummaryitem{Title}{
- {\bf \trainingtitle{}}
-}
-\feagendasummaryitem{Training objectives}{
- \begin{itemize}
- \vspace{-0.5cm}
- \item Be able to understand the basics of audio theory: analog
- vs. digital, sampling theory, audio formats and audio hardware
- \item Be able to understand the architecture of ASoC, the Linux
- kernel subsystem for audio devices used in embedded systems, the
- role of the different drivers and the Device Tree representation
- \item Be able to write a Device Tree describing the topology of
- audio hardware on an embedded Linux system
- \item Be able to use complex audio routing capabilities, audio power
- management capabilities, and complex audio components such as
- auxiliary devices or amplifiers
- \item Be able to configuration the ALSA user-space components and
- ALSA audio widgets
- \item Be able to understand the available user-space APIs for
- playing and capturing audio, as well as audio servers such as
- Pulseaudio, Pipewire or Jack, and the GStreamer multimedia
- pipeline library
- \vspace{-0.5cm}
- \end{itemize}
-}
-\feagendasummaryitem{Duration}{
- {\bf Three} half days - 12 hours (4 hours per half day).
-}
-\feagendasummaryitem{Pedagogics}{
- \begin{itemize}
- \vspace{-0.5cm}
- \item Lectures delivered by the trainer, over
- video-conference. Participants can ask questions at any time.
- \item Practical demonstrations done by the trainer, over
- video-conference. Participants can ask questions at any time.
- \item Instant messaging for questions between sessions (replies
- under 24h, outside of week-ends and bank holidays).
- \item Electronic copies of presentations.
- \vspace{-0.5cm}
- \end{itemize}
-}
-\feagendasummaryitem{Trainer}{
- Alexandre Belloni
- \newline \url{https://bootlin.com/company/staff/alexandre-belloni/}
-}
-\feagendasummaryitem{Language}{
- Oral lectures: English
- \newline Materials: English.
-}
-\feagendasummaryitem{Audience}{
- Companies and engineers that are developing embedded Linux systems
- that include audio features.
-}
-\feagendasummaryitem{Prerequisites}{
- \begin{itemize}
- \prerequisitecommandline
- \prerequisiteembeddedlinux
- \prerequisiteenglish
- \end{itemize}
-}
-\feagendasummaryitem{Required equipment}{
- \begin{itemize}
- \item Computer with the operating system of your choice, with the
- Google Chrome or Chromium browser for videoconferencing
- \item Webcam and microphone (preferably from an audio headset)
- \item High speed access to the Internet
- \end{itemize}
-}
-\certificate{}
-\disabilities{}
+\feshowinfo
\section{Half day 1}
diff --git a/agenda/audio.inc b/agenda/audio.inc
new file mode 100644
index 00000000..43dcc894
--- /dev/null
+++ b/agenda/audio.inc
@@ -0,0 +1,98 @@
+\usepackage{ifthen}
+\def \training{graphics}
+
+% Title
+\ifthenelse{\equal{\agendalanguage}{french}}{
+ \def \trainingtitle{Formation Comprendre la stack audio sous Linux embarqué}
+}{
+ \def \trainingtitle{Audio with embedded Linux training}
+}
+
+% Duration
+\ifthenelse{\equal{\trainingtype}{online}}{
+ \def \trainingduration{3}
+}{
+ \def \trainingduration{2}
+}
+
+% Training objectives
+\ifthenelse{\equal{\agendalanguage}{french}}{
+ \def \traininggoals{
+ \begin{itemize}
+ \item XXX
+ \end{itemize}
+ }
+}{
+ \def \traininggoals{
+ \begin{itemize}
+ \item Be able to understand the basics of audio theory: analog
+ vs. digital, sampling theory, audio formats and audio hardware
+ \item Be able to understand the architecture of ASoC, the Linux
+ kernel subsystem for audio devices used in embedded systems, the
+ role of the different drivers and the Device Tree representation
+ \item Be able to write a Device Tree describing the topology of
+ audio hardware on an embedded Linux system
+ \item Be able to use complex audio routing capabilities, audio power
+ management capabilities, and complex audio components such as
+ auxiliary devices or amplifiers
+ \item Be able to configuration the ALSA user-space components and
+ ALSA audio widgets
+ \item Be able to understand the available user-space APIs for
+ playing and capturing audio, as well as audio servers such as
+ Pulseaudio, Pipewire or Jack, and the GStreamer multimedia
+ pipeline library
+ \end{itemize}
+ }
+}
+
+% Training prerequisites
+\def \trainingprerequisites{
+ \begin{itemize}
+ \prerequisitecommandline
+ \prerequisiteembeddedlinux
+ \prerequisiteenglish
+ \end{itemize}
+}
+
+% Training audience
+\ifthenelse{\equal{\agendalanguage}{french}}{
+ \def \trainingaudience{
+ XXX
+ }
+}{
+ \def \trainingaudience{
+ Companies and engineers that are developing embedded Linux systems
+ that include audio features.
+ }
+}
+
+% Required equipment on-site
+\ifthenelse{\equal{\trainingtype}{onsite}}{
+ \ifthenelse{\equal{\agendalanguage}{french}}{
+ \def \requiredequipment {
+ {\bf Pour les sessions en présentiel dans les locaux de nos clients,
+ notre client doit fournir}:
+ \begin{itemize}
+ \item Projecteur vidéo
+ \item Un grand moniteur
+ \item Un tableau pour écrire
+ \end{itemize}
+ }
+ }{
+ \def \requiredequipment {
+ {\bf For on-site sessions at our customer location, the customer must provide}:
+ \begin{itemize}
+ \item Video projector
+ \item Large monitor
+ \item Drawing board
+ \end{itemize}
+ }
+ }
+}{}
+
+% No labs in graphics course
+\def \haslabs{false}
+
+% Time ratio
+\def \onsitelecturetimeratio{75}
+\def \onsitedemotimeratio{25}
More information about the training-materials-updates
mailing list