Functional pH-Sensitive Film Containing Purple Sweet Potato Anthocyanins for Pork Freshness Monitoring and Cherry Preservation

An antioxidative and pH-sensitive multifunctional film, incorporating anthocyanin-rich purple sweet potato extract (PPE) was fabricated from polyvinyl alcohol (PVA) and sodium alginate (SA)/sodium carboxymethyl cellulose (CMC-Na). The film was composed of 6:4 PVA:SA/CMC-Na (mass ratio, SA:CMC-Na at 1:1) with added PPE, and changed color with changes in pH, and also had useful UV-blocking, antioxidant, mechanical, and water vapor barrier properties, which enable its use as a food coating film. In addition, the incorporation of 300 mg PPE increased the biodegradability of the film in soil from 52.47 ± 1.12% to 64.29 ± 1.75% at 17 days. The pH sensitivity of the film enabled its successful use for the evaluation of pork freshness. Cherries coated with the film had an extended shelf life from 3–4 to 7–9 days, during storage at 25 °C. Consequently, the multifunctional film can be applied to packaging for real-time pH/freshness monitoring and for effectively preserving the freshness of meat and fruit.


Introduction
In recent years, the increasing consumer demand for improved food quality and safety has stimulated the development of functional food packaging.Conventional plastic film packaging materials perform only a simple barrier function and are non-biodegradable, so they cause waste disposal problems.Consequently, there has been considerable research interest in packaging films based on biodegradable materials, such as hydrophilic synthetic polymers, polysaccharides, phospholipids, and proteins [1].Polyvinyl alcohol (PVA) has good film forming properties, biodegradability, and ready availability, as well as good barrier and mechanical properties and being safe and non-toxic, so it has been widely used in food packaging materials as one of the matrices [2].In order to improve the barrier properties of pure PVA films, polysaccharides and/or proteins were introduced into the matrix which could increase the average length of the polymer chains through hydrogen bonding and electrostatic interactions to form network structures [3].Polysaccharides such as sodium alginate (SA) [4], sodium carboxymethyl cellulose (CMC-Na) [5], cashew gum [6], and agarose [7] have been used to improve PVA films.
SA is a natural polymer extracted from brown algae, containing abundant hydroxyl and carboxylic acid groups with excellent mechanical and film forming properties, which has been widely applied in food packaging films, combined with PVA [4].The incorporation of SA enhanced the tensile strength (TS) and elongation at break (EAB) of PVA films, as well as increasing the density of the film structure and decreasing water vapor permeability [8].PVA/SA films also had excellent mechanical properties and a high liquid absorption [8].CMC-Na is comparable with SA for film formation and thickening, and is rich in hydroxyl groups, which interact with PVA to improve the water vapor barrier properties of films distilled water and cut into strips.The strips were dried and smashed at 40 • C in the dark to obtain purple sweet potato powder.The powder was blended with a 70% ethanol aqueous solution (1:10, w/v) for 4 h at 40 • C. The solution was then filtered to remove residues.The ethanol in the filtrate was removed using a rotary evaporator.Finally, purple sweet potato extract (PPE) rich in anthocyanins was dried using a vacuum freeze dryer (Beijing Bo Medical Kang Experimental Instrument Co., Ltd., Beijing, China) and stored in brown vials at 4 • C. The content of anthocyanin in PPE was 1.36 ± 0.06 mg/g determined using the pH differential method.
The PPE solution was prepared by dissolving 40 mg PPE in 10 mL distilled water, the pH of which was adjusted between 2.0 and 13.0 using HCl (0.1 M) or NaOH (0.1 M).A UV-VIS spectrophotometer (UV-1780, Shimadzu Instrument, Co., Ltd., Tokyo, Japan) was used to record the spectrum of PPE solution across wavelengths ranging from 450 nm to 750 nm [15].

Film Preparation
The films were fabricated using the solution casting technique based on the following reference, with minor modifications [3].PVA, SA, and CMC-Na with a total mass of 5 g were dissolved in 100 mL of deionized water, the mass ratio of which is shown in Table 1.After being magnetically stirred at 50 • C for 6 h, 1 g glycerin was added to the mixture and stirred for 1 h at the same conditions.Subsequently, the 10 g mixture was poured into a Petri dish (d = 90 mm) and dried for 6 h at 45 • C. Films were labeled based on the mass ratios of PVA to SA/CMC-Na as PSC-10:0, PSC-9:1, PSC-8:2, PSC-7:3, and PSC-6:4.For pH-sensitive films' preparation, 0 mg, 300 mg, 500 mg, and 700 mg of PPE was added to the PSC-6:4 mixture and stirred at 50 • C for 2 h.The films were prepared based on the method above, and were named PSC-PPE-300, PSC-PPE-500, and PSC-PPE-700.All films were peeled from the Petri dishes after they were dried, and were stored at 4 • C. FTIR spectra of films were recorded using a Nicolet iS50 FTIR spectrometer (Thermo Fisher Scientific, Waltham, MA, USA) with an attenuated total reflection (ATR) mode cell.Measurements spanned a wavelength range of 500-4000 cm −1 , were scanned 32 times, and had a resolution of 4 cm −1 [21].

X-ray Diffraction (XRD) Analysis
XRD spectra of films were carried out with an XD3 X-ray polycrystal diffractometer (Beijing Purkinje General Instrument Co., Ltd., Beijing, China) under Cu Kα radiation in a continuous mode.Specific parameters were a scanning range from 10 • to 80 • (2θ), voltage of 40 kV, current of 30 mA, step size of 0.02 • , and scanning speed of 5 • /min [22].

Scanning Electron Microscopy (SEM) Analysis
The cross-sections, morphologies, and surface topographies of the films were observed using an S-3400N SEM (Hitachi Instruments Co., Ltd., Tokyo, Japan) operating at 5 kV with 1000× and 2000× magnification, according to Reference [23].

Physical Appearance and Color
A smartphone camera was used to photograph the surface of the films.The color parameter of the films (L*-lightness, a*-redness-greenness, b*-yellowness-blueness) was analyzed using a CS-200 precision colorimeter (Hangzhou color spectrum Technology Co., Ltd., Hangzhou, China) [24].The total color difference (∆E) was calculated using Equation ( 1): where

pH-Sensitivity
The films were completely immersed in varied phosphate-buffered solutions (pH ranging from 2.0 to 13.0) for 3 min.Subsequently, the film was instantly taken out and put on waterproof paper.The appearance of color variation was captured with a smartphone camera (iPhone 13, with 12 million pixels) [25].

Thickness
The thickness values of the films were evaluated by measuring five random positions of the films using a handheld digital micrometer (Shengtaixin Electronic Technology Co., Ltd., Shenzhen, China) [26].

Mechanical Properties
Mechanical parameters including the tensile strength (TS) and elongation at break (EAB) of the films were determined using a microcomputer-control electron universal testing machine (MTS Industrial Systems Co., Ltd., Shanghai, China).Before testing, all films were cut into samples of 2 cm × 7 cm.The initial grip distance and crosshead speed were set at 50 mm and 10 mm/min, respectively [3].

Thermogravimetric Analysis
The thermal decomposition properties of the films were analyzed using a TG-DSC thermogravimetric analyzer (STA 449 F5, NETZSCH, Selb, Germany).Approximately 8 mg of the film sample was placed in an alumina crucible, while an empty crucible served as a blank control.In a N 2 atmosphere, the temperature increased at a rate of 10 • C/min from 30 • C to 750 • C, and was used to analyze the thermal decomposition properties of the films [17].

Water Contact Angle (WCA)
The WCA of the films was measured using a CA200 automatic optical contact angle measuring instrument (Guangdong North Precision Instrument Co., Ltd., Dongguan, China).Before measurement, the films were cut into a rectangle of 2 cm × 2 cm and placed on the horizontal moving platform of the WCA analyzer.Then, 5 µL of distilled water was dropped on the film surface using a syringe and the WCA was measured immediately from both sides by the SDC-200 (V3) software [27].This was repeated three times and the average value was presented.Films were cut into samples of 2 cm × 2 cm and weighed to obtain an initial weight (M 1 ).Then, the films were dried at 105 • C until they reached a constant weight (M 2 ).Moisture content was determined using the following formula [16]: 2.5.8.Water Vapor Permeability (WVP) The films were cut into circles with a diameter of 7.5 cm and placed into a test cup containing 8 mL of distilled water, which was then positioned in a water vapor transmission tester (Jinan Lan Guang Electromechanical Technology Co., Jinan, China) to obtain the WVP under the condition of 25 • C, 90% RH [28].
2.6.Functional Properties of Films 2.6.1.Light Transmittance and Opacity A UV-VIS spectrophotometer was used to measure the optical properties of films.Films were cut into samples of 4.5 cm × 1.0 cm and vertically affixed to the inner side of the quartz cell.The light transmittance at 245 nm (T 245 ), 300 nm (T 300 ), 360 nm (T 360 ), and absorbance at 600 nm (A 600 ) were recorded using an empty quartz cell as the control.The opacity values of the film samples were calculated using Equation (3) [29]: where d was the thickness (mm) of the film.

Antioxidant Properties
The ABTS or DPPH radical scavenging capacity of films was measured according to the method in our previous work [21].Films were dissolved in distilled water with a final concentration of 10 mg/mL.Then, 2 mL solution was mixed vigorously with 3.0 mL ABTS solution and allowed to stand for 6 min at 25 • C. Afterwards, the absorbance of the mixture was measured at 734 nm using the UV-VIS spectrophotometer.For the DPPH radical scavenging capacity, 2 mL film solution was added to 3 mL 0.1 mmol/L DPPH in ethanol.The mixture was mixed vigorously and allowed to stand in the dark at 25 • C for 20 min.Then, the absorbance of the mixture was measured at 517 nm using the UV-vis spectrophotometer.Ascorbic acid and purple sweet potato extract aqueous solution at 0.5 mg/mL were set as the controls.The radical scavenging rate was calculated using Equation (4): where A c and A t are the absorbances of blank and tested film, respectively.

Discoloration of PSC-PPE Films during Pork Spoilage
The test of monitoring pork spoilage was based on the method of Liu et al., with slight modifications [2].The films were (diameter of 7.5 cm) fixed on the headspace of the Petri dish containing 20 g of fresh pork.Then, Petri dishes were sealed and kept at 4 • C or 25 • C. The color parameters of L*, a*, and b* for films were determined using a CS-200 precision colorimeter.The ∆E of the films was calculated according to Equation (1).

Cherry Preservation
The cherries were immersed in film solution for 2 min, then stored in an incubator at 25 • C. Cherries without coating were used as a control.Photographs and the weight of the Foods 2024, 13, 736 6 of 18 cherries were recorded on 1, 3, 5, 7, 9, and 11 days [30].The following Equation ( 5) is used to calculate the change in weight loss over time: where W 1 is the initially measured weight and W 2 is the weight at subsequent days after.

Biodegradability of Films
The biodegradability of films was assessed based on their degradability in soil according to reference [31].The films were weighed (M 1 ) and buried in the soil at a depth of approximately 5 cm.Samples were retrieved every 3 days, dried at 105 • C for 4 h, and weighed (M 2 ) to determine the biodegradability according to Equation ( 6), while the films were photographed.

Statistical Analysis
All the experiments were performed on at least three individual samples.Results were expressed as mean value ± standard deviation, and were analyzed using Origin 2021 (Origin Lab Corporation, Northampton, MA, USA).All statistical significance (p < 0.05) was analyzed using a one-way analysis of variance (ANOVA) with SPSS 24 software (SPSS Inc., Chicago, IL, USA).

Fourier Transform Infrared (FTIR) and X-ray Diffraction (XRD) Analysis
FTIR spectra of the films were recorded (Figure 1a).The characteristic absorption peaks of PPE were observed at 3299 cm −1 , 2925 cm −1 , and 1601 cm −1 (O-H stretching, C-H stretching, and C=C stretching of the aromatic ring, respectively), and 1269 cm −1 and 1039 cm −1 (C-O stretching and C-H deformation of the aromatic ring, respectively) [32].The characteristic absorption peaks of PVA were observed at 1084 cm −1 (O-H tensile vibration) and at 1427 cm −1 (bending vibration of CH-CH 2 ), confirming the presence of the carbon skeleton of PVA [33].The characteristic absorption peaks of SA/CMC-Na (without PVA) were observed at 2917 cm −1 (C-H stretching), 1591, 1410 cm −1 (-COO asymmetric and symmetric stretching, respectively), and 1023 cm −1 (C-O-C vibration) [20].When PVA was combined with SA and CMC-Na, the O-H stretching peak slightly red shifted to 3287 cm −1 , resulting from new intermolecular hydrogen bonds being formed between PVA and SA/CMC-Na [34].The addition of PPE to PSC-6:4 induced a red shift of the O-H stretching peak from 3284 cm −1 to 3280 cm −1 , suggesting the formation of hydrogen bonds between the PPE and the film matrix, which should increase the stability of the PPE.A similar hydrogen bond interaction was noted between SA and purple sweet potato peel extract [15].hydrogen bond interaction was noted between SA and purple sweet potato peel extract [15].The XRD spectrum of PPE exhibited a broad peak at 20.96°, indicating that the PPE was in an amorphous state (Figure 1b).The spectrum of SA powder had two diffraction The XRD spectrum of PPE exhibited a broad peak at 20.96 • , indicating that the PPE was in an amorphous state (Figure 1b).The spectrum of SA powder had two diffraction peaks at 14. 20 and 19.84 • , respectively, consistent with a previous report [20].The spectrum of SA/CMC-Na film had a diffraction peak at 20.96 • , compared with 20.34 • in pure CMC-Na and 19.84 • in pure SA, indicating the formation of intermolecular interactions between SA and CMC-Na [20].The diffraction peak intensities of films were slightly higher than those of the individual components, suggesting the formation of intermolecular hydrogen bonds in the films [22].After addition to a film, the PPE diffraction peak disappeared, indicating that PPE was well dispersed in the film matrix.The proposed intermolecular interactions between PPE and the film matrix are shown schematically in Figure 1c.

Scanning Electron Microscopy (SEM) Analysis
The surface (Figure 1d) and cross-sectional (Figure 1e) morphology of films were observed using SEM.The film surfaces (Figure 1d) were smooth and continuous without visible granularity or phase separation.The pure PVA film (PSC-10:0) had a rough cross-section (Figure 1e), but with increasing SA/CMC-Na content, the cross-sectional morphology of the films became smoother with fine granularity at 6:4.In addition, relatively large voids were visible in the cross-section of PSC-PPE-300; the voids became smaller with increasing PPE addition, indicating a denser and more compact film structure with increasing PPE addition, which may contribute to the improved mechanical properties of the films.It appears that the regular film microstructure was disrupted by a small addition of PPE, weakening the interactions between the film components.With increasing PPE addition, cross-links were formed between the film components by PPE, resulting in a denser and more compact film microstructure.
Similarly, chitosan film with 1-3 wt% rice berry anthocyanin extract added had a denser and more compact cross-sectional structure compared with pure chitosan film [35].A rough cross-sectional microstructure was also observed for chitosan/chitin nanofiber films with added eggplant anthocyanins [36].

Color and Opacity
Films without PPE were clear and colorless, but slightly pink with PPE present (Figure 1f).The color parameters of both PSC and PSC-PPE films were determined; with decreasing PVA concentration, the L* value of the PSC film decreased from 87.74 ± 0.30 (PSC-10:0) to 86.88 ± 0.33 (PSC-6:4) and the b* value increased from −2.79 ± 0.05 to −1.64 ± 0.15, which was attributed to the yellow hues of SA and CMC-Na (Table 2).In the presence of PPE, the L* value decreased from 86.88 ± 0.33 to 81.21 ± 0.07 and the a* value increased from −0.51 ± 0.04 to 2.86 ± 0.03 with increasing PPE concentration, consistent with the appearance of the PSC-PPE films (Figure 1f).Compared with PSC film, the total color difference (∆E) value for PSC-PPE film increased markedly (p < 0.05).This is consistent with a previous report that the ∆E value of films based on PVA/cellulose nanocrystals increased with the addition of purple cabbage anthocyanin extract [3].

Color Response to pH Changes
High sensitivity and a rapid response to pH changes are vital for the successful application of indicator films; the color changes of PPE solutions (Figure 2a) and changes in their UV-VIS absorption spectra (Figure 2b) were determined over the pH range of 2.0-13.0.At very acidic pH values, anthocyanins are in their most stable form of the flavylium cation with a positively charged pyrilium ring, which is a pink/red color [37].The color of PPE solutions then became a lighter pink from pH 2.0 to 6.0, pale purple from pH 7.0 to 8.0, purple at pH 9.0, blue-green at pH 10.0, green at pH 11.0, orange at pH 12.0, and yellow at pH 13.0.Anthocyanins degrade in a strongly basic environment, changing to a chalcone structure [38].The maximum absorption intensities of PPE decreased with increasing pH from acidic (pH 2.0) to neutral (pH 7.0; Figure 2b), similar to the color change of red cabbage anthocyanins [23].In addition, the maximum absorption wavelength of PPE was 533 nm at pH 2.0 and 536 nm at pH 7.0.The red shift and reduced peak intensity in a mildly acidic or neutral environment (pH 4.0-7.0)results partly from spectral changes and partly from the degradation of the anthocyanin structure.In an alkaline environment (pH 9.0), degradation of PPE was much faster, consistent with a previous report [39].

Thickness and Mechanical Properties
Thickness is an important characteristic for evaluating the physical properties of films, influencing their mechanical properties, water vapor transmittance, and light transmittance [42].The thickness of PSC films decreased slightly with decreasing PVA content, indicating that the proportion of SA/CMC-Na has an insignificant effect on film thickness from 10:0 to 6:4 (Table 2).However, the thickness of PSC-6:4 film increased significantly with the addition of PPE at 500 and 700 mg/mL (p < 0.05), suggesting that a PPE content above 500 mg/mL results in major changes in the intermolecular interactions and the network structure of the film.Similarly, the thickness of cassava starch films increased with increased content of Lycium ruthenicum Murray berry anthocyanin extract [43].The color change in response to the pH changes of PSC-PPE films was shifted relative to that of PPE solution.For example, the PPE solution was blue-green at pH 10.0, but PSC-PPE films were blue-green at pH 11.0 (Figure 2c).In addition, the PSC-PPE films had lighter colors than the PPE solution.The shift in color at a higher pH for the films suggests that the stability of PPE anthocyanins is improved in the PSC film environment.
The change in ∆E of PSC-PPE films with pH was determined (Figure 2d).Generally, ∆E values > 5 are discernible to the naked eye and ∆E > 12 signifies a clearly visible color change [40,41].All the ∆E values of films containing PPE were >5, indicating that both the PPE solution and PSC-PPE films are effective pH indicators over the entire pH range encountered in foods.

Thickness and Mechanical Properties
Thickness is an important characteristic for evaluating the physical properties of films, influencing their mechanical properties, water vapor transmittance, and light transmittance [42].The thickness of PSC films decreased slightly with decreasing PVA content, indicating that the proportion of SA/CMC-Na has an insignificant effect on film thickness from 10:0 to 6:4 (Table 2).However, the thickness of PSC-6:4 film increased significantly with the addition of PPE at 500 and 700 mg/mL (p < 0.05), suggesting that a PPE content above 500 mg/mL results in major changes in the intermolecular interactions and the network structure of the film.Similarly, the thickness of cassava starch films increased with increased content of Lycium ruthenicum Murray berry anthocyanin extract [43].
The tensile strength (TS) and elongation at break (EAB) reflect the mechanical resistance and flexibility of films.Pure PVA film (PSC-10:0) had the highest EAB, which decreased significantly with increasing addition of SA/CMC-Na (p < 0.05; Figure 3a).However, the TS of the films was improved by the addition of 700 mg PPE to the PSC-6:4 film, consistent with its greater thickness (Table 2).It appears that PPE molecules are involved in cross-links between polymer chains, which strengthens the film network structure and increases its TS.Similarly, the TS of sodium carboxymethyl starch film increased as the mulberry anthocyanin content increased from 0 to 5% [44].
Pure PVA film had the lowest TS, but its TS increased markedly with increasing addition of SA/CMC-Na, apparently because the formation of intermolecular hydrogen bonds between the -OH of PVA molecules and the -OH and -COOH of SA and CMC-Na chains reinforced the intermolecular interactions stabilizing the film network structure.The addition of PPE had no significant effect on the TS of the films.

Thermogravimetric Analysis of Films to Assess Stability
The thermogravimetric (TG) and differential thermogravimetric (DTG) curves of PSC films were determined using differential scanning calorimetry (Figure 3b).The TG curves of all the films exhibited four stages of weight loss.The first weight loss stage was observed from 50 to 100 • C, corresponding to the evaporation of adsorbed water from the films [18].The second weight loss stage was observed between 150 and 200 • C, corresponding to the decomposition of glycerol [45].The third stage, around 300 • C corresponds to polymer chain cleavage [18].The fourth stage, between 400 and 500 • C, corresponds to the thermal decomposition of the film matrix.With the increasing addition of SA/CMC-Na, the temperature for maximum mass loss rate of the fourth degradation stage decreased and the final residue amount of the film increased.However, incorporation of PPE did not significantly change the thermal stability of the films, but only slightly increased the amount of final residue.Similarly, the addition of red cabbage anthocyanin extract did not alter the thermal stability of Artemisia sphaerocephala Krasch gum films [46].

Water Contact Angle, Moisture Content, and Water Vapor Permeability of Films
The water contact angle (WCA) of the PSC films was determined (Figure 3c).The WCA of pure PVA film was 94.29 ± 0.71 • and increased with decreasing PVA concentration.In addition, all WCAs were >90 • , indicating that all the films have hydrophobic surfaces [27].The addition of PPE decreased the WCA of the films compared with the PPE-free films (p < 0.05), indicating that the addition of PPE decreased the surface hydrophobicity of the films, but the increasing addition of PPE increased the WCA.
chains reinforced the intermolecular interactions stabilizing the film network structure.The addition of PPE had no significant effect on the TS of the films.

Thermogravimetric Analysis of Films to Assess Stability
The thermogravimetric (TG) and differential thermogravimetric (DTG) curves of PSC films were determined using differential scanning calorimetry (Figure 3b).The TG curves of all the films exhibited four stages of weight loss.The first weight loss stage was observed from 50 to 100 °C, corresponding to the evaporation of adsorbed water from the films [18].The second weight loss stage was observed between 150 and 200 °C, corresponding to the decomposition of glycerol [45].The third stage, around 300 °C corresponds to polymer chain cleavage [18].The fourth stage, between 400 and 500 °C, corresponds to the thermal decomposition of the film matrix.With the increasing addition of The SEM images (Figure 1d,e) showed that the surfaces of all the films were smooth, whereas their cross-sections changed from smooth to granular with decreasing PVA content.The granular microstructure formed in PSC-6:4 appears to increase the water absorption of the film but decreases the wettability of its surface [47].The addition of SA/CMC-Na generated hydrogen bonds between PVA and SA/CMC-Na, which is consistent with the increased WCA with decreasing PVA concentration.
The polar groups (bulky aromatic and pyrylium rings) present in PPE anthocyanins appear to have affected the WCA.The SEM images (Figure 1) show that the granularity and porosity of the PSC-6:4 film increased significantly with the addition of PPE, increasing its hygroscopicity and decreasing its WCA.Similarly, the addition of cellulose nano crystals increased the WCA of gellan gum films [48].However, with increasing PPE addition, the film porosity decreased, which would increase its surface hydrophobicity and, therefore, its WCA in agreement with a previous report [36].
Pure PVA film had the highest moisture content (MC; 18.43 ± 0.69%), which can be attributed to the hydrophilic groups in PVA, especially -OH (Table 2).With the increased addition of SA/CMC-Na, the MC of the films gradually decreased, apparently because of the hydrogen bonding between SA and CMC-Na blocking the accessibility of free hydroxyl groups to combine with water molecules.However, the MC of the film decreased slightly (p > 0.05) when PPE was added at 300-500 mg, apparently because of the more compact microstructure of PSC-PPE.Similarly, the addition of walnut peel extract decreased the MC of chitosan and guar gum films [49].When 700 mg of PPE was added (PSC-PPE-700), the MC of the film markedly increased (p < 0.05) compared with PSC-PPE-300, apparently because of the former's greater thickness.
Packaging film with a low water vapor permeability (WVP) is desirable for food packaging applications [50].The WVP of films without PPE decreased with decreasing PVA content (Table 2).The FTIR spectra (Figure 1a) indicated that hydrogen bonds were formed between hydrophilic groups on PVA and SA/CMC-Na, resulting in high water resistance [51].Compared with PSC-6:4, the WVP of the film was higher after the addition of 300 mg of PPE, because of its more porous microstructure (Figure 1e).However, with the increasing PPE concentration, the WVP of the films decreased to 1.31 ± 0.12 × 10 −11 g•cm/(cm 2 •s•Pa) for PSC-PPE-700 mg.The greater thickness and more compact structure of PSC-PPE-700 mg resulted in a lower WVP compared with other films.The water affinity of the film was also attenuated by the formation of hydrogen bonds between PPE and the polymer network [49].In addition, the polar groups (bulky aromatic and pyrylium rings) present in PPE also affect the WVP [52].Therefore, the addition of PPE at 500-700 mg improved the water resistance of PSC films.Similarly, the WVP of pullulan/chitosan/chitin nanofibers films was reduced by the addition of red cabbage extracts [53], as well as that of chitosan/chitin nanofiber films by eggplant anthocyanins [36].

Barrier Properties of Films
The light transmittance and opacity of the films is shown in Figure 3d and Table 2. PVA film had a high transparency since it was almost colorless and clear.As the PVA content decreased, the opacity of the films without PPE increased slightly (p < 0.05), i.e., increasing the SA/CMC-Na content reduced the visible light transmittance of the PVA films.Although the inclusion of PPE into the films changed the opacity insignificantly, it greatly decreased their UV-visible light transmittance (p < 0.05), apparently resulting from light absorption in the UV-visible wavelength range by PPE.Similarly, purple cabbage anthocyanins enhance the UV-blocking properties of films based on PVA/cellulose nanocrystals [3], and eggplant anthocyanins have the same effect on chitosan/chitin nanofiber films [36].Hence, the UV radiation blocking capacity of PVA-SA/CMC-Na films was greatly improved by the addition of PPE, thereby minimizing UV-related discoloration, flavor, and nutrient loss in packaged food.

Antioxidant Properties of Films
Free radicals can cause the oxidative deterioration of food, so the antioxidant capacity of food packaging films is of great importance [29].The antioxidant capacity of PSC-6:4 films, with or without PPE, was determined (Figure 3e).As expected, the film without PPE had little DPPH or ABTS scavenging capacity, but the capacity increased markedly (p < 0.05) with the addition of PPE.The antioxidant capacity of PPE has been reported previously [18].Similarly, the addition of eggplant anthocyanins markedly increased the free radical scavenging capacity of chitosan/chitin nanofiber films [36].

Application of PSC-PPE Films for Pork and Cherry Preservation
Fresh pork is highly susceptible to microbial infection and spoilage when exposed to air; microbial growth on the meat surface produces volatile nitrogenous compounds, a reduction in pH, and a color change in pH-indicator packaging [54].The film color changes during the storage of pork were determined (Figure 4a,b).On the third day of storage at 25 • C, the films turned green, resulting from microbial decomposition of proteins to produce volatile nitrogenous compounds, increasing the pH.During storage at 4 • C, the green color change occurred at 11 days, indicating that the films have a sensitive response to volatile nitrogenous compounds.These compounds are basic and can induce the formation of anthocyanin carbinol bases, resulting in a color change in the film, similar to the color change of blueberry anthocyanins in starch/PVA films [55].

Biodegradability of PSC Films
PSC and PSC-PPE films were buried in soil to assess their biodegradability in the environment (Figure 5, Table 3).After 3 days, soil moisture had migrated into the film samples, causing them to swell markedly and fragment.After 17 days, the PSC-6:4 and PSC-PPE films were more than 50% degraded (Table 3), suggesting that both films are fully biodegradable.The biodegradation rate of PSC-PPE-300 was significantly higher

Biodegradability of PSC Films
PSC and PSC-PPE films were buried in soil to assess their biodegradability in the environment (Figure 5, Table 3).After 3 days, soil moisture had migrated into the film samples, causing them to swell markedly and fragment.After 17 days, the PSC-6:4 and PSC-PPE films were more than 50% degraded (Table 3), suggesting that both films are fully biodegradable.The biodegradation rate of PSC-PPE-300 was significantly higher than that of PSC-6:4 film, apparently because of the much greater porosity of the former (Figure 1e).With an increasing PPE concentration, the biodegradation rate of the films decreased, apparently because of their less porous microstructure, but was still higher than that of PSC-6:4 film.It appears that the PSC-PPE films rapidly absorb moisture from The ∆E of the films during pork storage is shown in Figure 4c,d.∆E increased with an increasing PPE content, especially at 4 • C. As mentioned above, an ∆E > 5 is discernible to the naked eye; all ∆E values of PSC-PPE films were ≫5 at the end of the storage periods, indicating that the films are sensitive pH-indicators for monitoring pork freshness.This suggests that the PSC-PPE film has the potential to be developed as an indicator for monitoring meat freshness.
Preservation of fruit from spoilage by mildew is another potential application for PSC-PPE films, so cherries were selected to evaluate the fruit preservation performance of PSC-PPE film coatings.The time taken for the appearance of mildew was compared (Figure 4e).Mildew appeared after 3 days on control untreated cherries, after 5 days for cherries coated with PSC film, and after 7 days on cherries coated with PSC-PPE-300.However, there was no visible mildew on cherries coated with PSC-PPE-500 and -700 after 9 days, but the cherries were dehydrated at this time.Meanwhile, the PSC-PPE coating decreased the dehydration of cherries (Figure 4f).The weight loss of uncoated cherries was 27.62 ± 0.40 after 9 days of storage, while the PPE coated cherries was below 19%.Clearly, cherries coated with PSC-PPE films had a markedly longer shelf-life and it appears that the barrier properties of the films and the antioxidant properties of PPE both contributed to this.

Biodegradability of PSC Films
PSC and PSC-PPE films were buried in soil to assess their biodegradability in the environment (Figure 5, Table 3).After 3 days, soil moisture had migrated into the film samples, causing them to swell markedly and fragment.After 17 days, the PSC-6:4 and PSC-PPE films were more than 50% degraded (Table 3), suggesting that both films are fully biodegradable.The biodegradation rate of PSC-PPE-300 was significantly higher than that of PSC-6:4 film, apparently because of the much greater porosity of the former (Figure 1e).With an increasing PPE concentration, the biodegradation rate of the films decreased, apparently because of their less porous microstructure, but was still higher than that of PSC-6:4 film.It appears that the PSC-PPE films rapidly absorb moisture from the soil, thereby facilitating microbial invasion and degradation.Similarly, methylcellulose films degraded in soil faster with added Syzygium cumini skin anthocyanin extracts [56].
the soil, thereby facilitating microbial invasion and degradation.Similarly, methylcellulose films degraded in soil faster with added Syzygium cumini skin anthocyanin extracts [56].

Conclusions
Functional pH indicator films were developed by combining PVA, SA, and CMC-Na, and incorporating purple sweet potato extract (PPE) as the pH indicator.The film with a PVA:SA/CMC-Na ratio of 6:4 had the highest water contact angle and acceptable mechanical properties, so it was chosen to determine the effect of adding PPE.PPE addition enhanced the intermolecular interactions between PVA and SA/CMC-Na, forming a compact microstructure and improving the mechanical properties of the film.The PSC-PPE films with 300-700 mg/g of PPE all exhibited a color change visible to the naked eye over the pH range of 2-13, and had higher ABTS and DPPH free radical scavenging capacities than PSC film without PPE.With 500 and 700 mg/g of PPE, the films had higher water barrier properties, higher UV-blocking properties, and were rapidly biodegraded in soil.The pH-sensitive films successfully indicated the freshness of stored pork and prolonged the shelf life of stored cherries.Currently, these findings indicate that PSC-PPE films have

Conclusions
Functional pH indicator films were developed by combining PVA, SA, and CMC-Na, and incorporating purple sweet potato extract (PPE) as the pH indicator.The film with a PVA:SA/CMC-Na ratio of 6:4 had the highest water contact angle and acceptable mechanical properties, so it was chosen to determine the effect of adding PPE.PPE addition enhanced the intermolecular interactions between PVA and SA/CMC-Na, forming a compact microstructure and improving the mechanical properties of the film.The PSC-PPE films with 300-700 mg/g of PPE all exhibited a color change visible to the naked eye over the pH range of 2-13, and had higher ABTS and DPPH free radical scavenging capacities than PSC film without PPE.With 500 and 700 mg/g of PPE, the films had higher water barrier properties, higher UV-blocking properties, and were rapidly biodegraded in soil.The pH-sensitive films successfully indicated the freshness of stored pork and prolonged the shelf life of stored cherries.Currently, these findings indicate that PSC-PPE films have a potential use in active food packaging for meat and fruit.Future research should focus on the antibacterial activity of the films and broadening their application prospect in different food products such as seafood.
∆L = L − L*; ∆a = a − a*; ∆b = b − b*; L of 88.02; a of −3.05; and b of −2.99 were the color parameters of the standard white plate; L*, a*, and b* were the parameters of PSC or PSC-PPE films.

Foods 2024 ,
13,  x FOR PEER REVIEW 7 of 20 hydrogen bond interaction was noted between SA and purple sweet potato peel extract[15].

Figure 1 .
Figure 1.Spectral analysis of PSC-PPE films.FTIR spectra (a); XRD spectra (b); Schematic diagram of apparent intermolecular interactions between PPE and the PSC film matrix (c); SEM images of film surface (d); film cross-section (e); Visual appearance (f) of films, showing opacity and color.

Figure 1 .
Figure 1.Spectral analysis of PSC-PPE films.FTIR spectra (a); XRD spectra (b); Schematic diagram of apparent intermolecular interactions between PPE and the PSC film matrix (c); SEM images of film surface (d); film cross-section (e); Visual appearance (f) of films, showing opacity and color.

Figure 2 .
Figure 2. Visible color change (a) and UV-visible spectra (b) of purple sweet potato extract (PPE) over the pH range of 2.0−13.0.Visible color change (c) and total color difference (ΔE) (d) of films in the pH range of 2.0−13.0.Note: Values with different lowercase letters are significantly different (p < 0.05).

Figure 2 .
Figure 2. Visible color change (a) and UV-visible spectra (b) of purple sweet potato extract (PPE) over the pH range of 2.0-13.0.Visible color change (c) and total color difference (∆E) (d) of films in the pH range of 2.0-13.0.Note: Values with different lowercase letters are significantly different (p < 0.05).

Figure 3 .
Figure 3. Mechanical and physicochemical properties of PSC films.Elongation at break (EAB) and tensile strength (TS) (a); TGA and DTG curves (b); Water contact angle (c); UV-visible light transmittance (d); DPPH and ABTS radical scavenging capacity compared with Vitamin C (VC) and purple sweet potato extract (PPE) (e).Note: Values with different lowercase letters are significantly different for PSC films without PPE; values with different capital letters are significantly different for PSC-6:4 films with different PPE concentrations (p < 0.05).

Figure 3 .
Figure 3. Mechanical and physicochemical properties of PSC films.Elongation at break (EAB) and tensile strength (TS) (a); TGA and DTG curves (b); Water contact angle (c); UV-visible light transmittance (d); DPPH and ABTS radical scavenging capacity compared with Vitamin C (VC) and purple sweet potato extract (PPE) (e).Note: Values with different lowercase letters are significantly different for PSC films without PPE; values with different capital letters are significantly different for PSC-6:4 films with different PPE concentrations (p < 0.05).

Figure 4 .
Figure 4. Color response of PSC-PPE films applied to pork during storage at 4 °C (a) and 25 °C (b).Total color difference (ΔE) of PSC-PPE films after storage for 11 days at 4 °C (c) and after 5 days at 25 °C (d).Appearance of uncoated cherries and those coated with PSC-6:4 or PSC-PPE film (e).Weight loss of uncoated and coated cherries as a function of time (f).Note: Values with different lowercase letters are significantly different at the same storage duration.The green and yellow circles in the figure indicate dehydration and mildew, respectively.

Figure 4 .
Figure 4. Color response of PSC-PPE films applied to pork during storage at 4 °C (a) and 25 °C (b).Total color difference (ΔE) of PSC-PPE films after storage for 11 days at 4 °C (c) and after 5 days at 25 °C (d).Appearance of uncoated cherries and those coated with PSC-6:4 or PSC-PPE film (e).Weight loss of uncoated and coated cherries as a function of time (f).Note: Values with different lowercase letters are significantly different at the same storage duration.The green and yellow circles in the figure indicate dehydration and mildew, respectively.

Figure 4 .
Figure 4. Color response of PSC-PPE films applied to pork during storage at 4 • C (a) and 25 • C (b).Total color difference (∆E) of PSC-PPE films after storage for 11 days at 4 • C (c) and after 5 days at 25 • C (d). Appearance of uncoated cherries and those coated with PSC-6:4 or PSC-PPE film (e).Weight loss of uncoated and coated cherries as a function of time (f).Note: Values with different lowercase letters are significantly different at the same storage duration.The green and yellow circles in the figure indicate dehydration and mildew, respectively.

Figure 5 .
Figure 5. Appearance of PSC and PSC-PPE films after degradation in soil.

Figure 5 .
Figure 5. Appearance of PSC and PSC-PPE films after degradation in soil.

Table 1 .
Composition of PSC and PSC-PPE films.