Newest MultiView

miker1264 · 14015

miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #90 on: November 30, 2021, 04:32:59 PM
Great Miker, have you tried to open with Multiview the IFF image posted above !

I'm working on that now. I will use a Hex Editor.



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3741
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #91 on: November 30, 2021, 04:37:55 PM
I think it's a more qualitative IFF, strange though that all the other AROS and OS3 viewers don't have problems to show it  :o


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #92 on: November 30, 2021, 04:56:19 PM
I think it's a more qualitative IFF, strange though that all the other AROS and OS3 viewers don't have problems to show it  :o

I opened it in MultiView 1.8 on Icaros x86_64. It seems valid but there was no pixel data. So I did Save As IFF so MultiView recreated the file.

In the BMHD the value for Masking was set to 2 which is invalid for diplay purposes. Open it in MultiView and choose Save As IFF. When MultiView recreates the ILBM it sets Masking to 0. Then it is a valid ILBM file.  ;)

Our ILBM Datatype doesn't do error checking for Masking or Transparency. It expects the values to be correct.
« Last Edit: November 30, 2021, 05:12:39 PM by miker1264 »



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3741
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #93 on: November 30, 2021, 05:59:24 PM
Yes I tried the conversion, what seemed strange to me was that MysticView, LowView and PicShow had no problem showing the image, of course these viewers do not use the Datatypes, they have an internal coder.

Today I downloaded from aminet the midi.datatypes and with your Multiview I played a midi file, I will explain how I did it in the News that I will make tomorrow on AROS One 68k.

Of course with Multiview to play Midi files it is necessary to have a Hardware support, on AROS One 68k it works also via software with Timidity, instead Players that use GMPlay do not work.


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #94 on: November 30, 2021, 06:04:50 PM
Yes I tried the conversion, what seemed strange to me was that MysticView, LowView and PicShow had no problem showing the image, of course these viewers do not use the Datatypes, they have an internal coder.

Today I downloaded from aminet the midi.datatypes and with your Multiview I played a midi file, I will explain how I did it in the News that I will make tomorrow on AROS One 68k.

Of course with Multiview to play Midi files it is necessary to have a Hardware support, on AROS One 68k it works also via software with Timidity, instead Players that use GMPlay do not work.

Wow! Playing Midi Files sounds great. I'd like to try it.  :)

With a MIDI Datatype for 68k maybe DTConvertGUI can convert Midi Files to Wave Files?

I'm writing code for a MultiView Settings File to contain information about viewmodes for pictures and for ToolTypes. You can write them in the text file rather than in the MVIcon.
« Last Edit: November 30, 2021, 06:37:26 PM by miker1264 »



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3741
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #95 on: November 30, 2021, 06:17:43 PM

Wow! Playing Midi Files sounds great. I'd like to try it.  :)


I enclose a video that shows first how Multiview plays a Midi File via Hardware (Emulated), the second Player instead DaPlayer plays the Midi File via Software (Timidity).

https://drive.google.com/file/d/1bVbITs1XHwTZ9oeheaTLiGVVBJgk1q5Y/view


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #96 on: November 30, 2021, 10:34:14 PM

Wow! Playing Midi Files sounds great. I'd like to try it.  :)


I enclose a video that shows first how Multiview plays a Midi File via Hardware (Emulated), the second Player instead DaPlayer plays the Midi File via Software (Timidity).

https://drive.google.com/file/d/1bVbITs1XHwTZ9oeheaTLiGVVBJgk1q5Y/view

Very nice! Thanks for the sample.

It's more interesting to listen to music than to be immersed in complicated computer code!

Currently working on ResizeBilinear to resize image pixel data so we can save resized images in MultiView.  ;D

Maybe I'm losing my marbles! I'm fascinated with the new Maximize & Normal Size function in MultiView. So cool.

As far as Window > Maximize I have been trying to come up with a method to resize the image data to save to a file. I've been scratching my head trying everything. I thought it would be such a difficult task but I just realized something important. Picture Datatype does the Scale Method and the resulting Picture Data is displayed in the RasterPort of the Window. I merely have to read the contents of the RasterPort. It has already been converted for me.  :)

ReadPixelArray (reads pixels from RasterPort to Pixel Buffer). Then I just need to build a suitable Picture Datatype Object from the Pixel Data & DoWriteMethod. Easy, breezy!




« Last Edit: December 01, 2021, 12:50:01 AM by miker1264 »



paolone

  • Moderator
  • Legendary Member
  • *****
    • Posts: 568
    • Karma: +90/-0
Reply #97 on: December 01, 2021, 03:02:01 PM

Wow! Playing Midi Files sounds great. I'd like to try it.  :)


I enclose a video that shows first how Multiview plays a Midi File via Hardware (Emulated), the second Player instead DaPlayer plays the Midi File via Software (Timidity).

https://drive.google.com/file/d/1bVbITs1XHwTZ9oeheaTLiGVVBJgk1q5Y/view


How did you get timidity to play MIDI files with multiview? Is it something we can do on x86 as well, once MultiView gets ported? We have timidity on x86 as well.


AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3741
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #98 on: December 01, 2021, 03:52:18 PM
Paolo midi.datatype that I know does not exist for AROS x86, but on Aminet exists the source of the version that I used on AROS 68k, someone kindly should compile it, I attach link where to find the source

http://aminet.net/package/util/dtype/MidiDT

Regarding "Timidity" it can be used on AROS x86, of course I refer to all the instruments, as Players that exploit "Timidity" there is "HarmonyPlayer" and "ArModPlugPlayer", the first works well the second the sounds are not complete and is not qualitative.






« Last Edit: December 02, 2021, 02:36:28 AM by AMIGASYSTEM »



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #99 on: December 01, 2021, 05:18:29 PM
@paolone

It's the same MultiView that I'm working on now.

It's version 1.8 with some bugfixes and added features.

I have the Midi Datatype sources also. Haven't had much time.

BTW ResizeBilinear is working in MultiView 1.8 to save resized images!

Window > Maximize & Normal are both working now. Maximize & Convert to PNG.

It saves the resized image to a 32bit PNG file. Also MultiView About now shows the resized dimensions.

« Last Edit: December 01, 2021, 07:21:02 PM by miker1264 »



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #100 on: December 01, 2021, 06:22:09 PM
MultiView 1.8 in AROS 68k Resizing & Saving As 32bit PNG.  8)

Picture Menu > Convert to PNG.

It uses the Bilinear Interpolation to Resize Images.

Simply set FitToWindow & use the Resize Gadget or Maximize.
Then use Convert to PNG to save the resized image to a PNG.

Using the new Maximize Feature on the Window Menu is useful.
« Last Edit: December 02, 2021, 01:56:37 AM by miker1264 »



OlafS3

  • Legendary Member
  • *****
    • Posts: 544
    • Karma: +50/-8
Reply #101 on: December 02, 2021, 02:59:08 AM
Now that I added WinResize to MultiView I'm pleased to say Picture > Reset Size works to reset to original size.

In addition Window > Maximize & Normal also work. Minimize will be the same as Iconify.

The MultiView 1.8 updates are almost done.  :)

At this point MultiView needs a Settings File. There is a Settings Menu with an option to save definitions. I'll use that and write a function on startup to look for the "mvsettings" text file in the app directory. If it is found the settings file overrides some settings in MultiView such as Viewmode=TopLeft or Centered. You can also add more ToolTypes than are stored in MVIcon.

The settings file may eventually become a more permanent MultiView Prefs where the user can change the values there.

great Miker

sounds very good



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3741
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #102 on: December 02, 2021, 03:41:13 AM
Miker perfect, Multiview will become one of the fundamental tools for viewing graphics and listening to music on AROS 68k/x86


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #103 on: December 02, 2021, 09:30:12 AM
Miker perfect, Multiview will become one of the fundamental tools for viewing graphics and listening to music on AROS 68k/x86

Well at least MultiView will be more fun to use as an everyday tool now. And it will be useful for datatype conversion as well.

I'm trying to make it fully functional by fixing small bugs and implementing existing menu items that weren't finished such as Maximize/Normal while adding a few new features. The goal is to make MultiView more functional & more User Friendly while not adding too much additional code which makes it bloated.

In reality we only have four new menu items & some enhaced features of existing items such as Centered on Screen & an Updated About Box & Saving Resized Images as 32bit PNG. The other two additions are Reading MVIcon ToolTypes to enable Export & Edit File.

In addition to those updates for MultiView there is a new DTConvert GUI application that I made to convert datatypes. In the process I also updated several picture & sound datatypes including the SuperClass Sound.Datatype itself. Hopefully these changes will make MultiView & the Datatypes system better.

In order to save space in MultiView itself I have included in DTConvert GUI the ability to convert files to "Binary" (HEX) which allows them to be read as binary by MultiView. Also we will be able to convert 24bit images directly to HAM6 or HAM8. This is all done in DTConvert GUI. So it offloads this from MultiView.

I hope that is all in keeping with Nick's initial requirements. Thanks to him for setting up Project > Export Framework & Reading MVIcon ToolTypes. Starting external apps is huge!

Special thanks to everyone who has worked on MultiView.  :)
« Last Edit: December 02, 2021, 11:32:08 AM by miker1264 »



Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #104 on: December 02, 2021, 09:51:45 AM
Great Miker Thank you :)