Results of the Bitshares song contest!

image.png

As mentioned in the Bitshares AI music challenge thread, the deadline for contestants to gain song listens & upvotes was the 22nd April 2024 at noon UTC, this time has now passed.

ArtTitleListensUpvotesGenre
image.pngBottoms Up412rock
image.pngBitshares Rising382pop
image.pngShake Off the Dust251pop electronic uptempo

All three songs were created by @impulssi, check out their profile on suno to listen to all their tracks!

Total rewards for impulssi: 17,017 BTS

Thanks to everyone who participated! Best of luck next time!


Interested in how the contest was carried out?

const fs = require("fs");

let suno = async function () {
  const playlist_id = "6dc884f1-28e6-434a-97aa-b604db2107e4";

  let data;
  try {
    data = await fetch(`https://studio-api.suno.ai/api/playlist/${playlist_id}`);
  } catch (error) {
    console.error(error);
    return;
  }

  data = await data.json();

  let parsedData = data.playlist_clips.map((x) => {
    return {
      img: x.clip.image_url,
      id: x.clip.id,
      play_count: x.clip.play_count,
      upvote_count: x.clip.upvote_count,
    };
  });

  const dataString = JSON.stringify(parsedData, null, 2);

  fs.writeFileSync("output.json", dataString, "utf8");
  process.exit(0);
};

suno();

.
This script outputs a file like such:

[
  {
    "img": "https://cdn1.suno.ai/image_d4844160-bd1a-4145-b8e6-2bf282a2a5a0.png",
    "id": "d4844160-bd1a-4145-b8e6-2bf282a2a5a0",
    "play_count": 41,
    "upvote_count": 2
  },
  {
    "img": "https://cdn1.suno.ai/image_5e2700c7-005c-4e28-a195-11f87ffa0b7b.png",
    "id": "5e2700c7-005c-4e28-a195-11f87ffa0b7b",
    "play_count": 38,
    "upvote_count": 2
  },
  {
    "img": "https://cdn1.suno.ai/image_52ea7c8b-397c-4f1e-bdc6-f2fb02abca9f.png",
    "id": "52ea7c8b-397c-4f1e-bdc6-f2fb02abca9f",
    "play_count": 25,
    "upvote_count": 1
  }
]

.
So whilst the play counts and upvote counts aren't shown in the bitshares contest song playlist, the script provides you the data required for the contest to work.

Feel free to use the script to run your own contest, you just need to create your own playlist, include contestant's tracks in the contest playlist, change the id in the script then run it via node ./script.js in a terminal.


This is a community based contest, Suno is not affiliated with this contest. For more info on this contest, refer to the original post.

Want to support this challenge?



0
0
0.000
2 comments