投稿時間:2023-06-13 15:30:16 RSSフィード2023-06-13 15:00 分まとめ(34件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT 気になる、記になる… Twitter、クリエイターへの広告収入の還元を数週間以内に開始へ https://taisy0.com/2023/06/13/172947.html twitter 2023-06-13 05:32:25
ROBOT ロボスタ AIと人間がマンガを共創「TEZUKA2023」AI第2弾は「ブラック・ジャック」の新作を今秋に公開 https://robotstart.info/2023/06/13/blackjack-new-story-tezuka2023.html AIと人間がマンガを共創「TEZUKA」AI第弾は「ブラック・ジャック」の新作を今秋に公開シェアツイートはてブAIと人間のコラボレーションでマンガの神様・手塚治虫に挑み、新作「ぱいどん」を生み出した「TEZUKA」から年。 2023-06-13 05:36:37
IT ITmedia 総合記事一覧 [ITmedia Mobile] 「OPPO Pad Air」に128GBモデル追加 3万9800円で6月29日発売 https://www.itmedia.co.jp/mobile/articles/2306/13/news129.html amazon 2023-06-13 14:35:00
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] 吉野家、新たに目指す健康的な「牛丼」とは? 店舗限定の商品 過去には「ベジ丼」「牛サラダ」 https://www.itmedia.co.jp/business/articles/2306/13/news128.html itmedia 2023-06-13 14:26:00
IT ITmedia 総合記事一覧 [ITmedia PC USER] エレコム、抗菌&静音仕様のスタンダード3ボタン/5ボタンマウス https://www.itmedia.co.jp/pcuser/articles/2306/13/news126.html itmediapcuser 2023-06-13 14:21:00
python Pythonタグが付けられた新着投稿 - Qiita ケンタッキーで一日分の栄養を取れる組み合わせを計算したら衝撃的な結果が! https://qiita.com/takobaya391076/items/e11fac412bed0e9e8555 組み合わせ 2023-06-13 14:12:12
Ruby Rubyタグが付けられた新着投稿 - Qiita Ruby2.1技術者認定試験 Silver (例題解説).002 https://qiita.com/yousuke_kouya/items/fd6c79bd495c4e50add0 silver 2023-06-13 14:53:44
技術ブログ Developers.IO [アップデート] AWS Transfer Family のカスタム ID プロバイダーで複数の認証方法が利用出来るようになってました https://dev.classmethod.jp/articles/transfer-family-support-for-multiple-methods-of-authentication/ awstransferfamily 2023-06-13 05:49:37
技術ブログ Developers.IO 「動かして学ぶ!Flutter開発入門」著者のkazutxt様へインタビューしてみた。 https://dev.classmethod.jp/articles/kazutxt-book-interview/ flutter 2023-06-13 05:40:33
海外TECH DEV Community Playing a full song, almost https://dev.to/atornblad/playing-a-full-song-almost-48k Playing a full song almostIn the previous article I described how to extract the raw sample data from a MOD file and how to play it The next step is to get the song data out from the MOD file and into a more useful data structure According to the sources I found see the previous article the song data is stored using bytes per pattern A pattern is a sequence of notes in channels each note being a of a bar Original MOD files contain four channels which means that a total of four samples or instruments can be played at the same time Each note is bytes each row contains notes and each pattern contains rows which makes bytes per pattern For each note the instrument index the period explained later and the effect also explained later are stored The instrument index is stored in the first bits of byte and the first bits of byte The period is stored in the last bits of byte and all bits of byte The effect is stored in the last bits of byte and all bits of byte Using this information I can write three new classes to store the song data Pattern Row and Note class Note constructor noteData this instrument noteData amp xf noteData gt gt this period noteData amp xf noteData this effect noteData amp xf noteData class Row constructor rowData this notes Each note is bytes for let i i lt i const noteData rowData slice i i this notes push new Note noteData class Pattern constructor modfile index Each pattern is bytes long const data new UintArray modfile index this rows Each pattern is made up of rows for let i i lt i const rowData data slice i i this rows push new Row rowData The constructor of the Mod class must also be updated to read the song data by calling the Pattern constructor for each pattern export class Mod constructor modfile Store the pattern table this patternTable new UintArray modfile Find the highest pattern number const maxPatternIndex Math max this patternTable Extract all instruments this instruments let sampleStart maxPatternIndex for let i i lt i const instr new Instrument modfile i sampleStart this instruments push instr sampleStart instr length Extract the pattern data this patterns for let i i lt maxPatternIndex i const pattern new Pattern modfile i this patterns push pattern Playing one channel of one patternNow that the song data is stored in a more useful format it is time to play it The first step is to play one channel of one pattern The playback is driven by the process method of the worklet processor class For each sample that is played time moves forward by   or   of a second depending on the sample rate of the audio context Because of this we can use the samples as a time source and base all time calculations on the progression of samples The period of a note is the number of clock pulses of the Amiga Paula co processor which run at half the speed of the main CPU clock On a PAL Amiga the main CPU clock frequency is    Hz so the co processor frequency is    Hz A sample playing with period  the period of the note C will play at      Hz For an audio context with a sample rate of   Hz this means that each sample will be output     times before the next sample is output These calculations must be done each time the period changes To step forward in the song i also need to keep track of the current position in the song the current row to play and how many samples are left to play before moving to the next row For now the number of samples per row is calculated using the BPM of and the sample rate of the audio context const PAULA FREQUENCY class PlayerWorklet extends AudioWorkletProcessor constructor super this port onmessage this onmessage bind this this mod null onmessage e if e data type play this mod e data mod this sampleRate e data sampleRate this bpm this outputsPerRow this sampleRate this bpm Start at the last row of the pattern before the first pattern this position this rowIndex Immediately move to the first row of the first pattern this outputsUntilNextRow this instrument null this period null nextRow this rowIndex if this rowIndex this rowIndex this position const patternIndex this mod patternTable this position const pattern this mod patterns patternIndex const row pattern rows this rowIndex const note row notes if note instrument this instrument this mod instruments note instrument this sampleIndex if note period this period note period this instrument finetune nextOutput if this mod return if this outputsUntilNextRow lt this nextRow this outputsUntilNextRow this outputsPerRow this outputsUntilNextRow if this instrument this period return if this period return if this sampleIndex gt this instrument bytes length return const sample this instrument bytes this sampleIndex const sampleRate PAULA FREQUENCY this period this sampleIndex sampleRate this sampleRate return sample process inputs outputs const output outputs const channel output for let i i lt channel length i const value this nextOutput channel i value return true registerProcessor player worklet PlayerWorklet To finally play the first channel of the song I need to send the complete mod data to the worklet and not just one instrument I also need to send the sample rate of the audio context so that the worklet can calculate all timings correctly Here are the changes to the main thread code Load Elekfunk from api modarchive orgconst url const mod await loadMod url Play a sample when the user clickswindow addEventListener click gt audio resume player port postMessage type play mod mod sampleRate audio sampleRate After these changes when you click the browser window the first channel of the song starts playing However the timing is a bit wrong and some of the notes are not playing correctly This is because no effects have been implemented yet The Elekfunk song uses the currently unimplemented Set Speed effect to speed up the playback and that s why the timing is wrong Also to really enjoy the song all four channels need to be mixed together The last changes I make in this post are to create a four channel mixer and to implement the Set Speed effect Mixing multiple channelsTo mix the four channels of the song together I need to keep track of the instrument and period for each channel Each channel needs to have its own sample index and move forward in the sample independently of the other channels I create a Channel class to keep track of this information and I create four instances of this class in the worklet The nextOutput function now loops over all four channels and adds the output of each channel together To limit the output to the range of to I use the Math tanh function which is a hyperbolic tangent function It has the nice property that the output is always between and and the output is also scaled to the input class Channel constructor worklet this worklet worklet this instrument null this period this sampleSpeed this sampleIndex nextOutput if this instrument this period return const sample this instrument bytes this sampleIndex this sampleIndex this sampleSpeed if this sampleIndex gt this instrument length return return sample play note if note instrument this instrument this worklet mod instruments note instrument this sampleIndex if note period this period note period this instrument finetune const sampleRate PAULA FREQUENCY this period this sampleSpeed sampleRate this worklet sampleRate class PlayerWorklet extends AudioWorkletProcessor constructor super this port onmessage this onmessage bind this this mod null this channels new Channel this new Channel this new Channel this new Channel this onmessage e if e data type play this mod e data mod this sampleRate e data sampleRate this bpm this outputsPerRow this sampleRate this bpm Start at the last row of the pattern before the first pattern this position this rowIndex Immediately move to the first row of the first pattern this outputsUntilNextRow nextRow this rowIndex if this rowIndex this rowIndex this position const patternIndex this mod patternTable this position const pattern this mod patterns patternIndex const row pattern rows this rowIndex for let i i lt i this channels i play row notes i nextOutput if this mod return if this outputsUntilNextRow lt if this outputsUntilNextRow lt this nextRow this outputsUntilNextRow const rawOutput this channels reduce acc channel gt acc channel nextOutput return Math tanh rawOutput process inputs outputs const output outputs const channel output for let i i lt channel length i const value this nextOutput channel i value return true Adding the first effectThe first effect I want to implement is the Set Speed effect This effect can be used in two different ways If the value is less than it sets the number of ticks per row If the value is greater than or equal to it sets the number of beats per minute A tick is a concept of the MOD format and is normally a th of a row Most older MOD files never change the BPM but instead changes the number of ticks per row to speed up or slow down the song A lot of effects perform calculations based on the number of ticks per row so it s important to implement this effect I ll start by adding an effect method to the Channel class which I can use to implement all the effects I ll also add a setTicksPerRow method and a setBpm method to the PlayerWorklet class which I can use to update the number of ticks per row play note if note instrument this instrument this worklet mod instruments note instrument this sampleIndex if note period this period note period this instrument finetune const sampleRate PAULA FREQUENCY this period this sampleSpeed sampleRate this worklet sampleRate if note effect this effect note effect effect raw const id raw gt gt const data raw amp xff if id xf if data gt amp amp data lt this worklet setTicksPerRow data else this worklet setBpm data onmessage e if e data type play this mod e data mod this sampleRate e data sampleRate this setBpm this setTicksPerRow Start at the last row of the pattern before the first pattern this position this rowIndex Immediately move to the first row of the first pattern this outputsUntilNextRow setTicksPerRow ticksPerRow this ticksPerRow ticksPerRow this outputsPerRow this sampleRate this bpm this ticksPerRow setBpm bpm this bpm bpm this outputsPerRow this sampleRate this bpm this ticksPerRow ConclusionWith these changes the player can now render a somewhat decently sounding version of Elekfunk by Moby from the Arte demo The instruments play correctly and the song is played at the correct speed but there are still a lot of effects missing Those will be the subject of the next couple of parts of this series You can try this solution at atornblad github io js mod player The latest version of the code is always available in the GitHub repository 2023-06-13 05:45:00
海外TECH DEV Community Begin Your Open Source Journey https://dev.to/murtazajoo/begin-your-open-source-journey-5fm7 Begin Your Open Source JourneyGood First IssueRepositoryVisit website 2023-06-13 05:11:37
海外TECH Engadget Capcom's Kunitsu-Gami: Path of the Goddess is an action game with traditional Japanese aesthetics https://www.engadget.com/capcoms-kunitsu-gami-path-of-the-goddess-is-an-action-game-with-traditional-japanese-aesthetics-054801136.html?src=rss Capcom x s Kunitsu Gami Path of the Goddess is an action game with traditional Japanese aestheticsCapcom has given us a glimpse at a new IP with a clear Japanese folklore theme and aesthetics entitled Kunitsu Gami Path of the Goddess at Summer Game Fest s Xbox Showcase Now the company has confirmed during Capcom Showcase that the single player action RPG is also coming to the PlayStation Windows PCs and Steam in addition to the Xbox Series X S and Xbox Game Pass nbsp In Kunitsu Gami people have defiled a sacred mountain and it has physically manifested as blight spreading across the lands The diseased flora and fauna have attracted creatures called the Seethe which you have to fight and vanquish to clear the path for the Spirit Stone Maiden so she can perform the rite of cleansing and restore the lands Capcom said the game follows in the footsteps of its previous titles with traditional Japanese themes such as Okami and Shinsekai Into the Depths It was also developed using its RE Engine which was originally designed for Resident Evil Biohazard but was subsequently used for titles that include more Resident Evil games Street Fighter nbsp and Devil May Cry nbsp That s pretty much all we know about the game so far ーit doesn t even have a release date yet ーbut you can watch its trailer in the video below This article originally appeared on Engadget at 2023-06-13 05:48:01
医療系 医療介護 CBnews RSウイルスが4週連続増、西日本中心に流行-27都道県で前週の患者報告数を上回る https://www.cbnews.jp/news/entry/20230613140433 都道 2023-06-13 14:18:00
金融 ニッセイ基礎研究所 山口県は九州北部 !?-気象の地域区分における、下関地方気象台の変遷 https://www.nli-research.co.jp/topics_detail1/id=75089?site=nli 山口県は九州北部ー気象の地域区分における、下関地方気象台の変遷気象では、北海道から沖縄まで、日本全国をの地域区分に分けている。 2023-06-13 14:56:33
金融 ニッセイ基礎研究所 不動産投資市場動向(2023年第1四半期)~不動産売買は急減速。国内市場外で高まるリスクに注視 https://www.nli-research.co.jp/topics_detail1/id=75090?site=nli 国内不動産市場よりも世界全体のほうが取引額の落ち込みが大きく、特に海外の不動産投資市場および賃貸市場が停滞している国・都市に拠点を持つ外国資本には、昨年よりも不動産に投資しづらい環境になっているようだ。 2023-06-13 14:47:28
海外ニュース Japan Times latest articles With eye on China, Japan developing missiles to protect remote islands https://www.japantimes.co.jp/news/2023/06/13/national/japan-missile-development/ With eye on China Japan developing missiles to protect remote islandsThe series of missile systems are designed to help Japan defend itself at greater distances and keep enemy forces away ーparticularly from its southwestern 2023-06-13 14:19:32
海外ニュース Japan Times latest articles Japan panel weighs making morning-after pill available over the counter https://www.japantimes.co.jp/news/2023/06/13/national/science-health/morning-after-pill-otc/ institution 2023-06-13 14:09:33
海外ニュース Japan Times latest articles Mana Iwabuchi left out of Japan’s Women’s World Cup squad https://www.japantimes.co.jp/sports/2023/06/13/soccer/world-cup/japan-wwc2023-squad/ futoshi 2023-06-13 14:04:38
ニュース BBC News - Home Tenant urges others to follow after deposit win https://www.bbc.co.uk/news/uk-scotland-65855913?at_medium=RSS&at_campaign=KARANGA edinburgh 2023-06-13 05:05:40
ニュース BBC News - Home How Silvio Berlusconi paved the way for populist politics https://www.bbc.co.uk/news/world-europe-65886246?at_medium=RSS&at_campaign=KARANGA continent 2023-06-13 05:19:01
ニュース BBC News - Home The Ashes: Ben Stokes on his captaincy, team culture and the challenge of Australia https://www.bbc.co.uk/sport/cricket/65820211?at_medium=RSS&at_campaign=KARANGA The Ashes Ben Stokes on his captaincy team culture and the challenge of AustraliaBen Stokes speaks to BBC Test Match Special s Isa Guha about his approach to captaincy how to build a positive culture and Australia s threat 2023-06-13 05:04:33
ニュース BBC News - Home NBA: Denver Nuggets beat Miami Heat to claim first NBA title https://www.bbc.co.uk/sport/basketball/65887340?at_medium=RSS&at_campaign=KARANGA NBA Denver Nuggets beat Miami Heat to claim first NBA titleThe Denver Nuggets clinch their first NBA title as Nikola Jokic scores points in a win over the Miami Heat on Monday seals a series win 2023-06-13 05:47:43
ニュース BBC News - Home Ashes 2023: England's James Anderson and Emma Lamb answer kids' questions https://www.bbc.co.uk/sport/av/cricket/65857832?at_medium=RSS&at_campaign=KARANGA anderson 2023-06-13 05:00:53
ニュース BBC News - Home Glenn McGrath predicts 5-0 Australia win in Ashes - what do other TMS pundits think? https://www.bbc.co.uk/sport/cricket/65560507?at_medium=RSS&at_campaign=KARANGA ashes 2023-06-13 05:14:19
ニュース Newsweek 搭乗前に体重測定求めるNZ航空、安全上の理由で実施も「プライバシーの侵害」と物議 https://www.newsweekjapan.jp/stories/world/2023/06/post-101873.php ただしAP通信は、当局が定める標準重量を採用する選択肢もあると述べており、乗客を実際に計量しないことも可能だった模様だ。 2023-06-13 14:05:00
マーケティング MarkeZine TikTok、上半期トレンド大賞2023のノミネートを公開 「可愛くてごめん」「【推しの子】」など http://markezine.jp/article/detail/42475 tiktok 2023-06-13 14:30:00
IT 週刊アスキー 『Star Wars Outlaws』ゲームプレイ映像が公開!ケイとニックスがオープンワールドを駆け回る https://weekly.ascii.jp/elem/000/004/140/4140712/ 発売予定 2023-06-13 14:55:00
IT 週刊アスキー 『逆転裁判456 王泥喜セレクション』が2024年初頭に発売決定! https://weekly.ascii.jp/elem/000/004/140/4140714/ 発売決定 2023-06-13 14:50:00
IT 週刊アスキー 夏にぴったりなコーヒーが楽しめる 福岡県福岡市警固神社にて「ブルーボトル コーヒートラック」期間限定出店 https://weekly.ascii.jp/elem/000/004/140/4140683/ 期間限定 2023-06-13 14:35:00
IT 週刊アスキー 黒と白のモノクロームが美しい! 「BLVCK PARIS」「WH TE PARIS」新作ケーキを販売 https://weekly.ascii.jp/elem/000/004/140/4140697/ blvckparis 2023-06-13 14:30:00
IT 週刊アスキー 新規タイトル『PRAGMATA(プラグマタ)』世界観やゲームプレイの一端が見える新トレーラーを公開 https://weekly.ascii.jp/elem/000/004/140/4140709/ playstation 2023-06-13 14:20:00
IT 週刊アスキー カプコンの和風新作タイトル『Kunitsu-Gami: Path of the Goddess』が発表! https://weekly.ascii.jp/elem/000/004/140/4140700/ tsugamipathofthegoddess 2023-06-13 14:05:00
マーケティング AdverTimes 個人で不動産を売りまくる年収1億円プレイヤーは何が違うのか(TERASS CEO 江口亮介)【前編】 https://www.advertimes.com/20230613/article422827/ 興味津々 2023-06-13 05:04:18
マーケティング AdverTimes ホタテの貝殻を再利用「ホタメット」ヘルメット市場にニュース性で挑む https://www.advertimes.com/20230613/article422844/ 2023-06-13 05:02:35

コメント

このブログの人気の投稿

投稿時間:2021-06-17 22:08:45 RSSフィード2021-06-17 22:00 分まとめ(2089件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)