-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I´ve can´t hear something in colour_terminal_audio app... #60
Comments
I´ve see an pwm output pin for olimex, but i can´t see it... |
Auto responding me, in olimex board, audio L and R, 22 and 23. I put an amplifier in thoose pins, but no sound. |
I see my name mentioned. |
The code at https://github.com/ikjordan/PicoDVI has been updated today to include more detail in the Readme. There are two branches, master and audio If you want to generate stereo PWM sound on the Olimex RP2040-PICO-PC DVI board (which uses pins GP27 and GP28 for audio not 22 and 23) then you can follow the guidance in the Readme on the master branch. This branch contains a small change to the original PicoDVI to allow the audio PWM to be driven independently of the DVI clock on the Olimex board. Note however that the branch does not contain any PWM sound examples. If you want generate sound over the DVI / HDMI cable, then you can follow the instructions in the Readme on the audio branch. This branch is based on the audio work of mlorenzati and shuichitakano. There are 3 example programs on the audio branch that play sound over the DVI/HDMI cable. These example are:
Examples using this code for sound over HDMI or PWM can be found within https://github.com/ikjordan/picozx81 |
Thx for answer me ikjordan! I´ts all an honor! I´ve made a custom board, so the Olimexpc configuration pins, are the more aproach to my board. |
Hi again ikjordan, do you thing, it will be possible, to use sounds via hdmi + pwm sounds? All internally in the pico flash, just like a Wii does (sounds on tv + sounds on the wiimote, like effects sounds). I have read the master branch, but I can't find when I can call a function to play a sound (.h) via pwm on some pin (maybe and we could create a new card with its specific pins, so that they don't 't get in the way internally), and generate sound through both media (hdmi+pwm), or can it be the original maybe I look like a donkey again =( |
@Xiran64 There are no examples within the PicoDVI branches that play sound over PWM. The audio branch includes examples for playing sound over the DVI / HDMI interface. |
Thx for your answer ikjordan! I can confirm, i put two diferent sounds, via hdmi (in the tv), and via pwm pin (via an amplifier), both have diferents sounds, and are independent. |
Hi again! One doubt @ikjordan, about the audio injected in hdmi signal, which characteristics is needed? Because i´ve tried to add audio, but i can only hear noises =(. commodore argentina good and my audio only noise. For pwm audio i´ve use uint8_t WAV_DATA, and in your example, i´ve see you use: unsigned char, so i´ve convert my file to the same via xxd method, but only hear noise... |
Auto responding me: It needs to be 8bsig@44100/22050/11025. |
Hi again(x2)! @ikjordan, how can i do, the audio in hdmi do it once? I put at certain time (for example, every 4 secs), alternate with a silent file, but, it repeats the remaining time =(. |
Currently to play "silence" silence sound packets must be passed. If no sound data is supplied the result is undefined. The author of the ZX Spectrum emulator has raised a pull request so that silence is generated if no sound data is supplied. I'll accept that into "my" repo in the next few days |
Yep, i´ve generate a silent file, to do that task. But when i need to play only one audio file via hdmi, it repeats all the time to arrive to the silent time. |
UPDATE: Good news!, it nows play only once, but it needs to restart a variable used internally, because we don´t know which valor it have at that time, and the variable need to say: i´ve terminated speaching, because it only initiallices at 0 at the begging. And second, it depends of wav_len, to start "silence" data, after that, to not corrompt the course of signals. |
I´ve made my own test board, and re asign output pines to adapt to my board, i´ve compile the 3 folders with audio extra in the name.
But i´ve only see in the tv, the original image, and in the right, some slim lines moving, the tv shows dvi signal.
In the pdf of ikjordan, i´ve see three new pins, so, i´ve thing, i need it to change mode from dvi to hdmi? can i remap those? Because in my configuration, i´ve use that pines, in tmds signals =(
The text was updated successfully, but these errors were encountered: