Audio Library

0 views
Skip to first unread message
Message has been deleted

Nasha Goodridge

unread,
Jul 10, 2024, 2:00:28 PM7/10/24
to whoeserlulo

I've been searching for a long time and everything I find that looks promising (Allegro, SFML etc) turns out to have some GPL or LGPL code in it. I'm not trying to start a debate about licensing, it's just my preference so anyone who knows of something simple please let me know.

audio library


DESCARGAR https://byltly.com/2yOWFZ



The source for TempAU has not yet been released as it's brand new. I've seen some comments on forums by the developer and he is planning to release it in the near future, from what I gather. TempAU right now uses libs that are LGPL so I'm not going to use it, but I thought I'd mention it anyway since once the source comes out I'm sure it'd be trivial to link in ogg support or something open.

Cinder is licensed under a modified BSD license, so pretty much the only license requirement is that you include a copy of the license anywhere (ReadMe, whatever) when distributing with your source or binaries. Since I've already written the vast majority of the functionality in cinder, I'm just going to strip out the audio part and built it into it's own lib. Thanks again, hope this is helpful!

Edit
One last thing, I stumbled upon both these libraries from this excellent list of libs. The list provides a short description of functionality within each lib, along with what license the library is published under.

Sounddevice was removed in the 2023 version. You might want to re-install 2022.2.5, use the settings window there to change the audio lib to PTB or something else that works, then reinstall 2023. That will at least resolve the immediate error. Or you could just go back to 2022.2.5 and keep using sounddevice.

My above response about installing plugins also stands - you need the appropriate plugin for some of the sound drivers - but I had forgotten the more basic issue that the preference had necessarily moved location

It seems that suddenly when I go to "Audio Library" in the Media section, it does not go to the same place set in Preferences. My Preferences has the Audio Library location equal to the audio drive I use and where I keep samples, not the C drive "standard" location. I can see "Preferences" shows the correct location, but when I go to the "Audio Library" shortcut it continues to go to the C drive where there's nothing. I have to manually navigate to the folder now. Any thoughts?

I think it might have something to do with Arranger templates now being the top item in the bottom part of the list. I've noticed the same problem for some time. Probably starting with the inclusion of the new Arranger feature. It looks like it defaults to the top item in the list - previously Audio Library - until you reset it. But you have to do that in each project and save, as its a per project setting. You dont need to navigate directories to reset so - just select Audio Library from the dropdown list.

This thread aims to explore the use of Python and libraries for creative audio processing and sound manipulation both in real-time and for offline work with audio files, but also for MIDI sequencing, audio synthesis etc.

Feel free to share your experiences with the libraries listed above, provide or ask for advice, recommend other Python libraries useful for creative audio processing, or share code snippets, books, articles, etc.

Pyo is a Python module written in C to help digital signal processing script creation. It provides a complete set of classes to build audio softwares, compose algorithmic musics or simply explore audio processing
Github Repository

The simplaudio package provides cross-platform, dependency-free audio playback capability for Python 3 on OSX, Windows, and Linux. (recommended with Pydub) Repo archived but still working.
Github Repository

Hacker Noon - Audio Handling Basics: Process Audio Files In Command-Line or Python
This article provides a primer on handling audio data using command-line tools and Python, offering a cursory exploration into sound handling in Python. It elucidates the two fundamental attributes of sound: amplitude and frequency, and discusses the importance of sampling frequency in the audio processing domain. Practical examples including normalization and trimming/segmentation, etc

The Clever Programmer - Audio processing with python / Pydub
A beginner-friendly guide using the PyDub library. It covers loading files, playing, basic processing, layering, applying filters, and synthesizing tunes with Python.

Below is a list of readings that I have found enjoyable and informative on the journey of learning Python or enhancing existing skills. While they are not specifically focused on sound processing, acquiring a good grasp of Python fundamentals through these resources can provide a solid foundation for those interested in exploring audio manipulation techniques.

Almost ten years ago I took a Coursera course, Audio Signal Processing for Music Applications, taught by Xavier Serra at Universitat Pompeu Fabra, and the bulk of the signal processing was done with numpy. It looks like that course is still going; I thought it was pretty great.

AMY is also the basis for the Alles distributed mesh synth, and the sound engine in the Tulip Creative Computer, which are other projects from the same talented developers and worth checking out if you enjoy using Python for creative pursuits:

Different problem that follows: I can open another thread if that is deemed better: a library was missing, no problem, loading the library , now it compiles and the compiler window says success, yet the source window and the status on the bottom still state the library is missing. In particular this is the SerialFlash lib.

Click on the run button and you will see the error message displayed saying the audio library cannot be found on replit.
The link to the program is below:-
@AlisiaHabibi3/Ellas-Musical-Shape-Making-Game?v=1#main.py

I tried inserting audio via the method you suggested using pygame, but the audio is still not playing. These are code blocks I included. Can you please suggest how I can get audio to play in Python using the turtle library. I would really appreciate this.

I did implement the full working audio version program, and it still did not play the audio, I am not sure what the problem is. Could you please have a look at my program with audio? I would really appreciate it.

Then I wrote a simple test code for the F411 to handle the stream using the callback, and a PWM channel, it is working, I can hear the music from the uC, so it is definitely working well. (It's just a test, my project is not a usb speaker, but a HAM radio project that needs audio processing in the uC.)

While I have no deep knowlidge in the HAL library (I just like to use it, not debugging it), I am not absolute beginner. I was able to use it with the F411, and wrote a working usb audio code for the F103 too using the SPL. Tried tinyusb library as well with success.

With rare exceptions, almost everything in HAL/Cube code is broken and bloated. You cannot expect a reliable device, which is built on broken bloatware. And you cannot expect a decent code from incompetent developers...

Tinyusb has no isochronous transfer support for the stm32F1xx and stm32F3xx family. I learned it the hard way, first tried it, and made an unsuccesful test. Then debugged it, and found the reason. Then Googled the forums and got the claim it's not supported...

You asked a similar question a few months ago. An audio playback library has little reason to extract frequencies, so I'd be very surprised if you found a library that did both of those. If you want to detect frequencies in sound data, you should look into fourier decomposition, and look for crates related to that. You can easily find an audio playback library by searching as well.

If you have Zoom Phone activated on your account, you can use the audio library to customize Zoom Phone audio for voicemail, greeting, and hold music. For example, you can customize your voicemail greeting that's played before a caller is routed to voicemail.

Note: After the voicemail greeting, Zoom will play a tone to indicate that voicemail recording has started. There is not a standard audio prompt to state "leave a voicemail after the tone". You can optionally state these instructions as part of your voicemail greeting.

Greeting & Menu: Plays before giving the caller the option to connect to the operator and/or leave voicemail. This greeting should explain the IVR menu displayed in call handling settings.

Leave voicemail instruction: Plays after the initial voicemail greeting above and the caller presses 1 to leave a voicemail. This greeting should include the instructions for leaving voicemail.

You can add tracks by importing audio track files just like any other file type. You can also import directly inside of the audio media library screen by tapping on the + button in the lower right corner to open the Import Files Menu.

If the audio media library is viewed while choosing tracks to link a chord chart or sheet music, you can do so simply by tapping on it in the list. This will close the audio media library screen and return you to the audio picker menu.

If you've opened this screen from the Utilities Menu, you can edit tracks by tapping on them in the list. Otherwise you can edit the track by swiping to reveal action buttons including an edit option, or by using the Context Menu.

Importing audio tracks can consume a lot of space on your device. If you're importing MultiTracks with multiple, uncompressed audio stems, it can consume your available data storage quickly. Tap on the Manage Storage link in the footer to change how OnSong manages your data.

Has anyone been able to modify the Simple Audio Player sketch so that playback can happen without pausing other operations in the loop code for the Due board? I'm not sure whether it's the buffer that's causing the pause or the Audio.write command, but I added a blinking light line of code in and when I press the button I've assigned to play my audio file, the light completely stops until the audio is done playing. I'm hoping there is a way to perform an audio playback on both DACs as well as run the regular loop code simultaneously. Shouldn't be too hard since it's pushing analog signals from a buffer, but I'm lost... Here's my test code.

d3342ee215
Reply all
Reply to author
Forward
0 new messages