<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Diego Ignacio Ortega on Medium]]></title>
        <description><![CDATA[Stories by Diego Ignacio Ortega on Medium]]></description>
        <link>https://medium.com/@diegoignacioortega?source=rss-59ddda1e17c1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ku1EuF_j9wbsm-o4.</url>
            <title>Stories by Diego Ignacio Ortega on Medium</title>
            <link>https://medium.com/@diegoignacioortega?source=rss-59ddda1e17c1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 10:31:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@diegoignacioortega/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Dynamics Balancer plugin  — RaiderPro]]></title>
            <link>https://medium.com/@diegoignacioortega/audio-level-bancing-automation-plugin-raiderpro-ff0f4dbcfa00?source=rss-59ddda1e17c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff0f4dbcfa00</guid>
            <category><![CDATA[audio-plugin]]></category>
            <category><![CDATA[daw-automation]]></category>
            <category><![CDATA[vst3-plugins]]></category>
            <category><![CDATA[level-balancing]]></category>
            <dc:creator><![CDATA[Diego Ignacio Ortega]]></dc:creator>
            <pubDate>Sat, 03 Jan 2026 02:42:35 GMT</pubDate>
            <atom:updated>2026-02-11T02:03:50.484Z</atom:updated>
            <content:encoded><![CDATA[<h3>RaiderPro — vocal riding and dynamic level automation plugin released for macOS and Windows</h3><p>RaiderPro is a vocal riding and dynamic level automation plugin designed for music production and post-production. It continuously monitors the input signal and applies real-time gain adjustments to maintain a consistent target level, helping engineers balance vocals and expressive instruments without relying solely on static compression.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/315/1*wTB-a82qLBPV-C1kCjP-WA.png" /><figcaption>RaiderPro</figcaption></figure><h3>Features, Improvements and Fixes</h3><ol><li>The plugin allows users to define a target level and final output gain, while its Range Fader feature sets a dynamic ceiling and floor for gain movement. This helps keep levels controlled while avoiding over-processed results.</li><li>RaiderPro also includes side-chain functionality, allowing external signals to influence gain behaviour so vocals can remain present in dense mixes.</li><li>Adjustable music sensitivity helps prevent masking, while vocal sensitivity can reduce background noise and improve isolation, which is particularly useful in recordings with bleed, such as drum sessions.</li><li>RaiderPro includes automation writing, allowing users to print the generated gain automation directly into the DAW and then place the plugin in read mode to reduce CPU usage while preserving the dynamic changes.</li><li>Performance profiling and optimisation were carried out using Xcode Instruments in order to improve CPU efficiency for multi-instance use.</li><li>Compared to its predecessor, BasicRider, RaiderPro introduces improved compatibility across DAWs and operating systems,</li></ol><ul><li>support for mono and stereo channel configurations.</li><li>improved performance allowing multiple simultaneous instances with low CPU usage.</li><li>The plugin passes both auval and pluginval validation tests.</li></ul><h3>Pricing &amp; Availability</h3><p>RaiderPro is available for macOS and Windows in VST3 and Audio Unit formats. The purchase includes both platforms and six months of software updates. RaiderPro is priced at USD 28. Planned updates during 2025 include a noise gate, the ability to copy the dynamics of one track to another, and additional dynamics processing modules.</p><p>BasicRider, the free predecessor of RaiderPro, was released in April 2025 and received more than 15,000 downloads and over 40 user reviews across plugin review websites. BasicRider is now available for USD 8.</p><p>More information is available at<br> <a href="https://casaoccidente.com/">https://casaoccidente.com</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b_wumf9MK--nKw1_7wT2iw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*I1LhNd7raeiiOMrQqs-Lpg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff0f4dbcfa00" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Motor de Recomendación de Música Basado en Grafos]]></title>
            <link>https://medium.com/@diegoignacioortega/motor-de-recomendaci%C3%B3n-de-m%C3%BAsica-basado-en-grafos-f4e02de2884e?source=rss-59ddda1e17c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/f4e02de2884e</guid>
            <category><![CDATA[music]]></category>
            <category><![CDATA[engine]]></category>
            <category><![CDATA[recommendations]]></category>
            <category><![CDATA[neo4j]]></category>
            <category><![CDATA[graph-database]]></category>
            <dc:creator><![CDATA[Diego Ignacio Ortega]]></dc:creator>
            <pubDate>Mon, 29 May 2023 16:21:35 GMT</pubDate>
            <atom:updated>2023-05-29T16:26:36.702Z</atom:updated>
            <content:encoded><![CDATA[<h4>código <a href="https://github.com/Diegorandom/PlystmeBeta">https://github.com/Diegorandom/PlystmeBeta</a></h4><h4>¿Qué es?</h4><ul><li>Plataforma para escuchar música en un entorno social.</li><li>Escenario de uso: Cuando en un entorno social (Bar, café, carro con amigos) se quiere que la música que se escuche sea la óptima.</li></ul><h4>Arquitectura</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JpKnKeDbvbUqA5x22C5Grw.png" /><figcaption>Arquitectura</figcaption></figure><p>Actualmente Plystme tiene una arquitectura servidor-cliente conectada con la API de Spotify, la API del algoritmo de recomendaciones y la base de datos Neo4j. El frontEnd fue construído en su totalidad sobre JavaScript con un templating language de Node.js llamado EJS.</p><p>La comunicación entre el cliente y el backend utiliza HTTP con Ajax para la autenticación con la API de Spotify y para servir datos estáticos como lo son el mapa de características de la música que escucha el usuario así como datos que se obtienen de eventos detonados desde el cliente como los son las listas del Top 50 de música que escucha el usuario.</p><p>Socket.io se utiliza en la comunicación cliente-servidor para la creación y administración en tiempo real de las playlists grupales a las cuales se accede con el uso de un código dado por el anfitrión a los invitados de la fiesta.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g190gWwqwYZxlruDikz1yQ.png" /><figcaption>Gráfico de variables de las cuales se obtiene un promedio ponderado de todas las canciones para crear la póliza que determina que tipo de música se recomendará al grupo de personas escuchando música juntos</figcaption></figure><h4>¿Cómo Funciona?</h4><ul><li>1. Extrae el Top 50 de música más escuchada por cada usuario.</li><li>2. El algoritmo de recomendaciones extrae de la base de datos el conjunto de nodos que contienen toda la música que se puede analizar de cada uno de los usuarios.</li><li>3. Se obtienen las características promedio del grupo y se crea una póliza que identifica las características ideales de la música a recomendar.</li><li>4. Con esta guía se crea una playlist óptima para el grupo social.</li></ul><h4><strong>Caso de Uso</strong></h4><p>Los usuarios pueden estar conectados por música en común o porque escuchan música juntos.</p><p>La música en común es ponderada como más relevante al momento de crear la playlist grupal.</p><p>El servicio principal de Plystme permite que usuarios tomen el rol de anfitriones al crear una playlist grupal. Una vez hecho esto, pueden compartir el código de la playlist grupal con otros usuarios que tomarán el rol de invitados para que estos se unan a la playlist. Cada vez que un nuevo invitado se une a una playlist, un evento detonado por socket.io deberá mandar a llamar la API de recomendaciones para que generé una nueva playlist con recomendaciones para el grupo de personas que se encuentren actualmente en la playlist grupal creada en plystme.com</p><h4>Algoritmo de Recomendaciones</h4><p>El algoritmo de recomendaciones extrae de la base de datos los el conjunto de nodos que contienen toda la música que se puede analizar de cada uno de los usuarios dentro de la playlist grupal.</p><p>Una vez extraída la información de cada usuario, se obtienen las características promedio del grupo y se crea una póliza que identifica las características ideales de la música a recomendar. Hecho esto, el algoritmo seleccionará 50 canciones dentro del universo de música que escuchan los usuarios dentro del playlist grupal. Esta playlist entonces estará disponible para su descarga en Plystme y para su stream en Spotify.</p><h4>Modelo de Base de Datos con Neo4j</h4><p>La base de datos está siendo implementada con Neo4j, una tecnología de bases de datos gráficas que funciona con nodos y aristas. La información del usuario se almacena en una estructura con 3 diferentes capas representadas en el siguientes gráfico con los colores azul, verde y rojo.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UAF7zW65xy7Sl5dLhcUCtA.png" /><figcaption>Grafo de la información de un usuario. Perfil (verde), canción (azul).</figcaption></figure><h4>Estructura de información del usuario</h4><p>El nodo verde en el centro corresponde al usuario y contiene información personal del usuario como email y username. Los nodos azules corresponden a la música que se tiene registro que el usuario ha escuchado.</p><p>Los nodos rojos representan a los artistas que interpretan la música que escucha el usuario. En el siguiente gráfico se muestran estructuras conformadas por nodos eventos y nodos usuarios. Este gráfico nos da información acerca de las relaciones sociales de las personas dentro de un mismo evento.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9hs5dCaNvyj6LjjlIIy8lA.png" /><figcaption>Información de usuario con artistas relacionados (rojo)</figcaption></figure><h4>Estructura de eventos y usuarios</h4><p>En el gráfico se pueden identificar grupos de usuarios que generan varios eventos entre ellos mismos. Usuarios que han generado varios eventos con diferentes personas y las redes sociales que pueden relaciones diferentes grupos de personas.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X0sTsvkv_DrQvlSAMbyD0Q.png" /><figcaption>Relaciones entre usuario a través de la música</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f4e02de2884e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Node.js Explicado]]></title>
            <link>https://medium.com/@diegoignacioortega/node-js-explicado-76dea2c3c2c9?source=rss-59ddda1e17c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/76dea2c3c2c9</guid>
            <category><![CDATA[js]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Diego Ignacio Ortega]]></dc:creator>
            <pubDate>Sun, 28 May 2023 20:06:30 GMT</pubDate>
            <atom:updated>2023-05-29T17:38:00.988Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cexqISNtmikIBEiX9pMgsg.png" /></figure><p>Arquitectura de Node.js</p><ul><li>Los dos elementos más importantes de la arquitectura de Node.js son V8 y libuv.</li><li>V8 es la máquina virtual default de Node.js. Node.js utiliza la máquina virtual V8 para ejecutar código de JavaScript.</li><li>Node.js utiliza V8 a través de la API programada en C++ que pertenece a V8.</li></ul><h4>API</h4><p>Node.js tiene un API que podemos usar con JavaScript para interactuar con los archivos del sistema, redes, timers entre otros.<br>La API de Node.js eventualmente ejecuta código de C++ usando plantillas de objetos y funciones de V8 aunque estos no son propios de V8.</p><h4>Libuv</h4><p>Libuv es es una librería en C desarrollada para Node.js. Actualmente también se utiliza para lenguajes como Rust y Julia. Libuv se utiliza para abstraer las no<em>n-blocking I/O operations en</em> una interfaz consistente en muchos sistemas operativos.<br>Libuv maneja las operaciones con el sistema de archivos, so<em>ckets TCP/UDP, child processes y </em>otros.</p><p>Libuv incluye un <em>thread pool </em>para manejar aquellas operaciones que no se pueden ejecutar de forma asíncrona a nivel de sistema operativo.<br>Libuv provee a Node.js con el event-loop.</p><p>Libuv maneja la espera de eventos asíncronos. Cuando Node.js termina de esperar a las operaciones I/O o a los timers, normalmente tiene que ejecutar c<em>allbacks q</em>ue se invocan en V8. Cuando se termina de ejecutar el código de un callback, el control pasa de vuelta a Node.js.</p><h4>V8 Engine</h4><p>Cuando el control lo tiene V8, que es <em>single-threaded, </em>y se encuentra ejecutando un <em>callback, </em>Node.js no puede ejecutar más código. Esto es lo que hace programar en Node.js fácil. No tenemos que preocuparnos por loc<em>king o r</em>ac<em>e conditions.<br></em><strong><em>S</em>olo existe un hilo donde el código de JavaScript corre.</strong></p><p>Otras dependencias de Node.js son:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GdZQoJio8uExkf4MepvhVQ.png" /></figure><p>● Http-parser: Librería de C para interpretar mensajes HTTP</p><p>● C-ares: Permite realizar consultas asíncronas de DNS.</p><p>● OpenSSL: Se utiliza principalmente en los módulos de TLS (t<em>ransport layer security)</em> y encriptación.<br>● Zlib se usa por sus rápidas interfaces de compresión asíncronas y de streaming</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jImJFynePJHlnx92KkuPeA.png" /></figure><h4>Modelo de Concurrencia y <em>Event Loop </em>de Node.js</h4><p>Las operaciones I/O lentas son manejadas con eventos y <em>callbacks </em>de tal forma que no bloqueen el <em>main single-threaded execution runtime</em>.<br>I/O se utiliza para nombrar una comunicación entre un proceso dentro de un CPU con cualquier otro CPU externo. Esto incluye procesos de memoria, disco, redes y cualquier otro.</p><p>Cuando se habla de la arquitectura de Node.js, el término I/O usualmente se refiere a acceder a recursos de disco y redes. Los cuales son los procesos que consumen más tiempo.<br>El ev<em>ent loop de</em> Node.js está diseñado alrededor del hecho de que la mayor fuente de pérdida de tiempo en la programación computacional viene de esperar a que estas operaciones I/O terminen de ejecutarse.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*diQaHVcsN80KsrGnVKBxLw.png" /></figure><p>La forma más popular de manejar procesos I/O es utilizar threads, podemos crear un nuevo thread para llevar a cabo cada r<em>equest. S</em>in embargo, la programación mu<em>lti- threaded pu</em>ede volverse complicada cuando los th<em>reads co</em>mienzan a acceder a recursos compartidos.</p><p>Node.js es <em>single-threaded </em>lo cual elimina el <em>overhead </em>creado por los múltiples threads. La programación Si<em>ngle-threaded si</em>mplifica la complejidad de acceder a recursos compartidos.<br>Lenguajes si<em>ngle-threaded co</em>mo Node.js utilizan el ev<em>ent-loop pa</em>ra manejar los requests de operaciones I/O lentas sin bloquear el ma<em>in execution runtime.</em></p><h4>Event Loop</h4><p>El <em>event loop </em>es la entidad que maneja eventos externos y los convierte en invocaciones de <em>callback.<br></em>El <em>event loop </em>elige eventos de la cola de eventos y empuja sus <em>callbacks </em>al <em>call stack.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lenBFPk7G287WT39d6Znvg.png" /></figure><h4>Heap &amp; Stack</h4><p>V8 tiene <em>heap </em>y <em>stack. </em>El <em>heap </em>es donde los objetos son almacenados en memoria. El <em>heap </em>es la memoria que es asignada por la máquina virtual (V8) para realizar tareas. Por ejemplo cuando invocamos una función, un área del hea<em>p es </em>asignada para actuar como el alcance local (loc<em>al scope) d</em>e la función. Tanto el stac<em>k como</em> el heap<em> son </em>parte del motor del tiempo de ejecución (run-time engine V8), no son parte de Node.js como tal.</p><p>El <em>event loop </em>es un ciclo que trabaja entre la cola de eventos (<em>event queue</em>) y el <em>call stack.</em></p><h4><em>V8 Call Stack</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VN9PH0kY9_lU87czMDuwWA.png" /></figure><p>Los elementos que componen el <em>call stack </em>son funciones. El primer elemento que podemos procesar del <em>call stack </em>es la última función que fue agregada.</p><p>Solo hay un <em>stack </em>y solo puede hacer una cosa a la vez. Cuando se llaman múltiples funciones que se llaman entre sí, formamos un st<em>ack. En</em>tonces se ejecutarán las funciones hasta terminar con la primera función a través de la cual fueron llamadas las demás.</p><p>En el ejemplo siguiente, se observa cómo se forma un stack de funciones. En Node.js se agrega primero la función que llama a las demás y se pone hasta el final ( ano<em>nymous() ), </em>así hasta llegar a la última función llamada <em>que </em>será la primera en ejecutarse ( <em>setTimeout()</em> ).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vp40EHHUCnsdkhSq-OLt_Q.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76dea2c3c2c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TypeScript + Saucelabs + karma + Jasmine + Jest]]></title>
            <link>https://medium.com/@diegoignacioortega/typescript-saucelabs-karma-jasmine-jest-af2553be4885?source=rss-59ddda1e17c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/af2553be4885</guid>
            <category><![CDATA[karma]]></category>
            <category><![CDATA[jasmine]]></category>
            <category><![CDATA[jest]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[sauce-labs]]></category>
            <dc:creator><![CDATA[Diego Ignacio Ortega]]></dc:creator>
            <pubDate>Sun, 28 May 2023 19:12:53 GMT</pubDate>
            <atom:updated>2023-05-28T19:12:53.565Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/370/1*xTdIlquEx8vMZ_fWQiQBcQ.jpeg" /></figure><p>This tutorial is based on a JS browser frontend project.</p><p>You need to have installed:</p><ul><li>jasmine</li><li><a href="https://karma-runner.github.io/6.4/config/configuration-file.html">karma</a></li></ul><p>You’ll need a saucelabs account.</p><p>Here you can see <a href="https://karma-runner.github.io/6.4/config/browsers.html">how to configure Browsers</a> with karma.</p><p>Most probably you’ll need to <a href="https://www.npmjs.com/package/karma-chrome-launcher">test your code with a Chrome Browser</a>.</p><p>Here you can check how to add plugins to your <a href="https://karma-runner.github.io/2.0/config/plugins.html">karma environment</a>.</p><p>Then you can build a <a href="https://github.com/karma-runner/karma-sauce-launcher">config function</a>.</p><p>Here’s another example of a <a href="https://github.com/karma-runner/karma-sauce-launcher/blob/master/examples/karma.conf-ci.js">configuration function.</a></p><p>Here’s another example of a <a href="https://github.com/kiwix/kiwix-js/blob/main/tests/karma.conf.saucelabs.js">configuration function.</a></p><p>Here you can check how to<a href="https://blog.chainsafe.io/test-your-typescript-code-with-karma-and-jest-9554f99593e4?gi=34fc21ddd27d"> test your code</a>.</p><h4>Other Options</h4><p><a href="https://medium.com/@rogeriopvl/automating-karma-and-headless-chrome-with-puppetteer-51ce8f6a78b0">Karma + Chrome + puppetteer</a></p><h4>Possible Issues</h4><p>Test Flakiness -&gt; <a href="https://www.npmjs.com/package/protractor-flake">Possible solution</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af2553be4885" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Markov-Decision-Proccess | Documentation of BackPropagation Model to solve Traffic problem]]></title>
            <link>https://medium.com/@diegoignacioortega/markov-decision-proccess-documentation-of-backpropagation-model-to-solve-traffic-problem-6dc0b053d81a?source=rss-59ddda1e17c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/6dc0b053d81a</guid>
            <category><![CDATA[markov-decision-process]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[traffic-optimization]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Diego Ignacio Ortega]]></dc:creator>
            <pubDate>Sun, 28 May 2023 00:36:15 GMT</pubDate>
            <atom:updated>2023-05-28T06:20:20.267Z</atom:updated>
            <content:encoded><![CDATA[<h3>Context</h3><ul><li>Github repo: <a href="https://github.com/Diegorandom/Markov-Decision-Proccess">https://github.com/Diegorandom/Markov-Decision-Proccess</a></li><li>Markov Decision process (MDP) is a framework used to help to make decisions on a stochastic environment.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mrXjlluPMEeFODCp.png" /><figcaption>The Policy Map</figcaption></figure><h3>What is this?</h3><p>This project emulates a crossing with cars advancing in a map using Markovian Decission Processes.</p><h3>The map</h3><p>The map is a matrix. The map is composed of numbers. Each number means something different:</p><ul><li>0 is a building block 🧱</li><li>1 is a piece of street 🛣️</li><li>2 is a car that goes from up to down 🏎️</li><li>3 is a car that goes from left to right 🏎️</li><li>4 is a temporary barrier 🚦</li></ul><p>This is a map made out of these numbers:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MBXy5pBw0Fa8moum.png" /></figure><h3>The Goal</h3><p>The goal is to manage the cars crossing the map to have the less traffic possible. This is to find a policy, which is a map that gives us all optimal actions on each state on our environment. MDP is somehow more powerful than simple planning, because your policy will allow you to do optimal actions even if something went wrong along the way. Simple planning just follow the plan after you find the best strategy.</p><h3>How to run</h3><p>You gotta have:</p><ul><li>python3 running in your computer.</li><li>numpy pip install matplotlib</li><li>matplotlib pip install matplotlib</li></ul><p>How to run the project in mac command line: python3 mdp.py</p><ol><li>A policy will be created in aprox. 30 sets.</li><li>A window with the policy map will appear.</li><li>When closing the window the crossing will start functioning with the policy</li><li>The fuzzy indexes will be shown at the terminal</li><li>A text file will be created and constantly updated with the map of the crossing.</li><li>The crossing process doesn’t stop until closing the process at the terminal</li></ol><h3>What is a State</h3><p>Consider state as a summary (then called state-space) of all information needed to determine what happens next. There are 2 types of state space:</p><p><strong>World-State: Normally huge, and not available to the agent.</strong></p><p><strong>Agent-State: Smaller, have all variables needed to make a decision related to the agent expected utility.</strong></p><h3>Markovian Property</h3><p>Basically you don’t need past states to do a optimal decision, all you need is the current state s. This is because you could encode on your current state everything you need from the past to do a good decision. Still history matters…</p><h3>Environment</h3><p>To simplify our universe imagine the grid world, here your agent objective is to arrive on the green block, and avoid the red block. Your available actions are: ↑,↓,←,→ and diagonals.</p><p>The problem is that we don’t live on a perfect deterministic world, so our actions could have have different outcomes:</p><ul><li>For instance when we choose the up action we have 80% probability of actually going up, and 10% of going left or right.</li><li>Also if you choose to go left or right you have 80% chance of going left and 10% going up or down.</li></ul><h3>Here are the most important categories for the environment:</h3><h4>States:</h4><p>A set of possible states S</p><h4>Model: T(s,a,s′)∴P(s′|s,a)</h4><p>Probability to go to state “s′” when you do action “a” while you were on state “s”, is also called transition model.</p><h4>Action: A(s)</h4><p>Things that you can do on a particular state s.</p><h4>Reward: R(s)</h4><p>Scalar value that you get for been on a state.</p><h4>Policy: Π(s)→a our goal</h4><p>Is a map that tells the optimal action for every state.</p><h4>Optimal policy: Π∗(s)→a</h4><p>Is a policy that maximizes your expected reward R(s).</p><p>In reinforcement learning we’re going to learn a optimal policy by trial and error.</p><h3>Solving MDPs with Dynamic Programming</h3><p>As stated earlier MDPs are the tools for modelling decision problems, but how we solve them? In order to solve MDPs we need Dynamic Programming, more specifically the Bellman equation.</p><p>But first what is dynamic programming? Basically it’s a method that divides a problem into simpler sub-problems easier to solve, it’s just really a divide and conquer strategy.</p><p>Dynamic programming is both a mathematical optimization method and a computer programming method, but both of them follow this divide and conquer mechanism. But on mathematics it’s often used as an optimization tool. On programming is often implemented with recursion and is used on problems like find the shortest path on a graph and generation sequences.</p><p>Also you may find a term called memoization which is something that computer people use to improve the performance of those divide-and-conquer algorithms by memorizing sub problems that were already calculated.</p><h3>Linguistic Variables:</h3><p>Traffic(t) = {LigthTraffic, MediumTraffic, HeavyTraffic}</p><p>LigthTracffic = {0:160} cars</p><p>MediumTraffic = {161:480} cars</p><p>HeavyTraffic = {481: 800} cars</p><h3>MemberShip Function</h3><p>x Axis corresponds to time (t), y Axis corresponds to degree of membership (𝜇)</p><p>𝜇lighttraffic: 𝑋 → [0,1]</p><p>𝜇Mediumtraffic: 𝑋 → [0,1]</p><p>𝜇Heavytraffic: 𝑋 → [0,1]</p><h3>This mapping is called degree of membership</h3><p>Quantifies the degree of membership of the element in X to a given fuzzy set. In this case scenario X is the amount of cars over a given lane on a certain moment. As the value 𝜇n decreases or increases, so does the degree of membership of X to a certain fuzzy set.</p><h3>Knowledge Base of Rules</h3><p>LightTraffic(cars)= {1 if 0&lt;=cars &lt; 161, 0 if cars&gt;=161}</p><p>MediumTraffic(cars) = {0 if 161=481, 1 if 161&lt;=cars&lt;481}</p><p>HeavyTraffic(cars) = {0 if 481&lt;cars, 1 if 481&lt;=cars&lt;=800}</p><h3>References</h3><p>Santos, L. (2018). Markov Decision process · Artificial Inteligence. Leonardoaraujosantos.gitbooks.io. Retrieved 17 July 2018, from <a href="https://leonardoaraujosantos.gitbook.io/artificial-inteligence/artificial_intelligence/markov_decision_process">https://leonardoaraujosantos.gitbooks.io/artificial-inteligence/content/markov_decision_process</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6dc0b053d81a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MongooseError: Operation inventories.find() buffering timed out after 10000ms]]></title>
            <link>https://medium.com/@diegoignacioortega/mongooseerror-operation-inventories-find-buffering-timed-out-after-10000ms-5fd46662714d?source=rss-59ddda1e17c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/5fd46662714d</guid>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[mongoose]]></category>
            <category><![CDATA[find-timeout]]></category>
            <dc:creator><![CDATA[Diego Ignacio Ortega]]></dc:creator>
            <pubDate>Sat, 27 May 2023 23:04:39 GMT</pubDate>
            <atom:updated>2023-05-28T19:23:19.099Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h3dKl0CjVzmxX3-dvEI7nw.jpeg" /></figure><p>So I was fixing this error, when running a mongoDB connection with mongo connect, the connection fails. I created a ticket in the <a href="https://github.com/Automattic/mongoose/issues/10698">mongoose</a> repo.</p><h4>The Error</h4><p>This error occurs mainly in testing environments.<br>When trying to update the database, this error appears intermittently:</p><pre>[error] inventory: MongooseError: Operation `inventories.find()` buffering timed out after 10000ms<br>    at Timeout.&lt;anonymous&gt; (/var/task/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js:198:23)<br>    at listOnTimeout (internal/timers.js:557:17)<br>    at processTimers (internal/timers.js:500:7)</pre><p>This is the connection code:</p><pre>exports.createConnection = async (uri, app) =&gt; {<br>if (!connections[app]) {<br>    let conn = await mongoose.createConnection(uri, {<br>      appname: app,<br>      // bufferCommands: false, // Disable mongoose buffering<br>      // bufferMaxEntries: 0, // and MongoDB driver buffering<br>      useNewUrlParser: true, // https://mongoosejs.com/docs/deprecations.html<br>      useUnifiedTopology: true, // https://mongoosejs.com/docs/deprecations.html<br>      poolSize: process.env.DB_POOL_SIZE &amp;&amp; parseInt(process.env.DB_POOL_SIZE) || 50<br>    })<br>    conn.on(&#39;connected&#39;, () =&gt; {<br>      // log.debug(&#39;OnConnected activeConnection&#39;, app)<br>      // log.debug(&#39;OnConnected activeConnection&#39;, activeConnection)<br>    })<br>    conn.once(&quot;open&quot;, () =&gt; {<br>      // log.debug(&#39;OnConnection OPEN &#39;, app)<br>    })<br>    conn.on(&#39;error&#39;, (error) =&gt; {<br>      // log.debug(&#39;OnError error&#39;, error)<br>    })<br>    conn.on(&#39;reconnected&#39;, () =&gt; {<br>      // log.debug(&#39;Reconnected&#39;, app)<br>    })<br>    connections[app] = conn<br>    activeConnection = conn<br>  }<br>  else {<br>    // log.debug(`Found cached connection for, ${app}. Setting it to active`)<br>    activeConnection = connections[app]<br>  }<br>}</pre><p>Connected listener never get hit.</p><p>Node version: 14.17.5<br>“mongodb”: “3.6.11”<br>“mongoose”: “5.12.14”</p><p>Turns out poolSize option wasn’t working, it got deprecated.</p><blockquote>You’re right <a href="https://github.com/adamreisnz">@adamreisnz</a> , the issue may very well be due to the poolSize option. We already got rid of the poolSizeoption in our lambda docs: <a href="https://mongoosejs.com/docs/lambda.html">https://mongoosejs.com/docs/lambda.html</a> and made a note in the 6.0 migration guide (<a href="https://mongoosejs.com/docs/migrating_to_6.html">https://mongoosejs.com/docs/migrating_to_6.html</a>), so I think we can close this issue.</blockquote><h4>The Fix</h4><p><a href="https://mongoosejs.com/docs/connections.html#connection_pools">Try </a><a href="https://mongoosejs.com/docs/connections.html#connection_pools">maxPoolSize instead</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5fd46662714d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Notification Service POC Architecture]]></title>
            <link>https://medium.com/@diegoignacioortega/notification-service-poc-architecture-13e770a23e6?source=rss-59ddda1e17c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/13e770a23e6</guid>
            <category><![CDATA[eventbus]]></category>
            <category><![CDATA[aws-eventbridge]]></category>
            <category><![CDATA[notification-service]]></category>
            <dc:creator><![CDATA[Diego Ignacio Ortega]]></dc:creator>
            <pubDate>Sat, 27 May 2023 22:41:35 GMT</pubDate>
            <atom:updated>2023-05-27T22:41:35.584Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*buvrg8lhZsP69R2SK-yatw.jpeg" /></figure><p><strong>This article describes how to integrate a Notification Service API that can be invoked either by eventBridge or API.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xxm_m3NzhItil2pVBe8wHw.png" /><figcaption>Architecture</figcaption></figure><p><strong>Integration via EventBridge</strong></p><p>An event must be sent through EventBridge with target</p><pre>NOTIFICATION_SERVICE</pre><p>Example of event that service-notification listens to:</p><pre>emitEvents(order, tenant, EventIdentifier.SHIPMENT_SERVICE.name(),<br>ProcessName.ORDER_CREATE.name(),</pre><pre>EventIdentifier.ORDER_SERVICE,<br>EventIdentifier.SHIPMENT_SERVICE.name() );</pre><p><strong>Integration via API</strong></p><p>To listen events, notification service uses this <strong>AWS eventBridge </strong>configured endpoint: /notification-service</p><pre>curl --location --request POST &#39;http://localhost:6067/notification-service&#39; \<br>--header &#39;tenant-key: F23G254G25G&#39; \<br>--header &#39;x-site-context:<br>{&quot;stage&quot;:&quot;TEST&quot;,&quot;account&quot;:&quot;35G245245G2&quot;,&quot;date&quot;:&quot;&quot;,&quot;channel&quot;:1}&#39; \<br>--header &#39;Authorization;&#39; \<br>--header &#39;Content-Type: application/json&#39; \<br>--data-raw &#39;{<br>&quot;version&quot;: &quot;0&quot;,<br>    &quot;id&quot;: &quot;6789&quot;,<br>    &quot;detail-type&quot;: &quot;ORDER_CREATED&quot;,<br>    &quot;source&quot;: &quot;order-service&quot;,<br>    &quot;account&quot;: &quot;12345&quot;,<br>    &quot;time&quot;: &quot;202x-0x-&quot;,<br>    &quot;region&quot;: &quot;&quot;,<br>    &quot;resources&quot;: [],<br>    &quot;detail&quot;: {<br>      // add yours  <br>    }<br>}&#39;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=13e770a23e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Memories at a Billion-Dollar Company by Diego Ortega.]]></title>
            <link>https://medium.com/@diegoignacioortega/memories-at-a-billion-dollar-company-by-diego-ortega-a552888c7abf?source=rss-59ddda1e17c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/a552888c7abf</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[shipment]]></category>
            <category><![CDATA[order-management-system]]></category>
            <dc:creator><![CDATA[Diego Ignacio Ortega]]></dc:creator>
            <pubDate>Sat, 27 May 2023 22:06:22 GMT</pubDate>
            <atom:updated>2023-05-28T18:16:43.715Z</atom:updated>
            <content:encoded><![CDATA[<h3>Memories at a Billion-Dollar Software Company</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BjVZnieo7FXp08m-fIkKPw.jpeg" /></figure><p>I worked on an Order Management System. I don’t know how much I can disclose but I can start by saying is an end-to-end, fully configurable order management and inventory availability app that helps merchants scale multi channel order orchestration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*GlPnVWOUwM5UHpyN4RDSog.png" /><figcaption>EventBus was a buzzword around the company at that time</figcaption></figure><h4>The last product I worked on</h4><p>The last product I worked on makes it easy for retailers at the scale of millions of transactions to orchestrate and automate the fulfillment lifecycle.</p><p>This product promises no-code workflow management, so that retailers can create business logic in the UI to orchestrate fulfillment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/1*YcEpQarFJzVQgbw3sRQ-Lg.png" /><figcaption>EventBridge was used for orchestration</figcaption></figure><p>This product is an API-first, Cloud-native, headless application for merchants to deliver customer-centric post-purchase experience. Allocate and drop orders in seconds, not hours, from a rich parameter set in the Product.</p><ul><li>From order fulfillment logic no-code rule builder;</li><li>Enable Omnichannel-always inventory availability from product, inventory, location level network rules;</li><li>Out-of-the-box data feed integration for best-in-class time to market;</li><li>Composable cancellation, returns, and appeasement to drive CSAT.</li></ul><p>Read <a href="https://medium.com/@diegoignacioortega/notification-service-poc-architecture-13e770a23e6">Notification Service POC</a> Architecture example to see how does this look in a diagram implemented.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HX17Y2cyM4SYltUOetoYEw.jpeg" /></figure><h4>The first feature I worked on | <strong>Update Ship Reserved Task</strong></h4><p>Requirements:</p><p>When a shipment/pickup is reserved the following should happen:</p><ul><li>Decrease reservedQuantity for the corresponding channel by the lineItem quantity in the endpoint call body.</li><li>Decrease allocation unit for the corresponding channel by the lineItem quantity in the endpoint call body.</li><li>Decrease inStock for the corresponding channel by the lineItem quantity in the endpoint call body.</li></ul><p>An order can have one the following statuses:</p><ol><li>ORDER_SHIPPED</li><li>ORDER_PARTIALLY_SHIPPED</li><li>ORDER_FULFILLED</li><li>ORDER_PARTIALLY_FULFILLED</li></ol><p>An order is Fulfilled when there is at least one pickup item and all items have either been picked up or shipped. On the contrary, if there is at least one pickup item and any item is still to be picked or shipped then the order would be Partially Fulfilled.</p><p>Shipped and Partially Shipped work if there is no item to be picked up.</p><h4>The scope of this task</h4><p>is to create an API that would have a request body compromising either or both the shipments and the pickup object. Then after running the validations on the item quantity we would assign order one of the appropriate statuses.</p><p>Furthermore, for a pickup item, the pickup flag in line-item should be verified along with the pickup person (via email).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zm1D-qcyvXx1PdIJdmMWUA.png" /><figcaption>SNS Allows for orchestration between micro services</figcaption></figure><p>Finally, once an order has been assigned its respective order status we need to trigger the appropriate SNS event. SNS topics already exist for Shipped and Partially Shipped order statuses but new SNS topics need to be created for Fulfilled and Partially Fulfilled order statuses.</p><h3><strong>Challenges Resolved</strong></h3><p>How to orchestrate communication between micro services using AWS SNS and SQS.</p><p>Using S3 in order to bulk update data on orders. The idea is just to update all the updates from a CSV into an S3 bucket. On a second plane the update for each order is done while the end user already has a successful response from API.</p><p>Other relevant work:</p><ul><li>Implementation of SLAs API</li><li>Implementation of libraries for common functionality and common models</li><li>Heavy orientation towards unit testing</li><li>Multithreading Analysis with Node.js</li><li>AWS (eventBridge, secret manager)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a552888c7abf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WolframAmadeus | Music Of Mathematica]]></title>
            <link>https://medium.com/@diegoignacioortega/music-of-mathematica-70ccdfeb2e42?source=rss-59ddda1e17c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/70ccdfeb2e42</guid>
            <category><![CDATA[wolfram-language]]></category>
            <category><![CDATA[music]]></category>
            <category><![CDATA[wolfram]]></category>
            <category><![CDATA[sonification]]></category>
            <category><![CDATA[supercollider]]></category>
            <dc:creator><![CDATA[Diego Ignacio Ortega]]></dc:creator>
            <pubDate>Sun, 12 Aug 2018 11:13:09 GMT</pubDate>
            <atom:updated>2025-02-25T22:40:17.011Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yxf9yug2qHUorjcxHDDl1w.jpeg" /><figcaption>Description in Spanish</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*93cI9JbuO7LrPLKdBCGMkQ.png" /><figcaption>Wolfram Amadeus Flux Diagram</figcaption></figure><p>WolframAmadeus is open source code. The project is composed of an integration between SuperCollider and Wolfram Mathematica. It interprets the graphic representation of a mathematical function processed through differential or integral calculus being the output an audio signal.</p><p>You can find the code and documentation (in spanish) here: <a href="https://github.com/Diegorandom/WolframAmadeus">https://github.com/Diegorandom/WolframAmadeus</a></p><h4>Personal Context</h4><p>Back in 2014 along with two fellow students and sound-artist Hugo Solís, started the development of Wolfram Amadeus. This piece of software runs with a very simple integration between SuperCollider (SC) and Wolfram Mathematica (WM). The purpose of such odd integration and the software overall was primarily a need to coupe with the complexities of understanding multivariable calculus I was working with at college in Tec de Monterrey.</p><h4>Listening to Mathematics</h4><p>From where does it come the idea of listening to mathematics? Well, I studied Digital Music Production Engineering, which is a rare form of audio engineering. At the time I was taking various mathematic-related classes like statistics, differential equations, electricity and magnetism, multivariable calculus and audio programming. I felt pretty uncertain and overwhelmed about what to do with all that knowledge and I was trying to make sense on how such specialized topics could relate with music.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*R-FhMdfrKeGQdn0GceIbMw.jpeg" /><figcaption>SuperCollider Logo</figcaption></figure><h4>SuperCollider</h4><p>In my search for meaning for all of this I stumbled upon Hugo Solís, whom taught audio programming, a class in which we learnt to code with SuperCollider, for those who doesn’t know it let me give you the official definition.</p><blockquote>SuperCollider is a platform for audio synthesis and algorithmic composition, used by musicians, artists, and researchers working with sound. It is free and open source software available for Windows, macOS, and Linux.</blockquote><p>I’d also add that it’s the most powerful and flexible audio programming language ever created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*-vgF1ofDRQGjKWxfziM5hA.jpeg" /><figcaption>Delta installation at Playa Ventura, México</figcaption></figure><h4>The Idea</h4><p>I remember Hugo Solís once showed us a project called DELTA 16.57 / -99.00 which is about the sonification of meteorologic data gathered from an installation at Playa Ventura, Guerrero in México. Later that night inspired by the concept of data sonification I had a lightning idea, an audio signal representing the graphic of a mathematical function processed by integration or derivation at user’s will. While in some sort of trance I wrote the foundations for the software in one night, sacrificing my homework. Totally worth it.</p><h4>Technologies</h4><p>So, SuperCollider was my natural decision for audio generation but, how would I make multivariable calculus operations? By that time I already knew Wolfram Mathematica which is a very common software engineering students use to solve complex mathematical operations. The idea then was to code an integration which could communicate with both SC and WM version 9 (I have tried the same code with newer versions of WM but it doesn’t work for some unknown reason). Along with the team and professor explored the options, finally coming up with a very simple communications protocol which is a server-client system where WM functions as the server, and SC as the client.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/533/1*xZ0R5_oAE_VyAYHIK1TYCw.png" /></figure><h4>The Communication Protocol</h4><p>The protocol consists of a client making requests to the server by writing a petition in a text file stored at a specific directory which the server is constantly checking for new requests. The request guards a mathematical function written in TexForm notation by the user that Wolfram Mathematica reads and processes through derivation or integration. At the end a general solution is sent to SC as well as an array of values that if summed would give us the area under the curve of the function. These values form the graphic two dimensional representation of the solution over the Y axis.</p><h4>The GUI</h4><p>Back in SuperCollider, it takes the solution and the array of values and display them in the UI. Then the user is able to select different audio variables/features to be controlled or generated by the stream of data coming from the array of the graphic. The different feature generators are Noise, Gaussian function, Phase, Frequency, Dust, Panning, Vibrato and Delay.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*kAsBIfowVNwA4ZzTiCwFDw.png" /><figcaption>User Interface (UI)</figcaption></figure><h4>The Audio Effects</h4><p>As example we can see in the next code fragment that the detonator corresponding to frequency, called “freqChange”, is an object which inside has a Pbind which in turn is an object that <em>combine several value patterns to one event stream by binding keys to values.</em></p><pre>freqChange = { <br>    freqref = Pbind(*<br>        [ \instrument, \freq,<br>        \freq, Pseq(tabla.abs), <br>        \dur, 0.1, <br>    ]).play; <br>};</pre><p>Every audio processing has this structure that works as a detonator that starts when the user has selected the feature and pressed the button play.</p><h4>The Stream</h4><p>The Pbind object creates an stream by using a Pseq that cycles over a list of values corresponding to the data hold in the array “tabla”.</p><h4>The Instruments</h4><p>The stream goes to the instrument which is a synthesizer that basically defines the properties of the sound being created with the stream of data.</p><pre>SynthDef(\freq, {<br>arg freq=1, out=0; <br>var env = EnvGen.kr(Env([0,1,0],[0.05,0.05]), doneAction: 2); Out.ar(out, Pan2.ar(SinOsc.ar(0.0001+freq*100, mul:env), 0));<br>}).add;</pre><p>The synthesizer \freq creates a simple sinusoidal with soft envelope and 0.1 seconds of duration. Each value streamed is multiplied by 100, and 0.0001 is summed. The reason for this is subjective mere empiric search for a more defined sound across the range of frequencies available.</p><h4>The result</h4><p>is an unpredictable combination of sounds. You can hear it yourself in the next video.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FD2h2Vl4OYZs%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DD2h2Vl4OYZs&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FD2h2Vl4OYZs%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6e994ee3cb8026a7ff8931946221f47b/href">https://medium.com/media/6e994ee3cb8026a7ff8931946221f47b/href</a></iframe><p>How can we reason about all those strange sounds, does it mean something? is there some secret narrative behind it? When I was coding I decided to not make musical aesthetics arrangements to the software, just for the sake of trying to discover if there is some musical sense to be extracted from pure and brute maths. There’s not. At least in the traditional meaning, the results aren’t tonal at all but Wolfram Amadeus can create experiences pretty unique with each different mathematical function.</p><p>Some of those sounds I have never heard before, some make me imagine I could use the software for FX purposes, and some I wish I have never listened to. By the time I was coding the first version back in 2014, I believed it was possible to find some order by transforming math into music, which doesn’t sound like a terrible idea at first glance. The problem maybe is that there’s no underlying connection between calculus functions and musical aesthetics.</p><p>I’m also worried about trying too hard and just aligning the factors in a way that sounds good. I would like to find axioms or the right tuning through which I’d be able to listen something understandable in a tonal or somewhat traditional way without altering the main structure of the data .</p><p>Onwards a lot of work is still to be made. In order to find a more understandable result in musical terms, changing the bias applied on the synthesizers would the first step. A unique synthesizer where all processes converge could give a more unified result and even crazier sound.</p><p>I hope the project creates interest, so you can help us expand it in any way desired. In fact that is the point of the article and open sourcing the code. Little it helps an idea hidden in a computer.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70ccdfeb2e42" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>