Tag:Volume control

  • Music Visualization

    Time:2021-5-4

    This article is in the MOOC net studyHTML5 Music VisualizationAfter that, the teacher explained it in detail. I suggest you take a look at it first. I added the play control list, file upload size limit, duplicate upload file detection and auto play the next song. The effect picture is as follows:Online experience address:https://demo.luckyw.cn/code.h…Source code […]

  • Use of IOS avaudioplayer audio playback

    Time:2020-2-15

    Through this article, we can realize the long audio playing, volume, playing progress control, interrupt event processing and line switching response 1、 Configure audio session – (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after application launch. AVAudioSession *session = [AVAudioSession sharedInstance]; NSError *error; If (! [session setcategory: avaudiosessioncategoryplayback error: & error]) {// […]