Overview

This is a note on trying out the Audio Presentation with Accompanying Image recipe.

https://iiif.io/api/cookbook/recipe/0014-accompanyingcanvas/

The following is an example displayed in Clover, where the configured image appears in the player.

https://samvera-labs.github.io/clover-iiif/docs/viewer/demo?iiif-content=https://nakamura196.github.io/ramp_data/demo/3571280/manifest.json

Manifest File Description

An example is stored at the following location.

https://github.com/nakamura196/ramp_data/blob/main/docs/demo/3571280/manifest.json

Specifically, it was necessary to add an accompanyingCanvas to the Canvas as follows.

{""""}itda,dyuc"""""]"prcithwi:eaodyeit{}"tm"pide":ip:egtm"""]hoa"hhsitit"nn":t""dyt{}tC"yh"::"pepa:it"::em""""}"snntC1["sitmb,t:1gpa10":"dyoo"""""a/a5Csn02h:"ptdithwfr/s6a:24t":eiydyeiogn".n/a4,tA["v""pidrea,0/s,pn":a::egtmtk7an"snht"hha"a9sa,:t"i{":t"t:m9"kttAoh":"u9:a/apnnt"::"r9mntsn"tI1ha9{uai::pm10"t19rkotsa02it99aan/a":g24mp691mPntp/e4,as.99uaaia/",g:g96rgkoin,e/i9.aeanna//t8g1"m"tkjnh,i9,u,iapaut6rnmekbh.aguga.ug1"r"mibi9,auo.t61r/ih.9aroug61a/bi.9mr.tg6paihi._moutgdp/bhia_r.uttdaibhaamo.u/tp/ibda_ro.e/da/imdamrooetpa//ma_mr3o/dpa5/da_m73etdp15maa_27o/td81/daa023e/t/85mdac07oe/a/1/mdnc23oeva85/man073osv/15/"ac273,sa815/n027av/81cac02csa/8o/n30mav5/pca7cacs1ano/2nyma8vipc0anac_sgnos/"ymua,ipmcnamcgnao/yrmaiypnn_angino/mytaaiangntnegio./otjanapn/tgnpi"oao,tgnae/t"ii,moang/ep"a,ge"

It may be a bit hard to follow, but here is the code example using iiif_prezi3. The accompanyingCanvas is created via create_accompanying_canvas() and associated with the canvas.

dddeeefffaiiciwaaaarcaaardffrm,cnccernnnedecncctennnt_soa=hoooouaooouaeppsastm_mmrt_imb)t_rclrr.ceeI=ppppnep=doo,apncfiipcl_maaaa_a=tdrao.nnaofaaingnnaigifiyggamvtttm.cgmyeyycmei"v=itfhweenpe((hpcce.i,iicai{aidyoeit.nar"s.aao.snnnog=fsti=prid=aonbAeennmoigaggme_eiifemgtad_yodlxyvppzCnCCp_iplof"=ahhndpisdfiiaaeeanaaaairfn_{"tt=n_anei.snsnnnonnnnie.=psI==woigg:nitg.y(vvvynfzp"rem"hi_te_gmsCaisa=aaio_irpelaiedpe,ia(acnesssntp3eazfgmitammagsncgls..gar.fii.eaghg(aaceevo_f=esaCteAin3p"gheangc_lamc.ledaiznxt.r,et.nneopfspaiiftdnoin}iRe/,ino(ma.anmi.__vn3o/nefjdospti=nvaichia(.tcgsip)eahmyagfrwtssAaa"oxeln)asise_edeentn,u}gfygen(_pa(mlnivr/")ielgsprth(fooac{,:n_fCeaeeea,tnsesgp.altz_ina(/Ieacnfhiignwtatlitrv))3mhoiicefmhea:.at_docm.a)asCg=ptno(ig:taehahPmtee=n_,g,ape"_vaegam)aaanw)hen_ccsnie(yicc(odiiidooittgdn}mmdahh=g_pp=t=tf/saafiw)"aunn"o):{nmyy{nsnmiis(eoannewltrggl,fay_Cf.t_ca.hpiianp)romnvrenavaef/gasfiiesixm.(x}a{)}/gs/ceeca"lan,fnv.vaiasms/a/agacecc_cofomomprpamananytyi}in"ng,g/"a)nnotation/page")

(Reference) Creating Image Files

Since the National Diet Library’s Historical Sound Archive (Rekion) does not provide image data, sample images were created using DALL-E 3.

For image creation, the transcribed text was summarized and used as a prompt.

The summary text was also stored in the summary field. Note that since there are errors in the transcribed text, the summary text may also contain errors.

{}""""}"}@itl,scdya"]u"]o"pbjmjn:eea"ma"t"l"a"e":":r:xh:ytt"["["tM{::pasn{":ih/ft/etnspat調:k"/a,/miuir"iaf1.9i6o.gaiptih/upbr.eisoe/nrtaamtpi_odna/t3a//cdoenmtoe/x3t5.7j1s2o8n0"/,manifest.json","

Summary

I hope this is helpful for combining audio and images using IIIF.