|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#321 | ||||||
Member
Join Date: Nov 2003
Posts: 77
|
Quote:
![]() Quote:
![]() Quote:
What's your preferred matrix in this case? (I used AC3Filter for a long-long time (when I didn't have an AVR, just 4.1 speaker system) so I'm familiar with the concept.) Quote:
Quote:
![]() Quote:
You can create a log, maybe we can see something in it (if you haven't done it yet). All of the modes are working for me on Win8.1 with Intel Display Audio driver v6.16.0.3154 (using HDMI). On the other side, as for Peter, Maiko doesn't work for me in Exclusive mode. ![]() |
||||||
![]() |
![]() |
#322 | |
Senior Member
Join Date: Jun 2010
Posts: 406
|
Quote:
![]() |
|
![]() |
![]() |
#323 |
Junior Member
Join Date: Jun 2016
Posts: 1
|
thanks for telling about other(WA)SAPI Output Plugin for Winamp (YASAPI) .
braindumps deals exams |
![]() |
![]() |
#324 | |||
Forum King
Join Date: Aug 2011
Location: Phoenix, AZ
Posts: 4,891
|
Quote:
For my 5 channel (4.1) system I configured the left and right inputs to the front left, front right, rear left, rear right, and LFE output channels. I sent the full stereo inputs to their respective front and rear output channels and combined them (at one quarter amplitude) for the LFE channel to the subwoofer. For music, I used the matrix mixer's 'distance from speakers' feature to virtually place the rear channels farther away than the front channels to create a sort of rear echo effect (or maybe it was the other way around, this was some time back). Then I slightly adjusted the gains (up or down) on each channel to get the balanced sound I like with very little chipping. I also used the Windows sound utility to adjust the volume of each channel to compensate for the non-symmetrical placement of my speakers (that the shape of the room my system is in forces me to use) and because I don't hear equally well in my left and right ears. I don't use the 'distance' feature very much anymore and just set the rear channels' volume to be slightly louder or softer than the front, depending on what I'm listening to. After everything is all setup, I use the main volume control on my speaker system's remote to control overall volume (leaving the Winamp volume control set to 100%). While setting up, I have the main volume control just loud enough to hear everything clearly. Yeah, I go thru a lot to get as close as I can (on a relatively small budget) to the quality sound I like. ![]() Quote:
Quote:
As pbelkner said earlier, Maiko was not a true WASAPI implementation. It was more like a hybrid. Windows 11 Home 64-bit v22H2 desktop - Logitech Z906 5.1 speaker system Last edited by Aminifu; 6th June 2016 at 20:20. |
|||
![]() |
![]() |
#325 |
Forum King
Join Date: Aug 2011
Location: Phoenix, AZ
Posts: 4,891
|
@chros and pbelkner,
The diagram shown in this link (http://maiko.elementfx.com/forum/index.php?topic=22.0) and the user manual (http://maiko.elementfx.com/forum/index.php?topic=7.0) may be useful to better understanding Maiko and getting it to work for you. Better descriptions of the mixer (matrix) and balance (channel gain) configuration tabs are in the Maiko thread in the Winamp Development sub-forum (http://forums.winamp.com/showthread.php?t=302485). Some posts in the last 4 pages contain the best info related to the last few releases. Windows 11 Home 64-bit v22H2 desktop - Logitech Z906 5.1 speaker system |
![]() |
![]() |
#326 | |
Senior Member
Join Date: Jun 2010
Posts: 406
|
Quote:
Just to let you now I'm already working on XAudio2/XAPO output and dsp plugins. |
|
![]() |
![]() |
#327 |
Forum King
Join Date: Aug 2011
Location: Phoenix, AZ
Posts: 4,891
|
That's good news. Hopefully the exclusive mode (if it is going to have one) of your XAudio2/XAPO output plug-in will work better with my modified Creative driver than YASAPI does.
Windows 11 Home 64-bit v22H2 desktop - Logitech Z906 5.1 speaker system |
![]() |
![]() |
#328 | ||
Member
Join Date: Nov 2003
Posts: 77
|
Thanks Aminifu for your explanation.
Quote:
Quote:
![]() |
||
![]() |
![]() |
#329 |
Senior Member
Join Date: Jun 2010
Posts: 406
|
Don't expect any new features. The adventure is to explore a new technology. XAudio2 is a framework for streaming audio. In it's essence it can do nothing. Like all frameworks it's just a set of interfaces and some semantics about how they should interact. In order to make development possible there are some default implementations available.
The XAudio2 output plugin is close to be finished. It will be released in the next few days. Release Early, Release Often! |
![]() |
![]() |
#330 |
Forum King
Join Date: Aug 2011
Location: Phoenix, AZ
Posts: 4,891
|
I forgot to mention that there are 2 apps called matrix mixer. Both can be used to remix stereo input channels to multiple output channels. To clear up any possible confusion, the full name of the one I'm using is "winamp matrix mixer" (https://sourceforge.net/projects/winampmatrixmix/). It contains an output plug-in stacker that is used to direct it's output to another output plug-in. It's configuration window contains 5 tabs and looks like the image below (click on the image to see a larger version).
The other app doesn't contain an output plug-in stacker and it's configuration window has 4 tabs which looks like the image below (click on the image to see a larger version). The mixer and gains tabs in both apps look similar and function the same because both apps are based on the AC3Filter app. Windows 11 Home 64-bit v22H2 desktop - Logitech Z906 5.1 speaker system |
![]() |
![]() |
#331 |
Junior Member
Join Date: Jun 2016
Posts: 16
|
Hello,
Thank you very much for this plugin. Since you have implemented the gapless option, I have been using it as my primary output setting! Therefore, I came upon a few bugs, or missing features, which I am intending to list here. Sorry if you are already aware of them, but I couldn’t find any index of bugs list, request features… First of all my hardware configuration is an Asus P6T motherboard of which I use the Realtek’s digital coax. ouput. [I used to have an Asus Xonar Essence STX but its driver (relying on the C-media audio panel) was too unstable and no longer maintained. I used to have BSOD using ASIO, and more often even through windows sound, since using the digital output. But I’ll probably soon get a better sound card with analog and digital inputs and outputs] My software configuration is Windows 7, Winamp 5.666 and the YASAPI plugin v 1.6.4. Here are the settings I use: ![]() ![]() ![]() Bugs: The first major bug I encountered is that when I play a full album as a playlist, after the last track, the device is not released by the plugin. Even if I close winamp, the window disappears, but the process explorer still shows winamp.exe which I got to kill. However, if instead I start to play a track and stop it, the device got released. If the last track does not end with silence, I can hear the last second played in loop when it stops. (Perhaps this has to do with gapless enabled?) The second bug, is that when I pause a track… and then move the cursor, the playback takes again (but I haven’t clicked on play). This is really confusing because the player is still on pause mode, but the music is playing. Closing and restarting winamp causes this error message: ![]() Features requests: a) Here are a few other things I feel that are missing, or questions that I have… Please do not take these as criticism over the plugin; but totally open questions… These aren’t required features for me, but I think they might be improvement. I have checked the Volume control option, because sometimes it is very helpful to be able to get quieter music in a few clicks when I speak to someone, etc. But, I know that in the audiophile world many people will not check that options to ensure always have a bitperfect playback. While the sound is still at 100% however, I still got bitperfect playback… But… how does it come that whether the option is checked or unchecked, the EQ settings are working?! I guess the EQ shall be disabled when the option is unchecked, isn’t it?! How does it come that even if the volume control option is checked, I can’t get the balance working?! Would it be possible to have an on-screen information (where?) to know whether we are in bitperfect mode or not (ie if there has been any EQ, or volume changes/processing)?! b) Playback of exotic formats such as 32bits float, seems to crash winamp. Would it be possible at least to handle the error? I don’t know if playback support depends of the hardware configuration (the soundcard, and the decoder behind it)… But perhaps it would be an option to have a resampling done for formats that can’t be handled, like Windows Sound would do… it may be complicated and not perfect though, but it could permit to avoid winamp loosing the ability to play some kind of files… Thanks again for this helpful software and for your interest ! |
![]() |
![]() |
#332 |
Senior Member
Join Date: Jun 2010
Posts: 406
|
v1.6.5
What's new?
|
![]() |
![]() |
#333 | |||
Senior Member
Join Date: Jun 2010
Posts: 406
|
Quote:
What's going on there?
But, of course, when closing Winamp the connection should be released. This should be fixed with the new release (cf. above). You should note that the gapless feature is a workaround anyway because Winamp seems not to support it. We can try to make it as smooth as possible but it remains a workaround. Quote:
Quote:
![]() Is there another way? What do you mean by "moving the cursor"? |
|||
![]() |
![]() |
#334 |
Senior Member
Join Date: Jun 2010
Posts: 406
|
|
![]() |
![]() |
#335 | |||
Junior Member
Join Date: Jun 2016
Posts: 16
|
Quote:
Quote:
It actually fix half of the problem though: I can now close winamp properly, but I still get a bug when a playlist end. Please try to play this file in a single-track playlist. https://www.sendspace.com/file/fux7my You'll see/hear that you end up with a loop being played. I guess a stop request may be missing when the playlist stops by itself... But I can now end the mess more properly just by closing winamp. Quote:
Ah, do you mean that you actually confirmed and reproduced the bug ?! Thanks again ! |
|||
![]() |
![]() |
#336 |
Senior Member
Join Date: Jun 2010
Posts: 406
|
v1.6.6
What's new?
|
![]() |
![]() |
#337 | |
Senior Member
Join Date: Jun 2010
Posts: 406
|
Quote:
Please try the new version. |
|
![]() |
![]() |
#338 | |
Senior Member
Join Date: Jun 2010
Posts: 406
|
Quote:
![]() It's reproduced and it used to happen not just with gapless playback. |
|
![]() |
![]() |
#339 | |
Junior Member
Join Date: Jun 2016
Posts: 16
|
The bug was still present in the v1.6.5, but has been fixed in 1.6.6. Thank you !!
Quote:
Just came upon another little bug: a) Create a playlist with 2 (or more) tracks. b) Play the first track, then pause. c) Double-click on the other track, to start it. => The music plays fine, but the time and position stays at zero / are not updated. d) Stop and play another track, the problem remains. Then move the time-position cursor: the problem is fixed and the time-display is updated again. Another solution is to switch to pause/play mode a few times, and it returns to normal again. |
|
![]() |
![]() |
#340 | |
Senior Member
Join Date: Jun 2010
Posts: 406
|
Quote:
The other class of bugs with respect to gapless playback seem to be solved for now. |
|
![]() |
![]() |
#341 | ||
Member
Join Date: Nov 2003
Posts: 77
|
Quote:
Quote:
As I reported earlier, player is crashed with Yasapi when (DS output is working well, and Saenar with MPC-HC also good: they don't crash, there is no sound till there's no monitor, and they continue the playback when monitor comes back): 1. the monitor goes to sleep (either automatically or by keyboard shortcut) 2. if I turn on the TV: that means the default audio device is changed in Windows I've got this in debug window with case 1. : code: Interesting thing is: if the device buffer is large (e.g. 7.0 as default) and I'm quick to get back the monitor, then I don't have crash since the device buffer didn't get empty in this short amount of time. So, it would be nice to handle somehow these things, with either: - stopping the playback - or, it would be better, continue the playback when a device is ready again I know that You don't have this kind of setup, but I can try it out whatever you want me to do ![]() I tried to use Verbose 3 in debug options but I can get just only "couple" of lines in debug window and I can't see all of them (it's so fast). Can you make an option in debug version to put this info into a logfile (e.g. in AppData dir, with a date/time in the name)? Thanks for the new version! |
||
![]() |
![]() |
#342 |
Senior Member
Join Date: Jun 2010
Posts: 406
|
v1.6.7
What's new?
|
![]() |
![]() |
#343 | |
Senior Member
Join Date: Jun 2010
Posts: 406
|
v1.6.8
Quote:
|
|
![]() |
![]() |
#344 | |||
Junior Member
Join Date: Jun 2016
Posts: 16
|
Quote:
![]() Quote:
I used two players for this: Winamp with the YASAPI plugin (with same settings as above) + Audacious which uses Windows Sound (I don’t think it handles properly other ways). a) Start each of the programs. b) Play a track with Audacious. => the tracks plays ok. c) Stop the track in Audacious, and then start a track in Winamp. d) Start a track in Audacious => Audacious shows an error because the device is used: OK e) Stop the track in Winamp f) Start a track in Audacious => the tracks plays ok, the device has been released. c) Stop the track in Audacious, and then start single-track playlist in Winamp. d) Wait until the playlist ends. Then start a track in Audacious => Audacious shows an error because the device is used: device has not been released. As mentioned before, it is easy to workaround this by start and explicitly stop a track on winamp. Or just closing winamp. Quote:
a) Digital inputs. This model seems to be one of the few having such digital inputs, without getting a very expensive professional soundcard. Such inputs can be used to convert into files DAT or early MD (pre Net-MD). The other way would be using a (discontinued) iRiver device. b) Proper ASIO support. Some audio editing softwares recommends (to bypass Windows Sound), or sometime event require, ASIO… I have installed ASIO 4 ALL to emulate an ASIO interface, as the Realtek chipset doesn’t implement ASIO; but proper ASIO would be finer I guess. But both of these requirements are off-topic with the YASAPI plugin. And in that case I guess for digital output any soundcard would do the same job, as long as buffer settings are set correctly… isn't it ?! |
|||
![]() |
![]() |
#345 | |
Senior Member
Join Date: Jun 2010
Posts: 406
|
Quote:
I understand that you consider it not optimal but that's the price to pay in order to have gapless playback. EDIT: There's another way to disconnect Winamp from the device:
|
|
![]() |
![]() |
#346 | |
Forum King
Join Date: Aug 2011
Location: Phoenix, AZ
Posts: 4,891
|
Quote:
Maiko, in it's default exclusive mode, did the same thing. However, Maiko provided an option that would allow it to release the sound device after it determined it wasn't using the device for a few seconds (2 or 3, if I remember correctly). Would you consider adding such an option to YASAPI? It would make it easier to switch to another digital media player temporarily (without closing Winamp). If you decide, it is not worth the effort to add such an option, I can understand that too. Windows 11 Home 64-bit v22H2 desktop - Logitech Z906 5.1 speaker system |
|
![]() |
![]() |
#347 |
Junior Member
Join Date: Jun 2016
Posts: 16
|
Hum... I'm not that sure you understand the issue...
For me this is either a bug, or a design error... When I said that the device is not released, is actually when the playlist as ended. Therefore the player does not play anymore. I understand that when jumping between one track and another the device shall not be released to ensure gapless. But when the playing has ended, I can't see any point of still locking the device. At that point the state shall be the same as if we had pressed stop. I don't know how winamp and its plugins are designed, so it may not be possible nor easy, but we shall detect if we are in a playing state or not, and if not, the device shall be released ASAAP (as suggested above, it may be a couple of seconds after actual playing ended). And, another little bug - sorry ! ![]() a) Open winamp b) start play a trck c) close winamp (without stoping) d) restart winamp With DirectSound output plug-in, playing resumes where it was. Here, there are many error messages, and playing does not resume. ![]() |
![]() |
![]() |
#348 | |
Forum King
Join Date: Aug 2011
Location: Phoenix, AZ
Posts: 4,891
|
Quote:
I don't know how it's done (undocumented APIs or hacks) but the DirectSound output plug-in is able to 'backfill' buffers and provide a gapless effect and crossfading without a noticeable gap in the output. The DirectSound output plug-in's 'remove silence' feature can provide a seamless gapless playback effect and it's 'crossfade' feature allows the start of 1 song to overlap the end of another song without any noticeable pause or 'pop' (stop and restart) sound at the point of overlay. Thinktink's crossfader input plug-in also allows the start of 1 song to overlap the end of another song without any noticeable pause or 'pop' (stop and restart) sound at the point of overlay when used with the DirectSound output plug-in (with it's silence removal and crossfading disabled), but not when it is used with YASAPI. I assume most Winamp 3rd party developers are willing to share insights with each other. Maybe you should ask thinktink what the alternate API method or 'trick' is. Windows 11 Home 64-bit v22H2 desktop - Logitech Z906 5.1 speaker system Last edited by Aminifu; 12th June 2016 at 22:02. |
|
![]() |
![]() |
#349 | ||
Senior Member
Join Date: Jun 2010
Posts: 406
|
Quote:
But I like your approach to test things thoroughly. Quote:
I already thought about setting a timer and come back after, say, 0.5 sec in order to check whether we're in underflow or whether we're really playing. But you have to have in mind that all such ideas are workarounds. A clean solution would be just by Winamp. Only Winamp knows whether playback has transferred to another plugin or playback has ended at all. |
||
![]() |
![]() |
#350 | |
Forum King
Join Date: Aug 2011
Location: Phoenix, AZ
Posts: 4,891
|
Quote:
You consider this a design error, I think it is a legitimate design decision on the part of the developer. As with many things, reasonable people can disagree on things when it comes to the choices that are made. ![]() Windows 11 Home 64-bit v22H2 desktop - Logitech Z906 5.1 speaker system |
|
![]() |
![]() |
#351 | |
Senior Member
Join Date: Jun 2010
Posts: 406
|
Quote:
No errors at all. Exact the same behavior as with DS. |
|
![]() |
![]() |
#352 |
Junior Member
Join Date: Jun 2016
Posts: 16
|
Are you using the same version as Winamp as I ?! I remember this resuming behavior only in the latest winamp version
|
![]() |
![]() |
#353 |
Senior Member
Join Date: Jun 2010
Posts: 406
|
|
![]() |
![]() |
#354 | |
Forum King
Join Date: Aug 2011
Location: Phoenix, AZ
Posts: 4,891
|
Quote:
Winamp used to do the same thing, awhile ago. Then it was decided to save (while the amp was still running) as much as possible of the data that was previously only getting saved at shutdown. Sometimes there wasn't enough time at shutdown to save everything that needed to be saved. Sometimes this still happens depending on what Winamp is doing when it is shutdown. While it is not absolutely necessary, it is prudent to not shutdown Winamp while certain things are still running (e.g. playback, re-scanning the media library, etc.). The Windows OS has a similar issue. Some users use the computer's power button to stop and start their computers, instead of the options in the start menu. Windows OS developers have tried to account for this behavior, but so far it is still looked at as user error and the user bears the consequences. Windows 11 Home 64-bit v22H2 desktop - Logitech Z906 5.1 speaker system |
|
![]() |
![]() |
#355 |
Senior Member
Join Date: Jun 2010
Posts: 406
|
Of course it depends on WA. It depends on whether WA is sending at least a quit request. In my version of WA (cf. above hardcopy) it is doing so.
|
![]() |
![]() |
#356 | |
Forum King
Join Date: Aug 2011
Location: Phoenix, AZ
Posts: 4,891
|
Quote:
I seem to remember some discussion about Winamp waiting for acknowledgements before proceeding with a shutdown. Some felt that was a bad idea because Winamp could receive a 'quit request' from the OS, which doesn't wait for an acknowledgement. I don't remember what was finally decided. Windows 11 Home 64-bit v22H2 desktop - Logitech Z906 5.1 speaker system |
|
![]() |
![]() |
#357 | |
Junior Member
Join Date: Jun 2016
Posts: 16
|
Hum.. I've got build 3512 from Nov 26, 2013.. it might explain !
Quote:
But, wherever we want this features or not - there is definitely a technical bug as long as I came upon the popups... |
|
![]() |
![]() |
#358 | |
Forum King
Join Date: Aug 2011
Location: Phoenix, AZ
Posts: 4,891
|
Quote:
Windows 11 Home 64-bit v22H2 desktop - Logitech Z906 5.1 speaker system |
|
![]() |
![]() |
#359 |
Junior Member
Join Date: Jun 2016
Posts: 16
|
Yes! just upgraded to this version (Multi-national installer).
After upgrade, the bug is fixed. And track resumes properly after restart. |
![]() |
![]() |
#360 |
Senior Member
Join Date: Jun 2010
Posts: 406
|
|
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|