Search found 2174 matches
- Tue 2025-03-25 16:30
- Forum: VS1010 Forum
- Topic: VS1010 usb audio stream to I2S
- Replies: 10
- Views: 381
Re: VS1010 usb audio stream to I2S
You can only have volume settings for actual audio channels coming from the USB, but USB Audio descriptor can describe mixers and other elements that can "publish" subwoofer level control to the USB Audio Interface. Selector units could be used to switch between amplifier and headphone out...
- Tue 2025-03-25 13:29
- Forum: VS1010 Forum
- Topic: VS1010 usb audio stream to I2S
- Replies: 10
- Views: 381
Re: VS1010 usb audio stream to I2S
Because if the amplifier are note muted, the noise will still be amplified and can be heard at high volume. If the amplifier has volume control, you don't need to perform volume on the vs1010. You can receive the Volume/mute commands from the USB host and then forward the commands to the amplifier/...
- Mon 2025-03-24 14:27
- Forum: VS1010 Forum
- Topic: VS1010 usb audio stream to I2S
- Replies: 10
- Views: 381
Re: VS1010 usb audio stream to I2S
USB Audio Device implements USB Audio 1.0 or USB Audio 2.0 and both can have audio controls that adjust volume and mute. So, it's a matter of implementing the USB Audio device and configuration descriptors and the corresponding functionality. We've done it with most VLSI chips that have USB. If Hann...
- Mon 2025-02-17 15:30
- Forum: DSP and Audio Software
- Topic: Reverse playback VS1005/1063
- Replies: 4
- Views: 1467
Re: Reverse playback VS1005/1063
The player would be a reimplementation of the wav decoder. You need to read the RIFF WAVE header to get all of the information (sample rate, number of channels, bytes per sample, start and size of the data), then you can seek in the data chunk and read and play accordingly.
- Mon 2025-02-17 15:25
- Forum: VS1005 and VSOS Software
- Topic: Mono recording issues
- Replies: 7
- Views: 1619
Re: Mono recording issues
I know next to nothing about VSOS, but would ioctl(stdaudioin, IOCTL_AUDIO_SET_ICHANNELS, 1); do it?
or
AUIADC m 96000 line1_3
or
AUIADC m 96000 line1_3
- Mon 2025-02-17 14:05
- Forum: VS1005 and VSOS Software
- Topic: Mono recording issues
- Replies: 7
- Views: 1619
Re: Mono recording issues
It looks like you're writing a mono WAV header, but the data remains stereo. Thus, every other sample is from the left and every other from the right channel, producing a double-length file.
Don't you need to switch the stdoudioin to mono first?
Don't you need to switch the stdoudioin to mono first?
- Mon 2025-02-17 14:01
- Forum: DSP and Audio Software
- Topic: Reverse playback VS1005/1063
- Replies: 4
- Views: 1467
Re: Reverse playback VS1005/1063
Most formats cannot be played in reverse order without first decoding them and storing the result (in significant chunks). To reverse play without decoding the whole file first would need to decode from the end of the file to the front. You could do this with linear PCM WAV and vs1005 with a special...
- Tue 2025-02-04 17:40
- Forum: VS1005 and VSOS Software
- Topic: Programatically reset device with C
- Replies: 7
- Views: 2130
Re: Programatically reset device with C
Watchdog is the number one way for me to restart the system from scratch in products, e.g. after a firmware update or waking up from standby (when standby has turned off so many things that turning them back on is just unnecessarily duplicated code). In the case of vs1005 / vs1010 keeping PWRBTN hig...
- Tue 2025-01-28 16:51
- Forum: System Software
- Topic: SPI FLASH programming by USB.
- Replies: 3
- Views: 1621
Re: SPI FLASH programming by USB.
So far, I haven't had success using pcflash. Programming through VSIDE's Prommer/Flasher utility has been working well. pcflash connects to the vs1000 chip in the same way as the VSIDE's prommer, so the issue is probably just in the parameters. The newest pcflash also has different erase options. O...
- Mon 2025-01-27 13:02
- Forum: System Software
- Topic: SPI FLASH programming by USB.
- Replies: 3
- Views: 1621
Re: SPI FLASH programming by USB.
Unfortunately loading the firmware through USB is complex due to the small size of the VS1000's RAMDISK (6.5kB). UART is the easiest. Once the firmware is there (and supports USB mass storage for the SPI FLASH), the content could be programmed through USB, although for small contents programming the...