"You either hold a weapon or you hold a guitar," says Raji El-Jaru, Gaza's biggest rockstar.
Months before war broke out last year, hundreds of people packed into a concert hall to hear his band perform their distinct blend of pounding guitar riffs and impassioned lyrics.
"We'll scream our pain; can you hear the call?" he sang to the rapt crowd. "Knock, knock, are you listening at all?"
Not long after that gig, Israeli airstrikes rained on Gaza City, tearing down buildings and displacing hundreds of thousands of people.
Focused on survival rather than music, the five members of Osprey V - believed to be Gaza's first rock band - went from dreaming of gigging in Europe to wondering if they would ever play together again.
Formed back in 2015, the group are all self-taught and cite Metallica and Linkin Park among their influences. Raji, 32, explains that he has always seen rock music as the obvious way to resist oppression. "We are the voice of the voiceless, spreading love instead of hatred and violence."
"It's a matter of time now," Volodymyr says, talking about when his name will be called to join Ukraine's armed forces.
A DJ who goes by the moniker Lostlojic, before the full-scale invasion in 2022 he was flying around Europe playing his brand of electronic music but now he's back in Kyiv, his hometown, performing to raise money for his friends on the frontline.
In the early days after the invasion there was discussion about whether club nights should continue, says 35-year-old Volodymyr, but people needed a break from thinking about war - not least the soldiers on leave from the battlefield.
"Many of my friends who are musicians are in the armed forces. They have no time to do their favourite thing. Once every few months they create some tracks, send them to me, and I play them out."
Last weekend there was a day to celebrate the Ukrainian language, and Volodymyr incorporated samples of Ukrainian speech into his songs to mark it - an assertion of an identity that is under threat.
"Everything is about politics, you can't be an artist without it."
"One of the things that music can do is unify people," says Ruth Daniel. "It's a way to give people a space to share what they're going through."
She is head of In Place Of War, an organisation that helps foster music and creativity in conflict zones. When bombs are falling all around you, she believes, music can act as a form of escapism and creative resistance.
Speaking to Sky News from the recent WOMEX (Worldwide Music Expo) conference in Manchester, she described how smartphones and social media make it easier than ever for those in conflict zones to write tracks and find an audience.
"I've seen people making music studios on the edge of checkpoints, making their own instruments, doing hip hop on street corners and making music with car sound systems."
Gigs too, can be held anywhere, she says, giving an example of a club night she went to in the Palestinian West Bank city of Ramallah.
"It was at a house - they basically turned the kitchen into a club. I remember leaving and there were lines and lines of police and army [soldiers] pointing guns.
"For me, the best music comes out of situations of difficulty. It's not just art for art's sake, it's art with purpose and meaning."
Mo Aziz once performed to tens of thousands of people in stadiums across Sudan as part of the popular group Igd al-Jalad. But the group's music criticised the then-government and they were banned from performing amid a crackdown on expression.
He came to the UK as a refugee in 2017, and this year released an album calling for peace in his homeland and hoping to raise the profile of Sudanese music - traditionally a blend of African and Arabic influences.
Since the struggle for power between the army and a large militia group erupted into armed conflict in April 2023, more than 20,000 people have been killed in Sudan. There are firefights on the streets of Khartoum and a humanitarian crisis.
Mo's mother and brother fled to Egypt, making a fortnight-long journey to escape the conflict, as the fighting led to millions being displaced.
"I was devastated," he said. "I lost three friends as a result of the bombing in Khartoum, including one member of Igdal-Jalad."
This unfolded as Mo was working on his album and master's degree at Liverpool Hope University.
"I hope to show what's happening in Sudan as well as uplift Sudanese music and put it on the international scene," he said. "I will always dedicate my work to peace and human rights."
Meanwhile, British-Sudanese folk singer-songwriter Saeed Gadir described the music scene in Khartoum as a "ghost town".
"It's really been decimated, there's no one there. It's a huge part of my writing," says Saeed, who's known as The Halfway Kid and whose new album Myths In Modern Life talks about growing up in a Sudanese migrant family.
And while he doesn't see himself as always being explicitly political, his music is nonetheless politicised by the stories he tells and feelings he seeks to share with his audiences, he says.
"Even if you're in London, you might get an insight into what it might feel like if there's a coup back home."
Read more:
Gaza situation 'disastrous' - UN
Millions of Sudanese displaced by war now face a new fight
Sometimes there is no safe way to explore music in a dangerous place, sometimes the bombs are falling around you even as amps are plugged in and microphones set up.
That was the case in 1994, before the internet gave musicians the power to appear virtually to their fans. Back then, legendary metal singer Bruce Dickinson and his band Skunkworks were smuggled into Sarajevo during the Bosnian War while the city was under siege. The gig they played instantly became historic.
"I'd never seen devastation like it in a modern city. There wasn't a single building that wasn't a burnt-out shell," Dickinson, best known as the lead singer of Iron Maiden, told the 2017 documentary Scream For Me Sarajevo.
The siege of Sarajevo was the longest in modern history, lasting nearly four years. More than 11,000 people, including over 1,000 children, were killed.
"I went out there and was just, like, how can I ever be as big as their lives need me to be for them?" recalled Dickinson.
"You could have given everything and you just felt like it wasn't ever gonna be enough."
All over the world, the musical tradition of building community - and resistance - in some of the world's most dangerous places is thriving, thanks in part to social media and the ability to reach audiences around the world with live streams.
"Especially in places where people can't get out or people can't go in," Ruth says. "And so that becomes the most important way of sharing people's culture and identities."
Still unable to return home, Raji has continued his work on Osprey V. A new video, produced in the Gaza Strip, is out soon and he hopes it will be a wakeup call to the West.
"We are normal people just like you," he says. "We have families, we drink coffee, we wear Adidas. But we are suffering from endless wars."
(c) Sky News 2024: Does the music stop when the bombs are falling?