Audio Key Converter

1 view
Skip to first unread message

Bradley Zweig

unread,
Aug 5, 2024, 2:18:48 AM8/5/24
to recesrahoofp
Someof you have asked me how to interface our I2S audio converters to an MSP430 microcontroller. Michael Burns has written an application report that focuses on this subject.

Please find it here:


I am working on a design using a MSP430F5438 to analyse an audio stream from a AIC3254. In my case the CODEC is in master mode and generates all clock signal in the Left Justified Mode. I configured the MSP430 in 4-wire SPI mode. With STE (Slave Transmit/receive Enable) connected to the WCLK the interface only receives one channel. If you need both channels then you could take a second SPI interface connected to the same bus but with an inverted STE signal.So no for external components at all.


As mentionned in 'slaa449a.pdf' there is one slight problem that the stream is 16bit and SPI only supports 8bit. In my case I am filling up a larger buffer through DMA. If you fill the buffer from the beginning you will notice that you can't read them as signed integer (16bit) straight away. MSB(byte) and LSB(byte) are inverted (little endian/big endian). If you start filling the buffer from the end this issue is solved as well.


We are going to be doing the same thing, using the CODEC as a timing master. Could you please send me a little more details on how your code and hookup works? We cannot use any external hardware, and we're using the MSP430F5528 device.


Would it be possible to get some assistance directly to my programmer? His name is Layne Phillips, and his email address is LNPS...@aol.com. Please cc me on any email traffic so I can be in the loop.


Since only the direction from the codec to the MSP is needed, I want to use the codec as the timing master as jaiv suggested and use the WCLK as the MSP's slave select input. Only one channel can be captured this way but this is not a serious drawback for my application.


In case I need both channels, is it possible to use the WCLK to initialise the SPI transfer, thus avoiding the syncronisation problem that Howard mentioned, and then "latch" the SPI in "selected" mode so that the MSP keeps receiving words indefinetely using DMA? Maybe turn the WCLK off from the codec side after the reception starts so that the STE remains low?


I have seen that the codec's outpout word length is configurable to 16, 20, 24 or 32 bits. Does this mean that the resolution of each value is increased accordingly, or that for 32-bit word length two 16-bit values are send along with 32 dummy bits? I suspect that the former is the case, however the latter would be preferred for my case if the left and right values are sent in the first 32 bit clock cycles, when the WCLK is constantly LOW or HI (depending on polarity) so that they can be received as a single SPI frame.


I am still working on the interface between the TLV320AIC3256 and the MSP430 and have stumbled upon the following: The audio codec outputs I2S samples of 64bits, 32bits per channel. Using the TLV320AIC3256 eval board and configuring the word length to 16 bits per channel, the length of each sample is still 64 bits, which makes interfacing with the MSP430 more difficult. Is it possible to configure the codec to output 16bit per channel, left-justified I2S?


& also to extract / rip the audio tracks from them. i too have a few live show DVD. this app has the wort possible support but it doesn't give problems as such, so you can live with it. i havebacked up my DVD collection to HEVC/H.265 in the mp4 container .. the rips are fantastic .. you will need a super display card to use the accelerations feature.


This is how I normally do it:

1. Use MakeMKV to remux the content to MKV.

2. Extract the audio track(s) with Inviska MKV Extract. On DVD you often have the choice between AC3 and DTS. AC3 is the more efficient codec so it might actually have higher quality even if it has a lower bit rate.

3. If the video contained chapters you can use chapterEditor to convert the chapters in the MKV file to a CUE sheet.

Also works for Blu-rays. On Blu-ray you normally even have lossless audio, generally in form of DTS-HD. Got two lossless 5.1 surround soundtracks that way.


Digital Audio Output is probably fiber optics. Trying to decode the signal using a measly Arduino Uno is quite a stretch. And since its digital, its also probably one of the higher quality audio signal (44 kHz, 96 kHz, etc) and at least 16 bits. That's a bandwidth of about 176 kB/sec for a stereo channel


I am trying to connect Beam to a Sony Bravia Tv using an audio converter. I have coaxial out of tv into converter. and optical into converter from beam using Sonos supplied adapter. I am trying unsuccessfully to connect to to beam. message on sonos app says no signal detected make sure to digital optical adapter and HDMI cable are securely plugged into....

it will not connect to tv


i did exactly what you mentioned. used a coaxial cable from the TV out and plugged it into the adapter/converter. Then an optical cable from the adapter/converter to the Sonos adapter cable and that cable to the beam HDMI. But couldn't connect and no sound from the beam.


You would connect your source(s) to it, and then run an HDMI cable from the output of the switch to your TV, and the optical cable from the appropriate output jack, to the adapter that came with the Beam.


My link was only an example, there are dozens of varied types out there, from the number of ports, to remote controls, etc. I have no knowledge of that specific three port model, so you should shop around for the features and price point that appeals to your needs.


The RPA-SPDIF module is an Analog-to-Digital converter designed for use with an RP4.2-HY11 or RP4.2-HY12 interface to replace the factory Hyundai radio with a more advanced aftermarket head unit. The module converts analog audio from an aftermarket radio into a digital signal for proper audio through the factory amplifier. The module uses a high-quality Wolfson digital to analog converter (DAC) to ensure excellent sound quality.


With fre:ac you easily rip your audio CDs to MP3 or M4A files for use with your hardware player or convert files that do not play with other audio software. You can even convert whole music libraries retaining the folder and filename structure.


This release adds a tool for splitting the output into multiple files based on various parameters like duration, number of files or metadata. The update also adds support for dithering, a matrix surround decoder and a volume adjustment filter.


fre:ac's discussion forums are moving to GitHub. Please post new questions and ideas in the new Discussions area and feel free to start discussions about anything releated to fre:ac and digital audio conversion over there.


This update adds native support for Windows on the ARM64 architecture which greatly improves the user experience on devices like the Surface Pro X, HP Elite Folio or certain Samsung Galaxy Book models. Most notably, conversions can be up to six times faster on many devices with ARM cores.


This update adds support for verifying audio CD rips using AccurateRip technology. This compares a checksum of the ripped audio against other users' results for the same CD. When a match is found in the AccurateRip database, this basically certifies a perfect rip. And in case of a mismatch, fre:ac displays a warning to let you know something may be wrong.


The AU-A300-HBT is a compact 2 channel digital receiver that is perfect for providing high quality audio distribution in remote AV zones within any multi-room installation. This advanced solution can integrate local HDMI and remote HDBaseT sources from a CYP...


The USB Digital Audio Converter is specially designed to take the audio output from a USB Audio source such as a Laptop or PC and convert it to high quality analogue stereo for use with headphones or earphones. It utilises...


The AU-D250-4K22 is designed to integrate and convert both analogue and digital audio signals into any AV system. This device has an in-built sample rate converter which can upscale audio signals between 44.1kHz to 192kHz (24-bit). With 4K resolution support,...


The AU-D5D is a digital to analogue converter (DAC) which allows the user to easily downmix digital coaxial signals to analogue stereo audio. The AU-D5D features Dolby Digital and DTS decoding allowing for seamless integration to any AV system.


Hello, this is my first time asking for help, I am looking for a reliable audio converter for Windows 11. I've tried a lot of online tools, but they're always filled with ads or have poor audio quality. Plus, you never know when these things pose a security risk to you. I'm looking for a simple and reliable program that can handle a variety of formats (mp3, m4a) without degrading the audio quality. If it can do batch conversions, that would be even better.


Hey, have you tried Audials Music? It's pretty powerful, can handle different audio formats, and does a great job of preserving the sound quality. The interface is pretty simple, so you shouldn't have a hard time mastering it.


FFMPEG is the free command-line tool you can trust and it works very well as an audio converter. You can use it on Windows 11, Windows 10, Windows 8 and Windows 11 for audio conversion. Below is an example for converting mp3 to wav:


fre:ac is a popular and totally free audio converter, compatible with Windows, Linux, and macOS. With its robust feature set, it supports a wide range of popular audio formats and encoders. Easily convert your audio CDs to MP3 or WMA files for seamless playback on your favorite hardware player or resolve issues with audio files that won't play with other software. Plus, It can convert entire music libraries while preserving the original folder and filename structure.


Are you looking for a hassle-free and convenient online audio converter? FileZigZag is a reliable option that allows you to convert your files online for free. It supports a wide range of file formats, including documents, images, archives, ebooks, audio, and video files.

3a8082e126
Reply all
Reply to author
Forward
0 new messages