Hurrah for LADSPA.
I started (yet another) project, this time it's a sort of audio synthesisizer and sequencer library. I've always been fascinated with digital audio, since there are so many cool things we can do with it! Like e.g. create and apply filters, warp the sound waves any way we want, add cool effects, and generally do things that I can't otherwise do. Not to mention that I like music... but who doesn't? :-)
My program isn't revolutionary in any way; in fact, the short story is that the program tries to "simulate" the way real, analogue audio components can be put together, as e.g. an effect rack (the guitar connects into a distortion module, which connects into a reverb module, which connects to the amplifier, which connects to a mixer board, which connects to the speakers, etc.). I stole most of the concepts from an existing non-free (but very nice) program called Reason [http://www.propellerheads.se/]. I'm sure there are also free programs that do what I'm trying to do (but part of the fun is doing it myself).
One really nice thing is that there exist a lot of free plugins that do most of the work when it comes to synthesizing instruments and applying effects. These plugins are implemented using a free library, called LADSPA (Linux Audio Developer's Simple Plugin API) [http://www.ladspa.org/], which is the interface between host programs (such as the one I'm making, but also others, like Audacity) and the plugins.
So the plugins form a directed, acyclic graph, where the nodes with no outgoing edges are the speakers (or, well, sound card), and the leaf nodes are typically synthesizers (instruments). Arranging the plugins in this way is a really nice thing, because it ensures that there are no vicious feedback cycles (if we really want some kind of feedback, like reverb, we can implement it as a plugin!) It also means that we can do a topological sort to find the order in which the plugins are to be "run".
Anyway, I've implemented these plugins for my program: A LADSPA plugin wrapper, so we can load any LADSPA plugin as a plugin for my program. An ALSA playback plugin for playing audio in real time. A WAV playback plugin for streaming to disk using libsndfile, which supports a few more formats beside WAV, by the way. A MIDI input sequencer, which reads MIDI files and presents the notes as "control output" to the synthesizer plugins. A mixer plugin, which simply combines several inputs into one output.
It would probably be possible to create an ALSA capture plugin for capturing audio in real time as well. That would be pretty cool, and we'd have a software guitar amp in no time. There seems to be a problem with using blocking ALSA streams, though, because the application sleeps while the sound card is playing the data, and we're left with almost no CPU-time to actually synthesize the sound. This can probably be solved using threads, though.
Anyway, I made something cool (I think, anyway), by hooking the CMT organ [http://www.ladspa.org/cmt/] to a plate reverb [http://plugin.org.uk/], and feeding some classical pieces into the MIDI sequencer (which now supports polyphonic songs!):
Will probably work some more on this, try to write some plugins (I have a few ideas), actually implement error handling (oops), and try to add the missing fundamental features (like reading the correct MIDI tempo, stop output at the end of the MIDI file, etc.).
One of the goals of the library is to be small and efficient, and not accept inferior solutions because they're easier to implement (some trade-offs are allowed). The next major feature will probably be to add multi-core support using pthreads, so that all CPU cores can be utilized.
The code itself can be found at github (as usual): http://github.com/vegard/trick2
Intelligence View
⚡ tsecurity.de Intelligence
LADSPA
Hurrah for LADSPA.I started (yet another) project, this time it's a sort of audio synthesisizer and sequencer library. I've always been fascinated with digital…
Powered by tsecurity.de
tsecurity.de Hub
Security Briefing Bezpłatnie · Wypisanie 1 kliknięciem
Intelligence Digest - bezpłatnie
Codziennie najważniejsze wiadomości bezpieczeństwa · można pobrać w każdej chwili
Community Rating & Social Proof
⭐ Ocena czytelników
–
Ø / 5.0
★★★★★
Brak recenzji czytelników
Czy ten artykuł był pomocny?
0
Powered by tsecurity.de
tsecurity.de Hub
Powiązany klaster opowieści i źródła (wektor AI)
6 Cluster
Powiązany klaster opowieści i źródła (wektor AI)
26 źródeł
Black Friday Oura Ring deals: The best of the deals so far, picked by a wearable-tech expert
Latest from TechRadar 23 minuty temu
25 kolejnych źródeł
CCNET6 lat temuOur Favorite Blenders of 2026 Are on Sale Ahead of Black Friday CCNET27 minut temuBrighten Up Your Day by Saving 20% Off Flashlights With Olight’s Black Friday Sale CCNET19 minut temuLive: Black Friday Deals Are Here. Shop Expert Picks Across Tech, Everyday Essentials and More at Up to 60% Off GGolem.de33 minuty temuAnzeige: Logitech-Tastatur MX Keys S am Black Friday zum Sensationspreis auf Amazon PPC-WELT45 minut temuLuminar zum Black Friday: KI-Bildbearbeitung für nur 79,20 Euro LLatest from TechRadar1 godzinę temuThis is the pair of open earbuds to hunt down over Black Friday LLatest from TechRadar1 godzinę temuBest AirPods Black Friday deals: all live savings on AirPods Pro 3 and more CComputer Bild1 godzinę temuPhilips Sonicare DiamondClean 9000 zum Black Friday günstiger Nnetzwelt.de2 godziny temuESR startet mit Black-Friday-Rabatten: Diese AirPods-Hüllen lohnen sich jetzt Nnetzwelt.de2 godziny temuPlayStation 5 geschenkt: Diese Black-Friday-Aktion legt die Konsole gratis obendrauf Nnetzwelt.de2 godziny temu6 Dyson-Staubsauger im Vergleich: Dieser Sauger wird am Black Friday überraschend zum Preis/Leistungssieger Nnetzwelt.de1 godzinę temuMonitore im Angebot zum Black Friday: Gutes Bild für Office, Gaming und mehr GGolem.de1 godzinę temuAnzeige: Akkuschrauber mit 20 Bits zum Black Friday erstmals unter 50 Euro bei Amazon PPC-WELT1 godzinę temuDie günstigsten Handytarife an Black Friday von 10 GB bis Unlimited: Hier lohnt sich ein Wechsel PPC-WELT1 godzinę temuBlack Friday 2026 bei LiberNovo: Ergonomische Bürostühle mit bis zu 44 Prozent Rabatt LLatest from TechRadar1 godzinę temuThe best Black Friday robot vacuum deals: Dreame, Shark, Dyson, and Roborock GGolem.de1 godzinę temuAnzeige: Topdon-Starthilfe-Powerbank für Kfz zum Black-Friday-Bestpreis nur rund 85 Euro Hheise online News1 godzinę temuBlack Friday: Die besten Kopfhörer zum Tiefstpreis – Sonos Ace, Nothing & Shokz LLatest from Windows Central1 godzinę temuDell's Black Friday deals drop major savings on Alienware OLED monitors CCNET2 lata temuMake Every Night Game Night and Save $90 on the Nex Playground With This Black Friday Deal DDEV Community1 godzinę temuThe app is part of the gadget: 14,000 App Store reviews of 28 device apps before Black Friday LLatest from TechRadar2 godziny temuBlack Friday tech deals under $100 / £100: Fire TV Sticks, earbuds, coffee machines and more CCaschys Blog3 godziny temuGoogle One: Black-Friday-Angebot mit bis zu 50 Prozent Rabatt Nnetzwelt.de3 godziny temuDem Testsieger ebenbürtig: Zum Black Friday stürzt Xiaomis stärkster E-Scooter im Preis ab MMacerkopf.de3 godziny temuFotos verbessern mit Aiarty: 52 % Rabatt + Gratisgeschenke zum Black Friday
8 źródeł
CVE-2026-119727 | Red Hat Enterprise Linux 7/8/9/10 gst-plugins-bad integer underflow
VulDB Updates 1 godzinę temu
7 kolejnych źródeł
VVulDB Updates1 godzinę temuCVE-2026-119728 | Red Hat Enterprise Linux H.264 video parser null pointer dereference VVulDB Updates2 godziny temuCVE-2026-104039 | Red Hat Enterprise Linux/OpenShift Container Platform PAM GSSAPI Responder denial of service VVulDB Updates2 godziny temuCVE-2026-16560 | Red Hat Directory Server/Enterprise Linux 389-ds-base heap-based overflow VVulDB Updates2 godziny temuCVE-2026-19548 | Red Hat Enterprise Linux ld ld/ldmain.c add_archive_element use after free VVulDB Updates2 godziny temuCVE-2026-18663 | Red Hat Directory Server/Enterprise Linux 389-ds-base get_ldapmessage_controls_ext double free VVulDB Updates2 godziny temuCVE-2026-12353 | Red Hat Certificate System/Enterprise Linux TLS Endpoint path traversal VVulDB Updates2 godziny temuCVE-2026-18047 | Red Hat Certificate System/Enterprise Linux ACME responder web.xml improper authorization (Nessus ID 330485)
6 źródeł
[NEU] [hoch] Gradle: Mehrere Schwachstellen ermöglichen Manipulation von Dateien
BSI Warn- und Informationsdienst (WID): Schwachstellen-Informationen (Security Advisories) 1 godzinę temu
5 kolejnych źródeł
BBSI Warn- und Informationsd…1 godzinę temu[NEU] [hoch] Tanium Endpoint Management: Mehrere Schwachstellen BBSI Warn- und Informationsd…1 godzinę temu[NEU] [hoch] Traefik: Mehrere Schwachstellen BBSI Warn- und Informationsd…2 godziny temu[NEU] [mittel] Mattermost: Mehrere Schwachstellen ermöglichen Offenlegung von Informationen BBSI Warn- und Informationsd…1 godzinę temu[NEU] [hoch] CODESYS Visualization: Mehrere Schwachstellen ermöglichen BBSI Warn- und Informationsd…2 godziny temu[UPDATE] [hoch] Oracle Financial Services Applications: Mehrere Schwachstellen
5 źródeł
OpenAI and Cisco Release Shirudo Linux Security Tool
IT Security News 16 minut temu
4 kolejnych źródeł
BBleepingComputer46 minut temuNew Shirudo tool uses AI to shield unpatched Linux systems from exploits IIT Security News1 godzinę temuOpenAI, Cisco Unveil Open Source Tool to Shield Unpatched Linux Systems IIT Security News1 godzinę temuOpenAI and Cisco Release Open-Source Tool to Shield Unpatched Linux Systems SSecurityWeek1 godzinę temuOpenAI, Cisco Unveil Open Source Tool to Shield Unpatched Linux Systems
5 źródeł
[NEU] [mittel] NGINX NGINX Plus: Schwachstelle ermöglicht Denial of Service
BSI Warn- und Informationsdienst (WID): Schwachstellen-Informationen (Security Advisories) 2 godziny temu
4 kolejnych źródeł
BBSI Warn- und Informationsd…2 godziny temu[NEU] [mittel] Google Chrome: Schwachstelle ermöglicht nicht spezifizierten Angriff BBSI Warn- und Informationsd…2 godziny temu[NEU] [mittel] Check Point Zone Alarm: Schwachstelle ermöglicht Ausführen von beliebigem Programmcode mit Administratorrechten BBSI Warn- und Informationsd…1 godzinę temu[NEU] [mittel] React: Schwachstelle ermöglicht Denial of Service BBSI Warn- und Informationsd…1 godzinę temu[NEU] [hoch] Rsync: Schwachstelle ermöglicht Denial of Service
4 źródeł
IT Security News Hourly Summary 2026-11-24 15h : New phpAfterShell Bug Reopens PHP2Shell Attack Path and 17 more posts
IT Security News 20 minut temu
3 kolejnych źródeł
IIT Security News48 minut temuNew phpAfterShell Bug Reopens PHP2Shell Attack Path IIT Security News1 godzinę temuIT Security News Hourly Summary 2026-11-24 14h : EvilTokens Phishing Infrastructure Resurfaces After Microsoft Takedown With New Device-Code Attack Hosts and 13 more posts IIT Security News2 godziny temuIT Security News Hourly Summary 2026-11-24 13h : Five TEFAF robbery suspects added to EU Most Wanted and 19 more posts
Mehr aus dieser Kategorie
Blättern: Pfeiltasten [ ← ] [ → ] · Tasten j / k · mobil: Wischen
HAND-OFF
Auf Smartphone übergeben (ADVISORY)
Scannen Sie den QR-Code mit der Smartphone-Kamera für sofortigen mobilen Zugriff:
https://tsecurity.de/pl/3500955/serwer-unix-i-linux/ladspa/
💬 Dyskusja społeczności i komentarze
Rozpocznij dyskusję w strumieniu transmisji Social Chat lub prześlij wyżej wkład ekspercki przez formularz uzupełnień.